Jump to content

How to copy lights on points in SOP context?


magneto

Recommended Posts

I have a simple dome with some spheres showing the colors of the lights. I am trying to place pointlights at these points so they follow the same points as the spheres. Spheres can be discarded if there is a way to show the object color in the viewport (not light color).

Is there any way to do this? I couldn't do it using the merge sop, etc.

Thanks.

Link to comment
Share on other sites

I think you have to instance the lights for this to work. You also need to use a light-template with a light and a shadow shader instead of a standard light from the shelf.

Perhaps it is possible to use PBR as well and make the points emit light that way but I'm not sure how easy it is to get clean results with that.

Other than that...uhmm...point clouds probably but I'm not much of an expert with that method.

Link to comment
Share on other sites

I have a simple dome with some spheres showing the colors of the lights. I am trying to place pointlights at these points so they follow the same points as the spheres. Spheres can be discarded if there is a way to show the object color in the viewport (not light color).

Is there any way to do this? I couldn't do it using the merge sop, etc.

Thanks.

you can select your spheres, and use geometry light button off the shelf.

points_and_lights.hip

Link to comment
Share on other sites

@Macha: I am not sure how to do that.

@Denis: Just tried it and that works but it doesn't show the light effects in the viewport. I just need to show the interactivity of the lights in the viewport.

Is there a way to get the point position of a point? I have 3 separate points, created by the Add SOP and modified by VOPs, but I am not sure how to get each point's position. Then I could reference this in the Transform channels of the lights.

Link to comment
Share on other sites

@Macha: I am not sure how to do that.

@Denis: Just tried it and that works but it doesn't show the light effects in the viewport. I just need to show the interactivity of the lights in the viewport.

Is there a way to get the point position of a point? I have 3 separate points, created by the Add SOP and modified by VOPs, but I am not sure how to get each point's position. Then I could reference this in the Transform channels of the lights.

You can use render region for example or interactive render for light setup and tuning.

Link to comment
Share on other sites

Yeah although for this instance, the end result isn't important. Basically I am just trying to make a prototype of a system in Houdini so I can use Houdini at work.

In the actual system people will also rely on the viewport preview. So that's why I want to get it working using point lights. The viewport preview they give is actually pretty good for this.

So all I need is 3 point lights to follow 3 points in space.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...