SimplyMaya Forums

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

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 24-01-2008, 02:52 AM   #1
the_renans
Registered User
 
Join Date: Dec 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default blobby surface dissapear on refraction

i donīt know why, but the blobby surface particles dissapear when i put them inside or behind a material with refraction. It happens in mental ray and maya software.

I used diferent materials, but same happens.

This is not a raytrace problem, since i put the maximum atributtes in render settings!

when i change the type of the particles to sphere they work normal.

Does anybody have an idea of what is going wrong ?!
Attached Thumbnails
Click image for larger version

Name:	examples.jpg
Views:	182
Size:	29.1 KB
ID:	37971  
the_renans is offline   Reply With Quote
Old 24-01-2008, 04:07 AM   #2
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Hmm, I checked the docs, and it looks like even though you have the settings maxed, you MIGHT be getting limited.

Don't quote me on that, BUT, here is a snippet from what I've found:

Getting Started with Maya
> Rendering
> Lesson 5: Caustics

Adjusting the refraction levels

When the refraction levels are set too low, light rays do not refract through all of the surfaces enough to provide a realistic indication of a translucent surface when raytraced. This results in the object appearing opaque when it should appear translucent.

Increasing the Refractions setting allows the renderer to calculate what is seen through the surfaces of the glass by allowing the light rays to refract the correct number of times.

In the next step, you change the Refraction settings so that the bottle will appear translucent when rendered.
To increase the refraction levels

1. In the Render Settings window, select the mental ray tab and then open the Raytracing attributes.
2. In the Raytracing section set the following:
* Refractions: 6
* Max trace depth: 8

The Refractions setting sets the number of times a light ray can be refracted. When the setting is too low the ray does not penetrate through all of the surfaces. The Max Trace Depth setting limits the total Refraction and Reflection settings. By setting it to 8, you ensure that two reflection and six refraction calculations can occur.

Photons refract in a manner similar to light rays when rendering. Increasing the Refractions setting for the Caustic Photons ensures that the renderer can correctly calculate the caustics that should occur with the bottle. In this case, matching the Caustic Photon refraction settings with the Raytracing refractions is a good practice.
To increase the photon refraction settings

1. In the Render Settings window, select the mental ray tab and open the Caustics and Global Illumination section.
2. In the Photon Tracing section set the following:
* Max Photon Depth: 6
* Photon Refractions: 6

...ignore me if I'm totaly off base
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 24-01-2008, 05:14 AM   #3
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

there's also the possibility that the refraction is causing the particles not to be seen because of the strange shape and thickness of the object... it might not actually show any of the particles because through refraction you might be looking at an entirely different area than straight through the object. you'd know if this was the case if you changed the index of refraction value to closer to air or vacuum (1.000). if you change the IOR to that value, you should be able to see through to the particles, but the higher that value goes, the more distortion (or the less particles) you'll see.

that's my take on it.
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 24-01-2008, 07:50 AM   #4
mirek03
Subscriber
 
mirek03's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 2,752
Thanks: 0
Thanked 3 Times in 3 Posts
Default

visible in refractions and reflections is turned off by default for particles.., check the render settings , i forget the nodes name but it has

cast shadows
receive shadows
visible in reflections
visible in refractions
ect


not render globals.., in the AE
you know the place.., see if 'visible in refractions' is checked.
__________________
take it easy and life will be easy
mirek03 is offline   Reply With Quote
Old 24-01-2008, 01:44 PM   #5
the_renans
Registered User
 
Join Date: Dec 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey mirek03, you was right !
The blobby surface has the visible in refraction and reflection turned off for default.
It works fine.

I did not try the other answers, but Thanks for everybody.

Now i would like the particles to appear but not be refracted into the surface. Is it possible ?!

The scene is a coke pouring and the particles will be the bubbles. I used real flow with a script that change the liquid to foam when it collides. Exported the liquid as mesh and bubbles as particles. Now i'm trying to render this. The liquid i used dielectric material and for the bubbles i will use the blobby surface.

Thanks
the_renans is offline   Reply With Quote
Old 24-01-2008, 07:08 PM   #6
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Quote:
Originally posted by the_renans
Now i would like the particles to appear but not be refracted into the surface. Is it possible ?!
Render those as a separate pass, and comp them in post

And by the way, good job mirek03 catching that
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 24-01-2008, 07:21 PM   #7
the_renans
Registered User
 
Join Date: Dec 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The problem is that i donīt know how to do that!
Do you know any tutorial on render layers/render passes ?!!
the_renans is offline   Reply With Quote
Old 24-01-2008, 07:43 PM   #8
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Interesting that you asked that

http://forum.simplymaya.com/showthre...s+pass+control

Also, closer to the bottom of that thread is a video made by Alias (then) that better explains the newer features too
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 24-01-2008, 11:17 PM   #9
mirek03
Subscriber
 
mirek03's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 2,752
Thanks: 0
Thanked 3 Times in 3 Posts
Default

thanks.., it was a coincidence i watched a tut on blobby surfaces the day before .., thought it something to keep in my personal RAM
__________________
take it easy and life will be easy
mirek03 is offline   Reply With Quote
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.