Hello guys, for a very long time now, i've been trying to create a simple quad programatically in the engine, but I just don't know how that is done! I've browsed the source code for answers, but the geometry code I see is just to complicated for my feeble mind. I see stuff about windings and vertices but nothing direct.
I tried looking at the gameRenderWorld debug code but again it looks way low level for me. Would someone be so kind to explain with code how to create a simple static quad in the 3D world in idtech4?
I know how to import a quad/model but what I really want is to create a quad dynamically by c++/opengl code.
Any help appreciated cheers.
I tried looking at the gameRenderWorld debug code but again it looks way low level for me. Would someone be so kind to explain with code how to create a simple static quad in the 3D world in idtech4?
I know how to import a quad/model but what I really want is to create a quad dynamically by c++/opengl code.
Any help appreciated cheers.