Jump to content
  • Advertisement
Sign in to follow this  
TemaKonkin_N

OpenGL FBX load model cube.

This topic is 1508 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi!

Need help on coursework.

There is a simple model of the cube. Write in the subject please base code loading and rendering the model format.FBX-through the VBO (OpenGL 3.3 & C++). The documentation is too complicated examples - I won't be able to quickly understand.

 

Once you have figured it all out-will do a lesson on this forum for novice like me.
 
-Thanks in advance!

Model download link - http://www.datafilehost.com/d/b57a67d4
Edited by temakonkin_n

Share this post


Link to post
Share on other sites
Advertisement

Need help on coursework.

dry.png

 

 

 


The documentation is too complicated examples - I won't be able to quickly understand.

Your colleagues will have the same complicated examples and the same base of understanding...so, lets play fair.

Edited by Ashaman73

Share this post


Link to post
Share on other sites


Your colleagues will have the same complicated examples and the same base of understanding...so, lets play fair.

 

All have the same model in this format. -will do as they can.
Help me now very necessary......
Edited by temakonkin_n

Share this post


Link to post
Share on other sites

All have the same model in this format. -will do as they can.

And you will do as you can. The ability to fail is there for a reason—it lets the professor know who deserves to pass and who does not, as indicated by how well each student actually understands the material.

If you do not understand it, then it is your duty to fail.

We do not do homework.  You can ask a very specific and focused question about certain specific problems you encounter along the way.

 

 

L. Spiro

Share this post


Link to post
Share on other sites

Try to compile the project on x 64 bug.
-What's the problem?

Log
[spoiler]1>------ Build started: Project: DIWOS, Configuration: Debug x64 ------
1> diwos_core.cpp
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glBlendFunc referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glClear referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glClearColor referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glClearDepth referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glDepthFunc referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glEnable referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glFlush referenced in function SDL_main
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glHint referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glLoadIdentity referenced in function "void __cdecl ReSizeGLScene(void)" (?ReSizeGLScene@@YAXXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glMatrixMode referenced in function "void __cdecl ReSizeGLScene(void)" (?ReSizeGLScene@@YAXXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glShadeModel referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol gluPerspective referenced in function SDL_main
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol WinMain referenced in function __tmainCRTStartup
1>D:\DIWOS\x64\Debug\DIWOS.exe : fatal error LNK1120: 13 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========[/spoiler]

Share this post


Link to post
Share on other sites

Try to compile the project on x 64 bug.
-What's the problem?

Log
[spoiler]1>------ Build started: Project: DIWOS, Configuration: Debug x64 ------
1> diwos_core.cpp
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glBlendFunc referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glClear referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glClearColor referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glClearDepth referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glDepthFunc referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glEnable referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glFlush referenced in function SDL_main
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glHint referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glLoadIdentity referenced in function "void __cdecl ReSizeGLScene(void)" (?ReSizeGLScene@@YAXXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glMatrixMode referenced in function "void __cdecl ReSizeGLScene(void)" (?ReSizeGLScene@@YAXXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol __imp_glShadeModel referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>diwos_core.obj : error LNK2019: unresolved external symbol gluPerspective referenced in function SDL_main
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol WinMain referenced in function __tmainCRTStartup
1>D:\DIWOS\x64\Debug\DIWOS.exe : fatal error LNK1120: 13 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========[/spoiler]

 

I think you miss to link against opengl32.lib

 

Anyway, when you say "I won't be able to quickly understand." I see in that "quickly" all your problems with this assignment. Take your time and enjoy the study.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!