[Aswered > please lock] Wireframe rendering

[Aswered > please lock] Wireframe rendering

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Locked
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

[Aswered > please lock] Wireframe rendering

Post 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
Last edited by Masure on 15 Dec 2007, 18:04, edited 1 time in total.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Post by Masure »

Would you mind giving me the way to achieve this ? Command ?
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Post 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.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Post 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.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Post by Masure »

Thanks, asking for thread close
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

ok
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Post by TradeMark »

why lock? someone might have something to say
Locked

Return to “Help & Bugs”