Road-hog123 / Blender-OMSI-Exporter

OMSI Mesh (.o3d) exporter addon for Blender and Blender LTS
Apache License 2.0
24 stars 0 forks source link

Missing textures when exporting #5

Closed Oyan244 closed 2 years ago

Oyan244 commented 2 years ago

Bug Description

After exporting and then cheking the model file itself, each material slot became a "." rather than the texture filename itself. It happens for 99% of my files when I export, but it fine for some other models. When the model is loaded into the game it becomes white (as there is no texture named ".") Had tried this even with Blender v2.93 LTS and 3.00, still same problem. Currently running on Blender 3.2.

Steps to Reproduce

I had just exported my models with the default setiings, I did not tweak any of the options. Even I changed some options, the result is still the same.

Version Information

image

Road-hog123 commented 2 years ago

Would you be prepared to attach a .blend file that exhibits this issue? Can be as simple as a cube and you don't have to include any texture files.

If you're not prepared to share one publicly, my email should be linked in my GitHub profile.

Oyan244 commented 2 years ago

I'll attath a screencast of how I exported here, hope you find this helpful. If you still would like a .blend file then please do tell me.

https://user-images.githubusercontent.com/20854300/176083842-909b9e04-0246-443b-95d1-b86f36eb3c54.mp4

Road-hog123 commented 2 years ago

The main information I wanted to get from a .blend file is your material setup and particularly the texture paths. The exporter is either not finding the texture node or is garbling the path enroute to the file.

Oyan244 commented 2 years ago

Sure, I'll email you my blender file then.