ReshotAI / gaussian-splatting-blender-addon

https://www.lingosub.com
333 stars 35 forks source link

Fixes for Blender 4.0 API changes #14

Closed GifCo closed 6 months ago

GifCo commented 7 months ago

This fixes the issues with changes in the Blender API.

Specifically the naming of Principled Shader Node parameters as well as the new naming convention fore creating node groups.

I have also added a check for plydata.elements[0]["opacity"] as the opacity seems to be missing in Splats from LumaAI

FlynnD273 commented 7 months ago

Hi, for me at least, I had to set the data_type of random_value_node at around line 857 before setting the probability, and I had to add principled_node.inputs["Emission Strength"].default_value = 1 at line 245 for it to import properly. Both changes were in the __init.py__ file

alexandre01 commented 6 months ago

Merged in #18, thanks for your work @GifCo! 🙏