Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 07-04-2003 , 08:53 PM
Sardo Numspa's Avatar
Registered User
Join Date: Apr 2003
Posts: 31

How do you get soft Shadows when Raytracing?

This is a scene I have been working on. Notice the hard shadows underneath the cars. How do I soften these up? They are ray traced...not Dmaps. Any other suggestions welcomed and how to improve this scene and look. Thanks.

BTW...I would use Dmaps but the shadows are hosed. I have adjusted the Res to match the render output i.e. 640 x 480. So I raytrace.

# 2 07-04-2003 , 09:28 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
You want to look at both the light radius and shadow rays attributes. In a nutshell, adjusting the light radius will give you your soft shadows. The Shadow rays attribute controls the sampling of the shadows (kind of like the dmap filter).


"Terminat Bora Diem, Terminal Auctor opus."
# 3 07-04-2003 , 09:48 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Btw, here's a quick example I just did for you with a sphere, ground plane (a cube actually) and a spotlight. I left the raytracing defaults in render globals and in the spotlight's attributes, it's setup like this:

no decay
cone angle 40
penumbra 10
dropoff: 0


raytraced shadows on:

Light radius: 2.009
shadow rays: 10
depth limit: 1

You should experiment with lower values....increasing radius or rays will slow your rendering, even for simple scene such as the one I did.


"Terminat Bora Diem, Terminal Auctor opus."
# 4 07-04-2003 , 09:49 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Ewps, forgot the attachment (hit the wrong button). Here it is.


"Terminat Bora Diem, Terminal Auctor opus."
# 5 07-04-2003 , 11:00 PM
Sardo Numspa's Avatar
Registered User
Join Date: Apr 2003
Posts: 31
Thank you for the advice and example. However, I am using 4 directional lights so what are the parameters for soft shadows with them. Thanks.

# 6 07-04-2003 , 11:41 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Directional lights have the same raytrace shadow attributes as the spotlights. Adjust the same settings I mentioned.


"Terminat Bora Diem, Terminal Auctor opus."

Last edited by NitroLiq; 07-04-2003 at 11:43 PM.
# 7 07-04-2003 , 11:47 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Here's another example using the same settings as before except this has a directional light rather than a spotlight.


"Terminat Bora Diem, Terminal Auctor opus."
# 8 10-04-2003 , 12:57 AM
Sardo Numspa's Avatar
Registered User
Join Date: Apr 2003
Posts: 31
Thanks man. I got it to work. I have a new problem now so check for my next posting.

Cheers

# 9 10-04-2003 , 05:57 AM
M's Avatar
Subscriber
Join Date: Jan 2003
Location: BC, Canada
Posts: 2,250
Hey, i really like your render there, thats a great scene... i would definately tone down the lighting a bit though, it makes it look a bit fake because it shows ALL the details with that much light, the less light, can sometimes be the best thing user added image. Really nice though, post your fixed image when its done user added image.


"I should call you sugar maple tree cause i'd totally tap that" haha

email - mattwettstein@gmail.com
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads