Problem Texture not showing up period

MJR

C++ developer in the mix
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 19, 2008
Messages
2,447
Reaction score
5
Points
0
Location
United States
I am trying to apply a texture to my satellite, but I ran into one problem. The texture will not show up. It does not show in Orbiter or the mesh file. The texture is valid and I converted it to a dds. file. Anybody think they can help?

---------- Post added at 09:58 PM ---------- Previous post was at 08:32 PM ----------

Oh yeah. I did two different exporters and it still does not work.
 
Sorry, my psychic module is currently in the shop. Could you provide more details, specifically (at least) the appropriate sections of the .msh file.

Do you have the texture in the Textures directory?

Did you use dxt1 or dxt5 when converting to dds? Those are the only dds formats that Orbiter will recognize.
 
Starting from number one. Here is the bottom of the msh. file. I exported it with the textures so it should be showing something at least. These are the only materials for my mesh, but even after updating the materials they still do not update.

default00
MATERIAL material02
0.749020 0.376471 0.196078 1.000000
0.749020 0.376471 0.196078 1.000000
1.000000 1.000000 1.000000 1.000000 20
0.000000 0.000000 0.000000 1.000000
MATERIAL material07
0.066667 0.066667 0.066667 1.000000
0.066667 0.066667 0.066667 1.000000
1.000000 1.000000 1.000000 1.000000 20
0.000000 0.000000 0.000000 1.000000
MATERIAL default00
0.878431 0.878431 0.878431 1.000000
0.878431 0.878431 0.878431 1.000000
1.000000 1.000000 1.000000 1.000000 20
0.000000 0.000000 0.000000 1.000000
TEXTURES 0


I tried both DXT1 and DXT5 and neither work for me. Number three, yes, I placed the texture in the texture directory. Could a corrupt mesh be the problem? Can someone look at it?
 
The texture name is defined within the mesh. If it is not there, the texture is not even loaded.
What information would be really helpfull is detailed information on how you are exporting the mesh.
 
I am using this exporter for Anim8or. [ame="http://www.orbithangar.com/searchid.php?ID=2698"]Anim8or 0.95b .msh export script 070514[/ame]

I load the An8. file and I export as a mesh like normal and it does not update. Here is the An8. file.
 

Attachments

If you are like me and use a seperate folder within the Textures folder to keep you textures all together, you may need to manually add that to the mesh file.

I use Mshmaker and after the first run of the program, I open the debug file and look for the following...


MAT_NAME01 material29
MATERIAL_TENSION 1.0
MATERIAL_AMBIENT 224 224 224
MATERIAL_DIFFUSE 224 224 224
MATERIAL_SPECULAR 255 255 255
MATERIAL_SHININESS 75
MATERIAL_SHIN_STRENGTH 20
TRANS_PERCENT 100
SELF_ILLUM 50
MAPPING_NAME McQE\hangarbaydeck.bmp

The red text is the only part that will be in the debug file.

The green text (whatever the name of you texture subfolder is) needs to be added for each texture you have made for your model.

Once you have added this for every texture (and made any other needed adjustment) you can run the program again and get your output file, rename it and place it in your Meshes file.

Hope this helps!

-KU
 
I am actually using materials for the satellite because it looks better and I can select specific faces and etc. Have you checked the mesh and found any problems?
 
How I could see,you need to have already added texture to your model,you can't add after exporting to Orbiter mesh...?!
In zip with anim8tor file there no designated tex to model faces or group.
 
I put a black and white material from Orbiter as the texture.
 
I put a black and white material from Orbiter as the texture.

Yeah,now I see what's wrong,you need to have for black colour one group,for white another group,for red third etc...Each color his own face or group.
 
I make texture for black and white. I will use that and see how it is.
 
Here is it so far. I got the two other textures to show up, but not the goldfoil.
 

Attachments

Here is first model,black and white.

Orbiter mesh too...
 
Last edited:
default00
MATERIAL material02
0.749020 0.376471 0.196078 1.000000
0.749020 0.376471 0.196078 1.000000
1.000000 1.000000 1.000000 1.000000 20
0.000000 0.000000 0.000000 1.000000
MATERIAL material07
0.066667 0.066667 0.066667 1.000000
0.066667 0.066667 0.066667 1.000000
1.000000 1.000000 1.000000 1.000000 20
0.000000 0.000000 0.000000 1.000000
MATERIAL default00
0.878431 0.878431 0.878431 1.000000
0.878431 0.878431 0.878431 1.000000
1.000000 1.000000 1.000000 1.000000 20
0.000000 0.000000 0.000000 1.000000
TEXTURES 0
Note the red part. You have 0 textures defined for this model.

Please read 3dmodel.pdf in the SDK docs to see how this is supposed to look.
 
Back
Top