Drawing conditional lines
2013-05-08, 19:24 (This post was last modified: 2014-12-26, 13:07 by Nils Schmidt.)
2013-05-08, 19:24 (This post was last modified: 2014-12-26, 13:07 by Nils Schmidt.)
I'm using OpenGL for LDForge's renderer and I'm about stumped on to decide when to draw conditional lines. Actually rendering the part is no problem but how does a GL renderer take the control points into account?
For compiling objects glGenLists/glNewList/... is used and glCallList for drawing them. While it's not the most optimized approach, it works for something as simple as a single part.. at least for the simple ones. I've been considering using VBOs though.
For compiling objects glGenLists/glNewList/... is used and glCallList for drawing them. While it's not the most optimized approach, it works for something as simple as a single part.. at least for the simple ones. I've been considering using VBOs though.