Page 1 of 1

Can't import model in level ! But it works in meshviewer!

Posted: Sun Jan 09, 2005 1:20 pm
by Shadix
Hi,
I am modler working for a german game project.
Recently i modeled some trees and exported them as usual.
I tested the exported files in the meshviewer and they worked.
Here is a screen.(Meshviewer)
Image

After exporting the files and testing them, i sent them to one of our mappers and he tried to put the models in our landscape but it didn't work.
First we tried the exportet mesh.xml , material + png
Second try was the mesh u get when using the meshviewer.

We uses that file too, and something happened , but not the right thing. A wireframe of the model appeared but without texture.
And we got an error message:
Warning: Urbaum.mesh is an older format...u should upgrade ist...

The strange thing is, that it's not the first model i exported and which worked.

Whats wrong.? I didn' change any of my technics :/

Posted: Sun Jan 09, 2005 1:42 pm
by sinbad
Don't use the MeshViewer to convert files, it isn't necessarily up to date with the latest code (since it is a community add-on). Use the official OgreXmlConverter.

Posted: Sun Jan 09, 2005 1:49 pm
by Shadix
usually i don't use the meshviewer and just send the mesh.xml , the material and the png (zipped) to our mappers.
But the stuff didn#t work.
Anyways, thx for ur reply .

EDIT:Don't get me wrong --> Files worked in Meshviewer

Posted: Sun Jan 09, 2005 4:17 pm
by sinbad
The 'Urbaum.mesh is an older format' shows that the code being used to export the .mesh is not the same version as the version of Ogre being used to load it. If you use OgreXmlConverter from the same release as runtime Ogre you should not get that error, I asume you're not.

Other than that, please elaborate on what you mean by 'it didn't work' when you use OgreXmlConverter.

Posted: Sun Jan 09, 2005 4:42 pm
by Shadix
ok thx

Posted: Mon Jan 10, 2005 5:53 pm
by Shadix
ok, i am so glad, one of our coders found the bug!
I used 16-bit per channel for the PNG and not 8.
After we changed that the model worked as usual.
I am sorry, the exporters work fine :oops:

I am just still wondering why the meshviewer could show the model.

Posted: Wed Feb 02, 2005 10:46 am
by RoundSparrow
Shadix, any chance you can share the 3d models of the trees? They look great and I'd love to have a copy.