3DS Max models needed to import into OpenGL using Dev C++ GUI compiler
Posted on 2005-03-04
I am currently devloping a game which requires various 3ds max models to be imported into the game where they can then be manipulated by the program.
After a good search on the internet I found 3D Exploration. Using this I was able to convert the .3ds files into CPP code.
Having told 3D Exploration to covert as a Application, I then compiled the code. I got the following errors:
HopeOpenGL/grass.cpp:15256:63: warning: multi-character character constant
HopeOpenGL/grass.cpp: In function `BOOL ScaleImage(DIB2D&, GLTXTLOAD&)':
HopeOpenGL/grass.cpp:15322: error: `GL_BGR_EXT' undeclared (first use this function)
HopeOpenGL/grass.cpp:15322: error: (Each undeclared identifier is reported only once for each function it appears in.)
HopeOpenGL/grass.cpp:15328: error: `GL_BGRA_EXT' undeclared (first use this function)
HopeOpenGL/grass.cpp: In function `void SetDCPixelFormat(HWND__*, HDC__*)':
HopeOpenGL/grass.cpp:15635: error: non-lvalue in assignment
Any help at resolving these errors and explaining to me how I might prevent them with the future meshes would be appreciated