01-31-2026, 08:17 PM
(This post was last modified: 01-31-2026, 08:17 PM by Unseen Machine.)
research gluperspective (for setting your world up) and glulookat for basic camera controls.
Here's the bindings youll need
A google search will give you detailed info, and if you go in ai mode, hand those declares to the ai and tell it to make you a demo using qb64 with lots of remarks for you to learn from i think youll be fine! i,e ask it "Make a me a simple wireframe grid and First person movement demo using glulookat" and youll be sorted.
Unseen
Here's the bindings youll need
Code: (Select All)
DECLARE DYNAMIC LIBRARY "glu32"
SUB gluBuild2DMipmaps (BYVAL eg_GL_TEXTURE_2D AS LONG, BYVAL eg_GL_RGBA AS LONG, BYVAL sx AS LONG, BYVAL sy AS LONG, BYVAL eg_GL_RGBA AS LONG, BYVAL eg_GL_UNSIGNED_BYTE AS LONG, BYVAL offset AS _OFFSET)
SUB gluBuild1DMipmaps (BYVAL target AS LONG, BYVAL internalFormat AS LONG, BYVAL width AS LONG, BYVAL format AS LONG, BYVAL vtype AS LONG, BYVAL pixels AS _OFFSET)
SUB gluLookAt (BYVAL eyex AS DOUBLE, BYVAL eyey AS DOUBLE, BYVAL eyez AS DOUBLE, BYVAL centerx AS DOUBLE, BYVAL centery AS DOUBLE, BYVAL centerz AS DOUBLE, BYVAL upx AS DOUBLE, BYVAL upy AS DOUBLE, BYVAL upz AS DOUBLE)
SUB gluOrtho2D (BYVAL left AS DOUBLE, BYVAL right AS DOUBLE, BYVAL bottom AS DOUBLE, BYVAL top AS DOUBLE)
SUB gluPerspective (BYVAL fovy AS DOUBLE, BYVAL aspect AS DOUBLE, BYVAL zNear AS DOUBLE, BYVAL zFar AS DOUBLE)
FUNCTION gluErrorString$ (BYVAL errorCode AS LONG)
END DECLARE
A google search will give you detailed info, and if you go in ai mode, hand those declares to the ai and tell it to make you a demo using qb64 with lots of remarks for you to learn from i think youll be fine! i,e ask it "Make a me a simple wireframe grid and First person movement demo using glulookat" and youll be sorted.
Unseen

