Timeline for How to toggle the camera ray visibility property with Python for objects that are assigned to a Collection Info node + Replace Material node
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 20 at 9:27 | vote | accept | Joeyvm | ||
Sep 20 at 9:27 | answer | added | Joeyvm | timeline score: 0 | |
Sep 18 at 13:09 | history | edited | Joeyvm | CC BY-SA 4.0 |
added 382 characters in body
|
Sep 18 at 9:09 | answer | added | Gorgious | timeline score: 1 | |
Sep 18 at 7:05 | comment | added | Joeyvm | @Gorgious That makes sense. Thanks for the explanation about what happens with an instance when you do something with it in geometry nodes. The special attribute that you mentioned, would that be a Custom Property added to the geometry, in my case, the door objects? And will adding a Custom Property make it possible to search for the objects with Python to be able to change the camera ray visibility? | |
Sep 17 at 15:20 | comment | added | Gorgious | The camera ray visibility is a property on the object that holds the geometry. If you are using instances, they inherit the properties of the instances objects, but if you realize the instances, which you do when you change the material assignment, all the geometry will follow the setting of the object that holds the geometry nodes modifier. You may want to add a special attribute and use a shader to set some of the geometry transparent ? | |
Sep 17 at 13:34 | history | asked | Joeyvm | CC BY-SA 4.0 |