Replies: 2 comments 5 replies
-
Hi @duongnlt The rectangle should not be casting a shadow. Are you using the |
Beta Was this translation helpful? Give feedback.
-
@njroussel Follow your approach, I change my scene = mi.load_dict({
'type':'scene',
'integrator': integrator,
'sensor': sensor,
'object': bunny,
# 'polarizer': polarizer,
'source': {
'type': 'rectangle',
'bsdf': {
'type': 'null'
},
'to_world': T.translate([0,0,-3]).rotate(axis=[1,0,0], angle=180),
'emitter': {
'type': 'directionalarea',
'radiance': {
'type': 'rgb',
'value': 1.0,
}
}
},
}) but the result is only a black image. The light only appears when I switch the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I am trying to create a scene with a rectangle polarizer placed in front of the sensor, an object and a directional emitter. The problem is in some light directions, the rectangle polarizer casts a shadow on my object which is not the outcome I expect. So I am wondering if it is possible to create a custom directional emitter that has a position property (like a point emitter) so that I can place it between the object and the polarizer. Or if you come up with another solution, I would really appreciate it.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions