ldr_wgpu high performance realtime LDraw renderer


RE: ldr_wgpu high performance realtime LDraw renderer
#9
(2023-05-30, 5:06)Max Murtazin Wrote: Using angle threshold method is not the best thing to do. LDraw models are relatively low-polygonal, and angle threshold would more likely lead to unnecessary edge splitting

Suggest using either edge splitting by absence of condline or presence of line. I believe prior is done by LDView

The angle threshold for smoothing is very large (< 90 degrees) and doesn't do much in practice, so I may just end up removing it. I split any of the line type 2 edges. I've found defining the set of "sharp" edges to be easier to work with when triangulating the faces. I haven't checked if the absence of an optional line always indicates the presence of a line for all LDraw part files.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: ldr_wgpu high performance realtime LDraw renderer - by Jonathan N - 2023-05-30, 13:32

Forum Jump:


Users browsing this thread: 1 Guest(s)