3D Warehouse Conversions (1 Viewer)

ross4122

Staff Team Leader
Premium Subscriber
1,116
1,906
Hello all, I'm trying to convert the .skp file to a .x file but how am I supposed to do this? I know @whistlehead did it for Cotterell, however I'm struggling quite a bit.




Thanks in advance :)
 

Advertisement

ross4122

Staff Team Leader
Premium Subscriber
1,116
1,906
Righty, quick update - I've managed to export it etc but when into the Omsi editor the buildings have been flipped and the object appears on a strange angle, meaning I have to pitch it by 270 degrees.
 

Fellowslothb

Founder of Fellowsfilm Studios
Administrator
UKDT
Founder
680
1,800
You will need to import it into Blender first, re assign all the textures and then export it as .x right handed and deselect the flip 90 degrees option :)
 

ross4122

Staff Team Leader
Premium Subscriber
1,116
1,906
Imported to Blender - done

Reassign all textures - how?

Export as right handed Direct x file - how?


All help is appreciated :)
 

ross4122

Staff Team Leader
Premium Subscriber
1,116
1,906
Exported as right handed x file is done. Just imported it into Omsi editor and I get a lovely looking building!! Still need to put the bank 270 degrees in though.View attachment 1464
 

Fellowslothb

Founder of Fellowsfilm Studios
Administrator
UKDT
Founder
680
1,800
If you can possibly screenshot the export settings you have selected I can help further :)
 

ross4122

Staff Team Leader
Premium Subscriber
1,116
1,906
OK... quick update. Managed to get a building in but it's got transparent textures, which appear white when imported to OMSI. Is there any solution to this?
 

whistlehead

Alias Mr Hackenbacker
Staff Team Leader
UKDT
Premium Subscriber
Founder
1,503
2,568
OK... quick update. Managed to get a building in but it's got transparent textures, which appear white when imported to OMSI. Is there any solution to this?






In the .sco file, you have to list every instance of a transparent texture and mark it as transparent, like this:


[matl]


texturename.tga


0


[matl_alpha]


1


[matl]


texturename.tga


1


[matl_alpha]

1


[matl]


texturename.tga


2


[matl_alpha]

1


[matl]


anothertexturename.tga


0


[matl_alpha]


1


[matl]


anothertexturename.tga


1


[matl_alpha]


1


etc. Hopefully you can see the patter. Unfortunately the Sketchup>Blender conversion process does this really badly (it's one of the main downsides of using Sketchup for buildings) so you have to repeat this for every single use of a transparent texture, not just for each individual texture.
 

Advertisement

ross4122

Staff Team Leader
Premium Subscriber
1,116
1,906
OK. They are .bmp files, but they should still work, yeah?


So if the file name is picture1.bmp, it'd be

 

[matl]


picture1.bmp


0


[matl_alpha]


1


[matl]


picture1.bmp


1


[matl_alpha]

1


[matl]


picture1.bmp


2


[matl_alpha]

1






?


Thanks for the help :)
 

whistlehead

Alias Mr Hackenbacker
Staff Team Leader
UKDT
Premium Subscriber
Founder
1,503
2,568
.bmps can't be transparent, they'll have to be .dds, .png or .tga. Not sure how they're transparent on the model if they're .bmp?
 

ross4122

Staff Team Leader
Premium Subscriber
1,116
1,906
OK, I've had another look in the Sketchup file and the transparent files are transparent... I've also looked in at the texture files and the bits that are meant to be transparent are too. So how do I change the files from .bmp to .tga and do the same in Blender or Sketchup?
 

ThisIsAlex

The key to life on earth 🔑🌍
517
2,050
20
To convert a texture from .bmp to .tga, open the texture up in Paint.NET and save it as a .tga file.  :)
 

Members viewing Thread (Users: 0, Guests: 1)