View Full Version : raytrace cheating
Dipesh (India) 01-20-2003, 05:13 PM I have applied a raytrace material to cylinder & I excluded the box to right from the reflection, however the box get excluded but the shadow of the box is still reflected in the cylinder.
|
|
Tumerboy
01-21-2003, 12:28 PM
I guess I don't understand. . . what's the point of this? or what's the question?
Dipesh (India)
01-21-2003, 02:34 PM
you can see the box to the right, i have excluded the box from the raytrace materials applied to the cylinder to the left.
however the box is excluded from the reflection in the cylinder but the shadow of the box is still visible. so how can i deal with this sitution.:thumbsdow
Lucidium
01-21-2003, 07:31 PM
Tried raytraced shadows, instead of the shadow map you're using?
Then the shadows would be calculated as it's rendering, instead of before.
I think.
(Just guessing here ^_^)
DaForce
01-21-2003, 09:06 PM
just exclude the box from shadow casting.
HapZungLam
01-23-2003, 01:46 AM
The box is a ghost!!!!:surprised
just kiddin, did you try adjust the lvl of raytrace? i mean the depth level.
Originally posted by Dipesh (India)
you can see the box to the right, i have excluded the box from the raytrace materials applied to the cylinder to the left.
however the box is excluded from the reflection in the cylinder but the shadow of the box is still visible. so how can i deal with this sitution.:thumbsdow
Only one solution: two renders and a comp.
If using raytracing...
Make your cylinder visible to camera rays, and all other objects invisible to camera rays (but still visible to secondary or reflection rays). Do not put the box in the scene (hide it). Render that. You'll get a cylinder with the right reflection you want (no box, no box's shadow) over black.
For the second render, reverse it. Make the cylinder invisible to primary rays but visible to all other rays, and all other stuff visible to them (and shadows). Render that.
Comp the first image over the second.
If not using raytracing and using environment maps, the same idea applies. However your first render is that of the environment map without the box and your second render is the one of the beauty pass. No comping will be needed.
CGTalk Moderation
01-14-2006, 05:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.