Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

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 06-03-2008, 10:20 AM   #1
Andy Gee
Registered User
 
Join Date: Nov 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transparency maps and light fog ?

Hello 2 all

I have been experimenting with lightfog and transparency maps.

I had an idea on how to generate the light beams for my underwater scene, but I am having trouble getting this setup to work properly.

Ok I have a plane with a blinn applied to it I have mapped a file to the transparency of the blinn, just added a simple checker texture, for this test.

I added a spot light, and added light fog to that and placed it above my plane shining down. when I render It does,t cut out the black squares in the checker texure and allow the light fog to come through. Also I get that harsh light cone on the black(transparent areas) of my plane. Also on the white areas of the plane.
Ok this is just a test, but how can I get the result I am after ??

Any help on this would be great.

Thanks

Andy Gee
Andy Gee is offline   Reply With Quote
Old 06-03-2008, 10:26 AM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

post a picture for a start
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 06-03-2008, 10:45 AM   #3
Andy Gee
Registered User
 
Join Date: Nov 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Top
Attached Thumbnails
 
Andy Gee is offline   Reply With Quote
Old 16-03-2008, 03:43 AM   #4
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

i believe that light fog doesn't go through transparent materials, only through actual holes... so if you wanted the light fog to pass through the floor you'd have to create a panel that actually had holes in it.


as for the harsh white, what is the value of your spotlight? it looks like you've got that sucker cranked up pretty high...
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 17-03-2008, 05:54 PM   #5
alexanderH
Subscriber
 
alexanderH's Avatar
 
Join Date: Sep 2007
Location: Mississauga, Ontario, Canada
Posts: 450
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hey, as far as getting light fog to pass through transparency objects there is a nice bit of a tutorial at the gnomon workshop found here .

Basically what you need to do is create an object that has the hole you want the fog to go through. Leave the default material on it and open up the objects render settings. Turn the visibility off so that it does not render but it will still affect the light. This will allow you to make it look like the fog is going through the items.

Hope that helps!
__________________
Peace, love and Anarchy~~~~~~~
______________________________
Wip:
iMac
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
Old 17-03-2008, 06:02 PM   #6
alexanderH
Subscriber
 
alexanderH's Avatar
 
Join Date: Sep 2007
Location: Mississauga, Ontario, Canada
Posts: 450
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have attached a quick mockup of what I do believe you were trying to do. Instead of using a texture for transparency I simply plced my plane and cut out the necessary holes to demonstrate the effect. Where the fog seems to separate is where the plan is but as it is not visible in renders it will still affect the light so if you had a textured plane there which did not affect shadows but showed in renders you should be able to achieve your desired look.
Attached Thumbnails
 
__________________
Peace, love and Anarchy~~~~~~~
______________________________
Wip:
iMac
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
Old 17-03-2008, 06:10 PM   #7
alexanderH
Subscriber
 
alexanderH's Avatar
 
Join Date: Sep 2007
Location: Mississauga, Ontario, Canada
Posts: 450
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have attached a quick mockup of what I do believe you were trying to do. Instead of using a texture for transparency I simply plced my plane and cut out the necessary holes to demonstrate the effect. Where the fog seems to separate is where the plan is but as it is not visible in renders it will still affect the light so if you had a textured plane there which did not affect shadows but showed in renders you should be able to achieve your desired look.
I have the file here still if you'd like to see what has been done. All you would have to do is place a plane with your trasnparent texture over the original plane and then adjust its render settings so that it does not affect shaows, and such.
Attached Thumbnails
 
__________________
Peace, love and Anarchy~~~~~~~
______________________________
Wip:
iMac
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.”

Last edited by alexanderH : 17-03-2008 at 07:03 PM.
alexanderH is offline   Reply With Quote
Old 18-03-2008, 12:00 AM   #8
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

yea! cut holes in it!
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 18-03-2008, 12:18 AM   #9
Andy Gee
Registered User
 
Join Date: Nov 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey AlexanderH

How did you cut holes in the geometry ??

The reaon I am asking is because I want to add an image sequence to plane which is animated so I am not sure how to cut holes from an image sequence ?

any further help would be great.

thanks

Andy Gee
Andy Gee is offline   Reply With Quote
Old 18-03-2008, 02:06 AM   #10
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

i think for an image sequence you can attach that to the light itself like alexander H shows in the one render... as long as you have an alpha channel attached to the image sequence it should only create the fog within the image's area.


(because to cut holes you have to delete portions of geometry - like faces for polygons or perform trims for nurbs planes...)
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 18-03-2008, 03:59 PM   #11
alexanderH
Subscriber
 
alexanderH's Avatar
 
Join Date: Sep 2007
Location: Mississauga, Ontario, Canada
Posts: 450
Thanks: 0
Thanked 1 Time in 1 Post
Default

yeah if you are mapping an image to the colour value of the light, if you map that same image sequence to the lightfog it will only have fog where there is colour. Furthermore the color based transparency in the lightfog options will give you more realistic fog based on that image sequence.
__________________
Peace, love and Anarchy~~~~~~~
______________________________
Wip:
iMac
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-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.