-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importing to blender 4.0 seems to just give the dots, like it did without the addon. In cycles. #12
Comments
It does not seem to be compatible with some of the API changes in blender 4.0. I tried to fix it, though some issues I couldn't fix due to poor documentation. Here is my diff with comments so far: 239c239
< principled_node.inputs["Specular"].default_value = 0
---
> principled_node.inputs["Specular IOR Level"].default_value = 0
775c775
< principled_node.inputs["Emission"]
---
> principled_node.inputs["Emission Color"]
837,839c837,838
<
< geo_tree.inputs.new('NodeSocketGeometry', "Geometry")
< geo_tree.outputs.new('NodeSocketGeometry', "Geometry")
---
> # geo_tree.inputs.new('NodeSocketGeometry', "Geometry") # inputs and outputs attributes do not seem to exist anymore. No idea how to create them
> # geo_tree.outputs.new('NodeSocketGeometry', "Geometry")
850c849,850
< random_value_node.inputs["Probability"].default_value = min(RECOMMENDED_MAX_GAUSSIANS / N, 1)
---
> random_value_node.inputs[6].default_value = min(RECOMMENDED_MAX_GAUSSIANS / N, 1) # Workaround. access via Probability key is not working, even though it exists. Probably a bug
> # random_value_node.inputs["Probability"].default_value = min(RECOMMENDED_MAX_GAUSSIANS / N, 1)
|
I ran into this same issue. Hoping it gets resolved soon cause I would really love to use this. |
yeah me too, see the pull requests too, but there are still some issues, if someone got it running please create a pull request |
Guys, you can change to the old version of Blender; just donot use 4.0 |
it should work now, blender 4.0 support was added |
The text was updated successfully, but these errors were encountered: