# SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Light shining through polygon, help please
 Register FAQ Members List Calendar Mark Forums Read

 25-01-2004, 12:43 AM #1 Brian820 Registered User   Join Date: Jul 2003 Location: Bay Area, CA Posts: 14 Thanks: 0 Thanked 0 Times in 0 Posts 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 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 12:49 AM.
 25-01-2004, 01:57 AM #2 mtmckinley The Maya Mountain     Join Date: Aug 2002 Location: Seattle, WA Posts: 8,245 Thanks: 1 Thanked 25 Times in 25 Posts 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. __________________ -Mike www.mtmckinley.net The Maya Toolbelt
 25-01-2004, 02:54 AM #3 Brian820 Registered User   Join Date: Jul 2003 Location: Bay Area, CA Posts: 14 Thanks: 0 Thanked 0 Times in 0 Posts 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
 25-01-2004, 04:07 AM #4 Pony Subscriber     Join Date: Mar 2003 Location: with PonysGirl Posts: 2,573 Thanks: 0 Thanked 6 Times in 6 Posts 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.
 25-01-2004, 04:20 AM #5 mtmckinley The Maya Mountain     Join Date: Aug 2002 Location: Seattle, WA Posts: 8,245 Thanks: 1 Thanked 25 Times in 25 Posts 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. __________________ -Mike www.mtmckinley.net The Maya Toolbelt
 25-01-2004, 09:28 AM #6 Brian820 Registered User   Join Date: Jul 2003 Location: Bay Area, CA Posts: 14 Thanks: 0 Thanked 0 Times in 0 Posts 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
 25-01-2004, 10:55 AM #7 Pony Subscriber     Join Date: Mar 2003 Location: with PonysGirl Posts: 2,573 Thanks: 0 Thanked 6 Times in 6 Posts 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.
 25-01-2004, 02:56 PM #8 mtmckinley The Maya Mountain     Join Date: Aug 2002 Location: Seattle, WA Posts: 8,245 Thanks: 1 Thanked 25 Times in 25 Posts If you're using raytrace shadows, make sure you have raytracing turned on in your render globals. __________________ -Mike www.mtmckinley.net The Maya Toolbelt

 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

 Similar Threads Thread Thread Starter Forum Replies Last Post Open Challenge -Jerry Can Texturing honestdom Battle Arena 77 03-12-2010 12:20 PM

## \$34

Month-to-month billing

## \$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.

## \$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.