Jump to content

Creating area light with a texture using point/spot lights


Farsheed Ashouri

Recommended Posts

Hi again. I wrote a MEL script few years ago that creates point/spot light based on a texture on a surface.

Here is that mel script:

sLight.mel.zip

And some screenshots:

post-4411-125075702669_thumb.jpg post-4411-125075705632_thumb.jpg post-4411-12507571045_thumb.jpg

How can I do this in houdini? I tried to scatter point lights on a grid but I couldn't. The main point is how can I gather RGB information of the texture or custom image on a nurbs surface and assign it to a nearest light.

what I want is a fake HDRI tool.

Thank you in advanced.

Edited by Farsheed Ashouri
Link to comment
Share on other sites

You can not scatter lights but You can instanciate lights to points and they can pick up for example color of the points with a expression

Hi again. I wrote a MEL script few years ago that creates point/spot light based on a texture on a surface.

Here is that mel script:

sLight.mel.zip

And some screenshots:

post-4411-125075702669_thumb.jpg post-4411-125075705632_thumb.jpg post-4411-12507571045_thumb.jpg

How can I do this in houdini? I tried to scatter point lights on a grid but I couldn't. The main point is how can I gather RGB information of the texture or custom image on a nurbs surface and assign it to a nearest light.

what I want is a fake HDRI tool.

Thank you in advanced.

Link to comment
Share on other sites

Hi again. I wrote a MEL script few years ago that creates point/spot light based on a texture on a surface.

Here is that mel script:

sLight.mel.zip

And some screenshots:

post-4411-125075702669_thumb.jpg post-4411-125075705632_thumb.jpg post-4411-12507571045_thumb.jpg

How can I do this in houdini? I tried to scatter point lights on a grid but I couldn't. The main point is how can I gather RGB information of the texture or custom image on a nurbs surface and assign it to a nearest light.

what I want is a fake HDRI tool.

Thank you in advanced.

I've made a light rig setup HDA a while ago. Check it out: Light Rig One

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...