mbr Posted August 18, 2002 Share Posted August 18, 2002 I am doing an animation where I need to have cars. I am using RPC trees that need raytracing for the shadows, but the cars take way to long to ray trace the shadows. So I made a duplicate light and assigned soft shadows to it to light only the cars. The problem is that it needs the surface the shadows are on, too. So I have my road lit by the raytraced light and the mapped light, to have both the tree shadows and the car shadows, which makes it twice as bright as it should be. Is there a work around for this? Any suggestions would be greatly appreciated. Link to comment Share on other sites More sharing options...
TAKA Posted August 18, 2002 Share Posted August 18, 2002 Hey mbr try duplicating ur road and assign a matte/shadow material to it. then Include in the shadow mapped light only the cars and the matte/shadow road. And in ur raytraced light exclude the cars and the matte/shadow road (i'm refering to the inlcude/exclude properties of the lights). Also move the shadow/matte road a few mm up(just in case something wrong happens). Hope it works. rgds TAKA Link to comment Share on other sites More sharing options...
Wolf Posted August 18, 2002 Share Posted August 18, 2002 try xshadow it comes with the forest plugin lets you use shadow maps with opacity mapped trees link here.... http://www.itoosoft.com/cgi-bin/download.cgi?ForestPackLite14 Link to comment Share on other sites More sharing options...
quizzy Posted August 19, 2002 Share Posted August 19, 2002 or try this tutorial form rpc: rpc shadow tutorial Link to comment Share on other sites More sharing options...
HeDaCoM Posted August 19, 2002 Share Posted August 19, 2002 the matte/shadow material solution is good. but sometimes duplicates too much faces and slow down also. What I do is to include also the surfaces in the shadow map light... so. I get the surfaces iluminated twice! what I do then? Create another light in the same position of the sun without shadows and including only the surfaces, with multiplier -1.0 or the same value as the positives but negative. BUT. I don't suggest you to use shadow maps for animations. they have a flickering effect sometimes. Use raytraced ones. heh Link to comment Share on other sites More sharing options...
TAKA Posted August 19, 2002 Share Posted August 19, 2002 oops....forgot about negative lights.....nice one Hedacom rgds TAKA Link to comment Share on other sites More sharing options...
mbr Posted August 20, 2002 Author Share Posted August 20, 2002 Thanks for all the suggestions. I tried the negative lights and it works wonderfully! I'll try the matte/shadow materials, as well. I am a little hesitant to install plugins that I don't know anything about...but it looks interesting. Again, thanks for saving my shadows! Link to comment Share on other sites More sharing options...
HeDaCoM Posted August 20, 2002 Share Posted August 20, 2002 great mbr ! keep comming here ! Link to comment Share on other sites More sharing options...
TAKA Posted August 20, 2002 Share Posted August 20, 2002 Hedacom! u're the man! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now