Lights packed in geometry?

   1377   6   1
User Avatar
Member
41 posts
Joined: April 2020
Offline
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
User Avatar
Member
875 posts
Joined: Oct. 2008
Offline
You can instance lights!
--
Jobless
User Avatar
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
User Avatar
Member
41 posts
Joined: April 2020
Offline
Hmm... I'm stuck somehow. I've setup the lights at the object level, I can see them there but I can't get them over to the stage...?
Any hints what I'm doing wrong?

Günther
User Avatar
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
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
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

Attachments:
test.hiplc (264.4 KB)

User Avatar
Member
41 posts
Joined: April 2020
Offline
To return to the initial question and because I obviously get something completèly wrong: let's say you build a house with a couple of rooms and a couple of lights in each room: how would you organize that? Do you really position the lights manually over the whole geometry??
  • Quick Links