SimplyMaya Forums

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

Home / forum / Modeling / Modeling / Raytracing Shadows and Fog
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 06-05-2004, 12:40 PM   #1
salsero
Subscriber
 
salsero's Avatar
 
Join Date: Jul 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Raytracing Shadows and Fog

Hello Everyone

I have started with light fog exercise and I came up with a problem as you will see in the image bellow. I created a polygon box. I extruded one of the face to make a hole in it and then created a second floor (see wireframe caption). I wanted light to go through the hole but I wanted to have some fog as well as shown in the Depth Map Shading caption. Si I used Raytracing Shadow in my spotlight and activated the Light Fog Effect. When rendered I see the light that goes through the hole but no fog comes along (see caption Raytracing Shadow). But I know there is fog because you can see it in the Raytracing Shadow caption. For some reason, the hole is bloking the fog in Raytracing Shadow while in Depth Map Shadow it let it go through.

I want to avoid having 4 pieces of polygon to create the floor and have a hole in it. Does anyone have any idea?

Thanks
Salsero
Attached Thumbnails
Click image for larger version

Name:	rayshadows.jpg
Views:	754
Size:	63.1 KB
ID:	14999  
salsero is offline   Reply With Quote
Old 07-05-2004, 06:10 PM   #2
tariqrf
Subscriber
 
tariqrf's Avatar
 
Join Date: Jul 2002
Posts: 1,253
Thanks: 0
Thanked 11 Times in 11 Posts
Default

i am not clear about he shadow stuff but regarding the hole thingie.... try using the boolean operations... should work
__________________
:banana: :mingun: :yipee: :mingun: :bgreen: :mingun: :argue:
tariqrf is offline   Reply With Quote
Old 29-03-2011, 06:12 PM   #3
tsimonato
Registered User
 
tsimonato's Avatar
 
Join Date: Mar 2011
Location: Brasil
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

me too am with this problem
tsimonato is offline   Reply With Quote
Old 29-03-2011, 09:11 PM   #4
LauriePriest
Moderator
 
LauriePriest's Avatar
 
Join Date: May 2003
Location: London
Posts: 1,001
Thanks: 0
Thanked 59 Times in 51 Posts
Default

The problem isn't the hole, maya light fog volumes only work with Dmap shadows due to how Dmap are calculated. Essentially the volume is calculated at the same time as shadows are cast.

If your raytracing and want a fog volume in mental ray. you need to create a cube or any primative large enough to contain your fog volume in, assign a transmat shader to it, then assign a parti_volume to the volume shader on the shading group, give the color of the volume something not black and it should work.

If you go into mental ray features you might have to tweak around some settings to make it work if your camera is inside the fog bounding volume, not too sure.

This way the light will do ray marching calculations on the volume and will be visible in your renders.

Also avoid booleans... they are very messy unless your mesh is quite clean and its easy to clean up, IMO more problems than its worth.
__________________
FX supervisor - double negative
LauriePriest is offline   Reply With Quote
Old 30-03-2011, 01:49 PM   #5
tsimonato
Registered User
 
tsimonato's Avatar
 
Join Date: Mar 2011
Location: Brasil
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

I wiil go to try... Thank you
tsimonato is offline   Reply With Quote
The Following User Says Thank You to tsimonato For This Useful Post:
ligen (02-04-2011)
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

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

12 months

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