I don’t know if I’m doing it the wrong way, but I can’t get the vray Light to work with the Houdini instance node correctly.
It does instance the light but I want to use an attribute from the points to drive the intensity of the lights. I am using the point(“geopath”, instancepoint(), “attributename”, 0) expression to get access to the current instance.
Scene file provided below
Greetings Lucca
basically I just want to replicate what was done in this example picture lightinstancing_bug_01.zip (60.5 KB)
We decided to make it easy on the user side and simply export v@Cd and f@intensity directly to the instanced lights if those attributes are present on the template points. Currently we only support those two but if you need control over other light parameters, just ping us and we’ll add it.
One more thing - because attributes are discarded unless used by a shading node (e.g. User Color) to reduce the export time and VRScene size, you will also need to add V-Ray Object Properties to the node holding the instance points for the lights, and specify “Cd intensity” under the Forced Attributes parameter in the Main tab of the Object Properties.