Objects not appearing textured
Blitz3D Forums/Blitz3D Beginners Area/Objects not appearing textured
| ||
I made and textured an interior of a building in milkshape 3D. However, when I put it in Blitz 3D, only a few of the things appear textured, and most of them are wrong. how do I fix the textures? building= LoadMesh("P:\project1\building.x") PositionEntity building,.5,-.5,1.5 That's what I'm using now^^ |
| ||
Sorry don't know milkshape, but try and make sure all your polygons have a maximum of 3 vertices. With some conversion software the texture's UVs get mixed up when the converter itself tripples your polys... Hope this helps (but I wouldn't bet on it ;) danny. |
| ||
Ok, I know all of my polygons have 3 vertecies. Anything else? |
| ||
I think a lot of people use the ultimate unwrap program to export milkshape stuff to b3d file format. |
| ||
I don't advise using an absolute path to load your model: building=LoadMesh("building.x") ..is better than what you have currently, because your path won't work on any other computers. And make sure your textures are in the same folder as your model. |
| ||
And try LoadAnimMesh("") instead of LoadMesh("") - even though your building isn't animated. |
| ||
Is the file format DirectX (.x)? |
| ||
Yes |
| ||
So some of the textures do appear, only in a wrong way ? Maybe the UV coordinates are not exported correctly ? Are there any export settings ? Maybe there is a 'generate mapping coordinates' option. You could start with a simple textured cube, for testing what textures can be exported. Blitz supports .bmp, .jpg, .gif, .png and .dds. I don't know if you are using other formats, if so, that could be the issue. |
| ||
as skid mentioned. use Ultimate Unwrap3d to import/export a .b3d file. 1. make sure all of your textures are in the same directory as your mesh 2. make sure you polygons are facing the right way (the direction a poly is facing is called a 'normal'. if it is flipped, it will appear transparent in blitz. |
| ||
If you are doing a really simple model in milkshape then I am guessing that what you have done is texture the inside of a cube perhaps? Unless you flip the normals of the polygons then they will not show up. In milkshape3d there is a setting for each window which is 'show backfaces' - turn this on/off and you may be able to see in milkshape if any of your mesh's triangles are facing the wrong way. |