SimplyMaya Forums

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


SM Forums / Lounges / Maya Basics & Newbie Lounge / Cast shadows but no lumination

Maya Basics & Newbie Lounge Please post in this section ONLY if your question doesn't fit in anywhere else on the forum, or if you're not sure which section it's relevant to. We also have Free streaming trial available.

Join the conversation. Reply to post
 
Thread Tools
22-01-2007, 04:11 PM   #1
Razzie
Registered User
 
Razzie's Avatar
 
Join Date: Nov 2006
Location: Holland
Posts: 23
Cast shadows but no lumination
Hi there,

Im making a simple seen with a desk lamp just to fidle with Maya.
Is there a way to make a point light ( or any other light) cast shadows without luminating?
  Reply with quote
22-01-2007, 04:49 PM   #2
happymat27
Subscriber
 
happymat27's Avatar
 
Join Date: Jul 2004
Posts: 1,257
Hey there Razzie,

why would you want to do that? If there are shadows cast but no source for the shadows then the scene will look pretty peculiar.

later,

Mat.
  Reply with quote
22-01-2007, 05:09 PM   #3
arran
Registered User
 
arran's Avatar
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 3,708
Actually Jeremy Birn talks about creating shadow only lights in 'Digital Lighting and Rendering' - 'shadow only lights can be tremendously useful if you want to control the exact, size, angle and perspective of your shadow without changing the lighting of the scene'.

I haven't done this, but he says in maya, 'you can create a shadows-only light by sliding the light color down to pure black and setting the shadow color to a negative value'

Though, I agree with happymat, your scene will look perculiar with no obvious source of light.

Hope this helps.
__________________
arran3D

arran3D blog

Last edited by arran; 22-01-2007 at 05:11 PM.
  Reply with quote
22-01-2007, 06:04 PM   #4
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
at the same time when you think about it, if a light doesn't illuminate then how can it cast shadows?

a shadow by definition is an area lacking in illumination from a light because another object is blocking the light rays.
__________________
Accept no substitutions.
  Reply with quote
22-01-2007, 06:17 PM   #5
happymat27
Subscriber
 
happymat27's Avatar
 
Join Date: Jul 2004
Posts: 1,257
My sentiments exactly Neostrider,

but I suppose that's where artistic license comes into play.

Arran, the method you suggested works but as I suspected it does look a litle odd (I guess I've kind of gone to extremes though!!).

Cheers,

Mat.
Attached Thumbnails
Click image for larger version

Name:	shadow.jpg
Views:	1385
Size:	7.8 KB
ID:	32476  
  Reply with quote
22-01-2007, 06:37 PM   #6
arran
Registered User
 
arran's Avatar
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 3,708
Quote:
Originally posted by NeoStrider
at the same time when you think about it, if a light doesn't illuminate then how can it cast shadows?

a shadow by definition is an area lacking in illumination from a light because another object is blocking the light rays.
yes, but creating lights in maya doesn't necessarilly create the shadow that you want - using lights seems to be a process of cheating to create the effect that you want. So while a shadow might be theoretically correct, you might want to cheat and make the shadow longer, to make the shot more aesthetically pleasing. In that case you would need another light to create the shadow, but you would not want that light to create more illumination.

Another example might be deforming your character's arm to increase the effect of foreshortening to the camera. However, his shadow would look wierd, so you would need to create another non illuminating light and possibly an invisible object to create a 'correct' shadow.

Obviously you are using these methods with other lights in your scene, so it's not as if you would be creating a shadow without a source of light - you are just cheating to create an illusion.

Although I probably haven't done a good job of explaining, these are both examples taken from 'Digital Lighting and Rendering which I definately recommend if you haven't looked at it.
__________________
arran3D

arran3D blog

Last edited by arran; 22-01-2007 at 06:41 PM.
  Reply with quote
24-01-2007, 03:24 AM   #7
Razzie
Registered User
 
Razzie's Avatar
 
Join Date: Nov 2006
Location: Holland
Posts: 23
Thanks guys, ill defo look into it. The reason for my question was my scene setup. I had a spotlight shining onto an object whitch is not transparant. But i do want the light to go trough it and cast shaddows. Its a bit tricky to explain but ill go on and fiddle with it some more. :attn:
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
cast shadows dont show in Viewport2 dimeolas Maya Basics & Newbie Lounge 2 27-04-2017 04:22 PM
Make part of mesh not cast shadows Blocker226 Lighting & Rendering 5 10-05-2014 04:46 AM
Maya 2012 objects won't cast shadows Paradart Lighting & Rendering 4 22-09-2013 12:15 AM
No shadows being cast Hypernova Lighting & Rendering 2 19-10-2012 03:12 PM
Object wont cast shadows djwaterman Lighting & Rendering 6 23-06-2012 01:22 AM