SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 14-02-2004, 02:19 AM   #1
nspiratn
Registered User
 
nspiratn's Avatar
 
Join Date: Dec 2002
Location: CA
Posts: 211
Thanks: 0
Thanked 0 Times in 0 Posts
Default shadow problems

Hi,

I have lit this scene with an ambient light of intensity 0.2 and a directional light of intensity 0.8. shadows are being cast only by the directional light.
But I'm getting this weird shadow pattern on my renders.

WHY?

P.S. I tried lighting this with just an ambient and then only a spot light and it renders just fine...
Attached Thumbnails
Click image for larger version

Name:	shadow_problem.jpg
Views:	79
Size:	17.0 KB
ID:	13311  
__________________
~nspiratn
nspiratn is offline   Reply With Quote
Old 14-02-2004, 02:28 AM   #2
roach105
Subscriber
 
roach105's Avatar
 
Join Date: Dec 2002
Location: T.O Baby!
Posts: 1,016
Thanks: 0
Thanked 1 Time in 1 Post
Default

bring up the filter size to 3 for the light shadow. Also the setting jst below the filter size to .03. Sorry don't have maya open so can't tell exactly. What you are getting in just some artifacting from the Depth map shadow.
roach105 is offline   Reply With Quote
Old 20-02-2004, 09:20 AM   #3
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

up the dmap resolution, and only then start to fiddle with the bias and filter settings. It's basically artifacts.

explanation: it renders fine as a spot because it is illuminating a much smaller area (trhe size of the cone angle). With a directional light it is illuminating everthing from that direction. So the dmap res is split up over a much larger area. By increasing the map res it will increase the average spread of the map's resolution.You can also use light linking to reduce the amount of geometry being illuminated by the light, that will also help out the shadow problem.

Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 26-02-2004, 03:49 AM   #4
Soviut
Registered User
 
Join Date: Oct 2003
Location: Ontario, Canada
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Another solution is to use raytraced lights. Sure, rays are slower, but if you need to use really huge dmaps it can sometimes be faster to use rays instead.
Soviut is offline   Reply With Quote
Old 26-02-2004, 09:09 AM   #5
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

yeah but then you will get hard edged shadows... and if it's a large scene unless you optimise which objects are going to get raytraced then you will end up with higher render times...
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 26-02-2004, 09:24 PM   #6
Soviut
Registered User
 
Join Date: Oct 2003
Location: Ontario, Canada
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you want soft edges with raytracing simply increase the number of rays to between 15 and 30. Also adjust your Light Angle (this is called a Radius on point lights). This IS going to be slower rendering, but the quality will look much better.
Soviut is offline   Reply With Quote
Old 26-02-2004, 10:45 PM   #7
nspiratn
Registered User
 
nspiratn's Avatar
 
Join Date: Dec 2002
Location: CA
Posts: 211
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Cool, thanks for the tip everyone

I think I got this down.
__________________
~nspiratn
nspiratn is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.