Archived

This topic is now archived and is closed to further replies.

Kernoel

ARGGGGHHH!!! PLEASE HELP ME WITH THIS!!!! (OpenGL Problem)

Recommended Posts

Hi out There! Remember NeHe''s Tutorial 32 => the one with the Milkshape Model Import.... I just tried to get it work.......... It does.... BUT: When i load a model, it displays no materials.... The Model is just WHITE!!!! And i have to create a Rotating 3D Logo (blue and white materials) As i''m new to OpenGL an nearly new to C++ in general, i can''t find where the Problem lies.... i found the code responsible for the Materials, but i just can''t figure out, where the Problem is.... If you can help me PLEASE DO SO!!!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
ARGGGGHHH!!! PLEASE DON''T MAKE TOPICS LIKE THAT!!!!

IT''S MUCH BETTER TO USE MEANINGFUL ONE.

"ARGGGGGHHH!!! PLEASE HELP ME WITH THIS!!!!" IS NOT A MEANINGFUL TOPIC.

Share this post


Link to post
Share on other sites
There is a bug in the tutorial. What you need to do is:
Create your executable in the directory
"C:\MyProject", or whatever.
Create your model and texture in the "data" directory, eg:
C:\MyProject\Data
Copy the texture into the c:\myproject directory. The application should then read the texture in correctly.

Share this post


Link to post
Share on other sites
Lighting is disabled in tutorial 32. Have you enabled lighting for your model? The material proerties in Milkshape concern how an object reflects light, not its surface color. If lighting is disabled, You will get a white object

Share this post


Link to post
Share on other sites