Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 25-01-2004 , 01:43 AM
Registered User
Join Date: Jul 2003
Location: Bay Area, CA
Posts: 14

Light shining through polygon, help please

Hello everyone, and thanks for taking the time to view my question. My name is Brian, and this is my first post here at SimplyMaya.

I'm a self-taught Maya user just beginning my first project that didn't come with a walkthrough user added image and I'm having a basic lighting problem that I hope someone can help me with.

I've modeled a spaceship from an extruded/tweaked polygon, leaving a two cavities in the back for thrusters. I want to place a light (probably spot or point) inside each cavity to light up the thruster space as well as shine some light out the back. The problem is, my lights are shining THROUGH various parts of the ship. For example, if I place a point light in the middle of the left cavity, it shines bright enough to illuminate the right cavity, the interior of the spaceship, and even highlights parts of the wings.

I did a little test by placing a sphere above the spaceship, and that sphere is picking up that light even though it should be entirely in shadow. Let me illustrate with a very crude diagram.


|...sphere..........O
|................._______
|................/........__|
|....ship.....<......C*__...light in thruster cavity
|................\_______|


I cannot understand why that sphere would pick up lighting from a light separated by two faces and some polygon area.

My guesses are, something is wrong with my light, or something is wrong with the texture/material of my ship.
Reducing the light intensity does help the problem, but this doesn't seem like the correct solution as NO light should penetrate the ship's surface anyway.
The texture on my polygon I believe is entirely opaque, with no transparency or translucency.

So, what settings/changes should I do so that the light will only illuminate the cavity/cavity openeing and not penetrate through my model?

Thank you so much for taking the time to read this, and I would greatly appreciate any and all help.

-Brian


Last edited by Brian820; 25-01-2004 at 01:49 AM.
# 2 25-01-2004 , 02:57 AM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Does the light cast shadows? Turn on shadows in the light's attributes.

Is it an ambient light? Ambient lights shine light EVERYWHERE, even on the opposite sides of objects.

# 3 25-01-2004 , 03:54 AM
Registered User
Join Date: Jul 2003
Location: Bay Area, CA
Posts: 14

Point Light, Shadows on

Hi Mike, thanks.

I'm using a point light currently, and I've tried using Depth Map Shadows, Raytracing Shadows, and Shadow Maps all with no change in the image. The light is still shining through the ship to illuminate objects it shouldn't be able to reach.

Let me know if I should post a jpg or any other info that might help.

-Brian

# 4 25-01-2004 , 05:07 AM
Pony's Avatar
Subscriber
Join Date: Mar 2003
Location: with PonysGirl
Posts: 2,573
Try with the spot lights casting shadow. Sorry if you have tryed this and still having problems. I think the shadows will work better for you with a spot.

it is also posible that youhave recives shadows terned off on the ship geo.

# 5 25-01-2004 , 05:20 AM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
It's possible that you may need to reverse the ship's normals, or, if you're planning on rendering from outside the ship, give the ship some thickness so normals are facing both directions.

# 6 25-01-2004 , 10:28 AM
Registered User
Join Date: Jul 2003
Location: Bay Area, CA
Posts: 14
Those both sound like good ideas...I'm just not sure exactly where to check.

1) How do I ensure that my material is capable of receiving shadows?
2) How do I add thickness to my faces...and will that help?

Another dimension to the problem, is I have a ton of light penetrating to the interior of the ship and bouncing around in there, causing further problems.

I'm getting the impression that the light is illuminating one side of the face, yet somehow both sides are being lit and the opposite side is transmitting light through. Does this help anyone come up with any ideas?

I've checked the normals and they all point outwards...towards the light.

-Brian

# 7 25-01-2004 , 11:55 AM
Pony's Avatar
Subscriber
Join Date: Mar 2003
Location: with PonysGirl
Posts: 2,573
A
1) its in the attribute editor. Highlight the object, and bring up the attribute editor for it. Say you have the object named polysurface9, click on the polysurface9shap tab. Expand the render stats dropdown, and receives shadows is down that list.

It might help if we can see a pic of the rendering.

# 8 25-01-2004 , 03:56 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
If you're using raytrace shadows, make sure you have raytracing turned on in your render globals.

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