Hello,
I was wondering if anyone knows if it's possible to use an object to occlude a light source without that object getting rendered too?
Meaning, making it ‘invisible’ to the renderer but not for the purpose of saying using that object occlude a light source that would say, result in a shadow on another object.
I suspect I will have to get into doing compositing. But for the time being would prefer to just work with lights and objects somehow.
Thanks.
Light Occluding Objects
2216 10 1- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
- A-OC
- Member
- 253 posts
- Joined: July 2006
- Offline
- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
- A-OC
- Member
- 253 posts
- Joined: July 2006
- Offline
- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
Perhaps I should include a hip file.
But say I'm looking at a sphere from camera view.
I also have a spotlight looking down at the sphere as well; from the same direction as the camera.
In between the sphere and camera, I place a flat disk to partially block out and caste a shadow on the sphere.
However if I render from the camera view, that disk object blocks out a part of the sphere from being seen ( blacked out because I have the light filter of the disk object blank so it receives no light ).
I would like to be able to caste the shadow but not have the disk obscure the view of the sphere.
But say I'm looking at a sphere from camera view.
I also have a spotlight looking down at the sphere as well; from the same direction as the camera.
In between the sphere and camera, I place a flat disk to partially block out and caste a shadow on the sphere.
However if I render from the camera view, that disk object blocks out a part of the sphere from being seen ( blacked out because I have the light filter of the disk object blank so it receives no light ).
I would like to be able to caste the shadow but not have the disk obscure the view of the sphere.
- A-OC
- Member
- 253 posts
- Joined: July 2006
- Offline
- A-OC
- Member
- 253 posts
- Joined: July 2006
- Offline
- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
Ok…here's the file.
Phantom doesn't work…but -primary does.
I thought I tried primary earlier, but I guess I overlooked it.
Thanks for your replies A-OC….making the hip file got me to try -primary again.
I can now work on mapping a transparency gradient to the block disk - more opaque towards the middle, and transparent towards the edges so that the shadow goes from dark to diffuse
Phantom doesn't work…but -primary does.
I thought I tried primary earlier, but I guess I overlooked it.
Thanks for your replies A-OC….making the hip file got me to try -primary again.
I can now work on mapping a transparency gradient to the block disk - more opaque towards the middle, and transparent towards the edges so that the shadow goes from dark to diffuse
Edited by BabaJ - Feb. 17, 2017 22:31:27
- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
- A-OC
- Member
- 253 posts
- Joined: July 2006
- Offline
- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
-
- Quick Links