c++ - OpenGL texturing -
sorry plea help, frustrated.
i don't know why, i've never seemed able texturing work in opengl. appreciate minimal example, long uses /gl.h /glu.h , standard c++ libraries. other insight appreciated.
sorry asking write whole program me, use it, since every internet example have seen uses glut. can't compile reason, , annoying.
thanks.
you need library or interface create opengl context (and window display it).
glut outdated, still popular; options nowadays glfw or sdl. recommend glfw.
(btw, why did need compile glut? doesn't have precompiled binaries windows?)
or can use system-specific functionality; in case - winapi. however, tedious process; unlike portable solutions create window in 1 or 2 lines of code , provide easy input handling.
once gl window , running, you can learn texturing (or else) from tutorial. opengl calls same, doesn't matter how window created.
Comments
Post a Comment