Page 1 of 1
[Aswered > please lock] Wireframe rendering
Posted: 15 Dec 2007, 13:18
by Masure
Hi,
Would it be possible to render spring in wireframe mode ?
answer :
jK wrote:the command is /wiremap [1|0] see ../trunk/Documentation/cmds.txt
Posted: 15 Dec 2007, 14:13
by Kloot
Posted: 15 Dec 2007, 14:51
by Masure
Would you mind giving me the way to achieve this ? Command ?
Posted: 15 Dec 2007, 14:58
by TradeMark
Why they doesnt use GL_QUADS instead of GL_TRIANGLES? Isnt quads faster? Or is that just rendered to look like triangles?
Though, i think they dont even use quads or triangles, something else more powerful maybe...
Just a hunch... i suck at OGL.
Posted: 15 Dec 2007, 15:23
by jK
the command is /wiremap [1|0] see ../trunk/Documentation/cmds.txt
GL_QUADS vs. GL_TRIANGLES
It depends on the case, which one is faster. But the reason why all programs render the terrain as triangles is the terrain lod algorithm. With quads it is impossible to render different LODs depending on the camera distance in the same scene, you would always get small/huge gaps in the polygon carpet.
Posted: 15 Dec 2007, 18:02
by Masure
Thanks, asking for thread close
Posted: 15 Dec 2007, 20:52
by Tobi
ok
Posted: 15 Dec 2007, 21:17
by TradeMark
why lock? someone might have something to say