Example: Meshviewer - No texture!!!

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
silentpolygon
Posts: 8
Joined: Sat Aug 26, 2006 6:05 pm
Location: Germany
Contact:

Example: Meshviewer - No texture!!!

Post by silentpolygon »

I just began to work with irrlicht and get used to it.

I modeled a very simple object in Cinema4D. Exportet it into .3ds and took a texture.

In the Modelviewer that came with Irrlicht 1.1 the texture does not show up. It just shows the object in grey.

I also exportet the model into .x. Now the model appears in white...

In the command line Meshviewer tells me that he can not find sphere_color.ppm (sphere_color.jpg is the name of the texture)

So what is the problem?
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

The meshviewer is unable to find the texture, you need to have sphere_color.ppm in the same directory as the model. Presumably you asked the modelling program to texture your model with sphere_color.jpg and it has probably produced a file called sphere_color.ppm which provides the texture, so you need to supply that, hopefully you can find it somewhere!
Image Image Image
Post Reply