LDraw Model Viewer and Online Tools


RE: LDraw Model Viewer and Online Tools
#28
(2024-10-18, 16:13)Orion Pobursky Wrote: This is a known problem with lines in WebGL. I vaguely remember a discussion here on the forums if you want to dig for it.

Normally a program would polygonOffset to push the solid polygons back in the Z-Buffer a little bit so that when the edge lines are drawn, they don't get hidden like this. (LDView does the equivalent with OpenGL.) I'm not sure if this is compatible with modern WebGL, but I don't see any indication that it isn't. (Note: polygonOffset must push back the solid polygons; it cannot be used to pull the edge lines forward.)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: LDraw Model Viewer and Online Tools - by Travis Cobbs - 2024-10-18, 19:24

Forum Jump:


Users browsing this thread: 8 Guest(s)