Hi again,
since this is becoming a challenge for me I'm opening a new topic on this.
If I understand this right, then lights can only be created at the obj level (or the stage)?
In my understanding lights are objects like geometry or anything else. So for example, I would like to put lights into the light bulb geometry, so whenever I use that bulb it has the light with it.
Is this possible?
In my current project I need 30 lights in a circle with a radius of 40 m and rotated by 12 degrees. How would I do that? Do I really need to position each light individually?
Thanks in advance,
Günther
Lights packed in geometry?
1377 6 1-
- Sybaris
- Member
- 41 posts
- Joined: April 2020
- Offline
-
- Soothsayer
- Member
- 875 posts
- Joined: Oct. 2008
- Offline
-
- Sybaris
- Member
- 41 posts
- Joined: April 2020
- Offline
Yeah, I found something in the SideFX documentation. Instancing Lights [www.sidefx.com].
That basically does what I want although the lights are not where the geometry is...
But I can live with that. I'll put a point in the geometry whereever I want a light to be, put them all in a group and instance the lights to those points.
Thanks for the hint!
Günther
That basically does what I want although the lights are not where the geometry is...
But I can live with that. I'll put a point in the geometry whereever I want a light to be, put them all in a group and instance the lights to those points.
Thanks for the hint!
Günther
-
- Sybaris
- Member
- 41 posts
- Joined: April 2020
- Offline
-
- tamte
- Member
- 9386 posts
- Joined: July 2007
- Offline
If your end context is LOPs anyway, you can probably prepare your asset in LOPs fully with materials and lights and then instance or copy around there, while the instancing points can still be modified with SOPs
That's the advantage of USD, that the assets in there can contain any type of prims
That's the advantage of USD, that the assets in there can contain any type of prims
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Sybaris
- Member
- 41 posts
- Joined: April 2020
- Offline
I can't get this to work...
Under "obj" I create a geometry object which only contains 8 points.
Also under "obj" I create a lopnet, load the scene with SceneImport and feed those points into an instancer together with a light.
No matter what I do, it doesnt position the lights. If I put the same code into the Instancer node then it works like a charm.
Is it possible that the SceneImport node doesn't import points correctly?
Any help appreciated! Hip is attached.
Günther
Under "obj" I create a geometry object which only contains 8 points.
Also under "obj" I create a lopnet, load the scene with SceneImport and feed those points into an instancer together with a light.
No matter what I do, it doesnt position the lights. If I put the same code into the Instancer node then it works like a charm.
Is it possible that the SceneImport node doesn't import points correctly?
Any help appreciated! Hip is attached.
Günther
-
- Sybaris
- Member
- 41 posts
- Joined: April 2020
- Offline
-
- Quick Links


