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

Update for Blender 4.0 #15

Closed ma7t3 closed 7 months ago

ma7t3 commented 9 months ago

The problem

I installed that plug-in on the current blender version (4.0.0.), but, Wehen I try to export something I always get a script error

The current workflow

I need to copy my work to an older blender version and export it from there

The solution

Support of the newer blender versions

Road-hog123 commented 9 months ago

Stuck a bandaid on my dev branch, hopefully this works for you: blender-omsi-exporter_dev-4.0.zip

ma7t3 commented 9 months ago

I'll try, thank you so much!

ma7t3 commented 8 months ago

In principle, it works. However, all objects now light up. I had a look at the o3d file, these 12 bits (3 float32 values) should be "0", but here it is "500" in decimal form. image

Road-hog123 commented 8 months ago

The bandaid redirected "Emission" to "Emission Color"—"Emission Strength" is not considered. You will have to change "Emission Color" to pure black (from its default of pure white), even if "Emission Strength" is set to zero, until I address this properly in a proper release.