Jump to content

Light Blocker in Mantra


Recommended Posts

Hi! I wonder if it's possible to reproduce the same effect in Mantra as Arnold renderer has, I'm speaking of Light Blocker filter described here: https://support.solidangle.com/display/AFHUG/Light+Blocker

So what I actually want is to have some kind of hidden geometry that could block all the lightsources in the scene including environment light. I need this Light Blocker to have some kind of ramp control to adjust falloff to have soft edges.

Thnx for any clues!

arnold_blocker.jpg

Edited by notintricate
Link to comment
Share on other sites

Blockers would be handy. From what I understand (based on long chats with the render architect guys at work) its more efficient to do this as a light modifier than as a piece of geometry; it then doesn't have to do tests against it for visibility or sampling or shadowing etc, and if done right can help steer samples ala geometry lights (but less heavy than geometry lights).

The built in shapes for round/square and ramps would also be nice to have. Ooh, and the ability to define it as a 2d blocker or 3d volume blocker.

RFE!

 

Link to comment
Share on other sites

well you can assign a shader to the light and make a ramp or whatever pattern you want to define light intensity/color. not sure if the math behind this is the same like Arnold's blockers though.

Link to comment
Share on other sites

12 hours ago, davpe said:

why don't you simply create any geometry you want and hide it from camera rays? gradient light blocking can be achieved by putting a ramp SHOP in material's opacity.

Can you elaborate a bit more on the gradient part? I can't figure out how to make opacity act like density gradient in case of sphere object for example.

Link to comment
Share on other sites

Here is my attempt at trying to implement the gradient controls SHOP opacity. I don't know how to hide an object from the camera, in C4D there is a check box, I guess there is a checkbox somewhere in Houdini as well.

 

I just plugged a Ramp parameter into Of.

ap_light_blocker.hipnc

Screen Shot 2016-04-25 at 12.03.51 PM.png

Edited by Atom
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...