AD
Finder of things, Doer of stuff
Hey everyone! I certainly am no computer programer. Heck, I'm not really a 3D artist, but I like to pretend every now and again. Here's my current dilema for which I could use some help. I have some *.mesh files that appear to use the open source OGRE 3D engine. I can get them to display their basic shape in some of the free ogre viewers online.
I have all the textures for these meshes (in JPG and PNG format)... but I'm missing the *.material files. Well, they aren't exactly missing. But the source that the models are from uses a separate XML file to keep track of this sort of thing and the ogre viewers don't seem to recognize it.
Yeah, I know... not exactly the same as a normal material file. I've tried changing the info within the xml into normal *.material file format but no luck. The model is still just a white blob with no textures in the viewer and it keeps telling me it can't find the textures. I think I may be missing something that tells it to group the mesh with the textures. Any suggestions?
I have all the textures for these meshes (in JPG and PNG format)... but I'm missing the *.material files. Well, they aren't exactly missing. But the source that the models are from uses a separate XML file to keep track of this sort of thing and the ogre viewers don't seem to recognize it.
Code:
<Material Name="Rechargestation_blue/PaintJob" NumTextures="2" Texture0="rechargestation_blue_paintjob.jpg" Texture1="RechargeStation_normalmap.png" VertexShader="1" PixelShader="1" />
<Material Name="Rechargestation_blue/TeamColor" NumTextures="2" Texture0="RechargeStation_teamcolor.jpg" Texture1="RechargeStation_normalmap.png" VertexShader="1" PixelShader="1" />
<Material Name="Rechargestation_green/PaintJob" NumTextures="2" Texture0="rechargestation_green_paintjob.jpg" Texture1="RechargeStation_normalmap.png" VertexShader="1" PixelShader="1" />
Yeah, I know... not exactly the same as a normal material file. I've tried changing the info within the xml into normal *.material file format but no luck. The model is still just a white blob with no textures in the viewer and it keeps telling me it can't find the textures. I think I may be missing something that tells it to group the mesh with the textures. Any suggestions?