Hi my friends,
i will share with you guys my litte 3D test with OpenGL in GLbasic.
It's just a start on how to use a "Camera" to move like in Minecraft (Creativemode).
I update the gl.gbas a bit to make it possible to use RenderLists in GLB, the only thing i add was:
RenderLists speed up the rendering by ->>> ...
It give you a good start on how to use OpenGL and on how to create objects!
Maybe it gives you a start for youre next game ( hope so ), let me know it!
if you have any questions, ask me.
Maybe i code some more features into it like a OBJ loader, that was my next point on the list
EDIT: Fix the upload, now its working sry!
i will share with you guys my litte 3D test with OpenGL in GLbasic.
It's just a start on how to use a "Camera" to move like in Minecraft (Creativemode).
I update the gl.gbas a bit to make it possible to use RenderLists in GLB, the only thing i add was:
Code (glbasic) Select
INLINE
} extern "C" { GLuint __stdcall glGenLists( GLuint range );; }; namespace __GLBASIC__{
ENDINLINE
FUNCTION glGenLists: range
INLINE
return OGL glGenLists(range);
ENDINLINE
ENDFUNCTION
RenderLists speed up the rendering by ->>> ...
It give you a good start on how to use OpenGL and on how to create objects!
Maybe it gives you a start for youre next game ( hope so ), let me know it!
if you have any questions, ask me.
Maybe i code some more features into it like a OBJ loader, that was my next point on the list
EDIT: Fix the upload, now its working sry!