Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 25-03-2008, 08:38 AM   #1
Join Date: Sep 2005
Location: Illinois
Posts: 364
Thanks: 1
Thanked 2 Times in 2 Posts
Default blocking light out and letting it in

I am doing a scene where I have a light fog going through a window and I want to define it to just the window part. Right now it is going through the geometry around the window also. Is there some kind of gobo I could set up so it only goes through the window. I also would like to put glass so fog goes through it, but it just blocks it from showing.If I make a transparency map on the glass will the light go through then?Need help please.

I posted here because more people look in here than lighting and rendering I think.
banksta is offline   Reply With Quote
Old 25-03-2008, 10:34 AM   #2
happymat27's Avatar
Join Date: Jul 2004
Posts: 1,257
Thanks: 0
Thanked 3 Times in 3 Posts

Hey there Banksta,

I'm not sure if it's what you're after but I made THIS a while back and it might help.

It's all in the raytrace shadows!

Take it easy,

Click here to visit my site
happymat27 is offline   Reply With Quote
Old 25-03-2008, 11:09 AM   #3
Join Date: Sep 2005
Location: Illinois
Posts: 364
Thanks: 1
Thanked 2 Times in 2 Posts

hi Mat,

That isn't exactly what I was talking about. I actually want the fog to only go through the window, But in a box shape like the window.Is the a cutout I can map to the light where it will allow only light to pass through the box shape of the window itself and not spill through the sides of the wall. Other than that the tutorial was informative, thanks for the info.
banksta is offline   Reply With Quote
Old 25-03-2008, 12:03 PM   #4
Lead Modeler - Framestore
Jay's Avatar
Join Date: Feb 2003
Location: UK
Posts: 6,247
Thanks: 40
Thanked 425 Times in 381 Posts

Use the barn doors option on the spotlight. You can look thru the light in another window and adjust them accordingly (MMB)

Fog only tends to work properly with depth map shads too...

Jay is offline   Reply With Quote
Old 25-03-2008, 10:27 PM   #5
Registered User
effacer's Avatar
Join Date: Jan 2007
Location: Kathmandu, Nepal
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts

i'm not sure if this would help. you can link the light and the object!! this way, wht u r doing is telling the light to fall only on the targeted object and not to other objects in the scene. Try this
Attached Thumbnails
effacer is offline   Reply With Quote
Old 01-04-2008, 11:00 AM   #6
alexanderH's Avatar
Join Date: Sep 2007
Location: Mississauga, Ontario, Canada
Posts: 450
Thanks: 0
Thanked 1 Time in 1 Post

I think if you take HappyMats approach and tweak it a bit you can easily get the result you desire if nothing so far has worked.
If you take a plane that is bigger than the box, with the same window opening in it, and put it infront of the window. turn on shadows for the light so that this plane will only let light through the hole. Then in the render settings turn it to a non renderable item and the light will act as though it is there but it will not render.

Does that work for you?

Peace, love and Anarchy~~~~~~~
Full House Project
Arch Viz Reel

My Website is Finally Back up!

“Welcome to the Internet. Where the men are men, the women are men, and the children are FBI agents.”
alexanderH is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.