Jan
11-11-2003, 08:31 AM
Hi there.
Now that the gfx card can render so many polys, a lot of games make use of very detailed objects. One thing i was wondering is, how they render their wires and cables.
Simply using GL_LINES should not be the preferred way, because those lines always have the width of 1 pixel (or the line-width which one can set) regardless of how far away an object is. Or am i wrong here?
So how would you do that? A billboarded line of quads? Or maybe simply a 3 sided object?
I didnīt try it out yet, but i think it is more complicated than one would expect.
Just curious how you would do that, or if someone has done it yet.
Bye then,
Jan.
Now that the gfx card can render so many polys, a lot of games make use of very detailed objects. One thing i was wondering is, how they render their wires and cables.
Simply using GL_LINES should not be the preferred way, because those lines always have the width of 1 pixel (or the line-width which one can set) regardless of how far away an object is. Or am i wrong here?
So how would you do that? A billboarded line of quads? Or maybe simply a 3 sided object?
I didnīt try it out yet, but i think it is more complicated than one would expect.
Just curious how you would do that, or if someone has done it yet.
Bye then,
Jan.