Anzahl der Beiträge : 55 Anmeldedatum : 18.01.11 Ort : London, UK
Thema: No texture on building So 6 März - 14:22
Hello
I have managed to create a basic building and import it into the OMSI editor........... (yes I know its very big and the scale is wrong - this is just a test)
BUT........... there is not texture on my building
I have saved the texture in the texture folder as 256x256 bmp
This is the sco. for the new building:
Spoiler:
[groups] 3 Buildings Commercial Hotel
[friendlyname] busstat1
Complexity: 0 - very important object (standard) (crossings, normal buildings, street lights, traffic lights, traffic signs, busstops) 1 - important object (bus huts, bust stop number plates, small buildings) 2 - normal object (street name signs, tiny buildings, dust bins, telephone cells) 3 - detail object (parkbenches, pollars, sandboxes ...)
[complexity] 0
[nocollision]
[fixed]
[absheight]
-------------------------------
[mesh] untitled.x
[matl_change] texture0.bmp 0
[matl_alpha] 1
Anyone can help me understand why there is no texture on my building..... Freeman
Swiss_Tony
Anzahl der Beiträge : 10 Anmeldedatum : 09.03.11
Thema: Re: No texture on building Do 10 März - 20:57
This might sound like a stupid question but did you map the texture to the building whilst using your chosen 3D mesh creator, blender, 3dcanvas, 3ds-max, gmax etc, before exporting it to the required format? Bye the way, which modelling tool are you using? I use 3Dcanvas but the principals are the same.
If you're really stuck I could have a look at it for you but you would get a lot more from it if you managed to solve the problem youself.
best regards, Tony
Freeman
Anzahl der Beiträge : 55 Anmeldedatum : 18.01.11 Ort : London, UK
Thema: Re: No texture on building So 13 März - 13:32
Hi
Well I used google sketchup to make the building and just used the paint bucket tool to paint the texture on the faces.
So what do you mean by map the textures.... Im only using 1 texture for this building
- Do you think Ive done something wrong in the sco. file?
Many thanks
Freeman
andybadb
Anzahl der Beiträge : 26 Anmeldedatum : 03.03.11
Thema: Re: No texture on building Do 17 März - 17:48
same problem for me did you find an answer
Emil
Anzahl der Beiträge : 596 Anmeldedatum : 14.02.11
Thema: Re: No texture on building Do 17 März - 20:30
andybadb schrieb:
same problem for me did you find an answer
Copy texture to right folder.
Code:
texture/mytexture.bmp this_is_the.sco
The texture also has to be mapped to you building. To see the mapping open file in blender and switch to texture view. If there is no texture shown it is not mapped right now.
Marcel Kuhnt Admin
Anzahl der Beiträge : 3364 Anmeldedatum : 26.04.09 Alter : 40 Ort : Berlin-Spandau
Thema: Re: No texture on building Fr 6 Mai - 8:15
Please look for this section in the x file:
Code:
MeshMaterialList { 3; 5; 1, 2, 2, 2, 2;; Material Material { 0.800000; 0.800000; 0.800000;1.0;; 0.500000; 1.000000; 1.000000; 1.000000;; 0.0; 0.0; 0.0;; } //End of Material Material Mat2 { 1.0; 1.0; 1.0; 1.0;; 0.0; 0.0; 0.0; 0.0;; 0.0; 0.0; 0.0;; TextureFilename { "dachpappe.bmp"; } } // End of Material Material Mat2 { 1.0; 1.0; 1.0; 1.0;; 0.0; 0.0; 0.0; 0.0;; 0.0; 0.0; 0.0;; TextureFilename { "geb_buro_01.bmp"; } } // End of Material } //End of MeshMaterialList
It should be include the texture file names like "geb_buro_01.bmp" in this example! If it contains them, please check out if the texture lays in the correct directory. If NOT, then something with the export goes wrong!