Welcome to SimplyMaya

SimplyMaya.com has been teaching Maya for eleven years. We believe in teaching the fundamental principles of 3D by example. In our online library you will find more than 500 hours of video training.
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 14-04-2012, 06:01 PM   #1
karelvdz
Registered User
 
Join Date: Apr 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mental ray: Reflections (don't want inside reflection)

Hi there!

As u can see in the attached image, the back of the bubble is reflecting the text + it reflects the HDRI.

Is there a way (i think using a ramp and sampler info) to get rid of the inner reflections or get rid of the reflection at the back of the object??

Grts!
Attached Thumbnails
 
karelvdz is offline   Reply With Quote
Old 14-04-2012, 07:42 PM   #2
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Location: Toronto, Ontario, Canada
Posts: 3,157
Thanks: 34
Thanked 232 Times in 206 Posts
Default

Try deleting the back of the sphere.
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
Old 15-04-2012, 05:28 PM   #3
PixalZA
Lifetime Member
 
PixalZA's Avatar
 
Join Date: May 2011
Location: Riyadh, Saudi Arabia
Posts: 427
Thanks: 59
Thanked 49 Times in 43 Posts
Default

Quick question. Do you want any reflections on the inside of the bubbles?
PixalZA is offline   Reply With Quote
Old 15-04-2012, 07:34 PM   #4
karelvdz
Registered User
 
Join Date: Apr 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally Posted by PixalZA View Post
Quick question. Do you want any reflections on the inside of the bubbles?
That's the problem i guess. I don't want inside reflections
karelvdz is offline   Reply With Quote
Old 16-04-2012, 08:57 AM   #5
Joey81
Subscriber
 
Joey81's Avatar
 
Join Date: Jan 2010
Location: Budapest, Hungary
Posts: 245
Thanks: 2
Thanked 6 Times in 6 Posts
Default

If you re using a mia material, try to tune the Fresnel reflection under BRDF.
Joey81 is offline   Reply With Quote
Old 16-04-2012, 06:13 PM   #6
PixalZA
Lifetime Member
 
PixalZA's Avatar
 
Join Date: May 2011
Location: Riyadh, Saudi Arabia
Posts: 427
Thanks: 59
Thanked 49 Times in 43 Posts
Default

Hi karelvdz

A possible solution or a starting point for one.

Started with a standard mia_x glass material. Added a samplerinfo node, attached the "flippednormal" attribute to the first term of a condition node and mapped one of the condition node out color channels to the reflectivity parameter. I hardcoded the outcolor on the condition node to 1 if true and 0 if false.

Although the sampler/condition nodes removed the reflection on the insides, the toruses were still being reflected in adjacent bubbles. Had to set a low value for the "Use max distance" parameter under advanced reflectivity to get rid of it. The greyish edge around the bubbles are from the "End Color".

On a side track a question for the gurus on the site. I did a test where I simply turned off the "Visible in reflections" attribute on the torus shapes. The reflections of the toruses were suppressed on the inside of the bubble but they are still reflected on the outside of adjacent bubbles. What gives?
Attached Thumbnails
  
PixalZA is offline   Reply With Quote
Old 19-04-2012, 11:14 AM   #7
karelvdz
Registered User
 
Join Date: Apr 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi PixalZA,

my problem got solved using mia_material_x

I'm now having a render problem (updated both bubble & text material to mia_material_x_passes):

I've made a new renderLayer with 2 contribution maps:
- passBubble
- passText

Now when i watch my passes, i can't see anything in the text Passes.
My bubble pass shows my bubble + the text inside it.

When i move the text out of the bubble it does it correctly.

Can't see to get this fixed.

thx so far!

Originally Posted by PixalZA View Post
Hi karelvdz

A possible solution or a starting point for one.

Started with a standard mia_x glass material. Added a samplerinfo node, attached the "flippednormal" attribute to the first term of a condition node and mapped one of the condition node out color channels to the reflectivity parameter. I hardcoded the outcolor on the condition node to 1 if true and 0 if false.

Although the sampler/condition nodes removed the reflection on the insides, the toruses were still being reflected in adjacent bubbles. Had to set a low value for the "Use max distance" parameter under advanced reflectivity to get rid of it. The greyish edge around the bubbles are from the "End Color".

On a side track a question for the gurus on the site. I did a test where I simply turned off the "Visible in reflections" attribute on the torus shapes. The reflections of the toruses were suppressed on the inside of the bubble but they are still reflected on the outside of adjacent bubbles. What gives?
karelvdz is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Friday Tutorial #5: Mental Ray Approximation Editor Basic David Free Fridays 8 04-08-2012 10:19 PM
What happened to the Mental Ray? SilverFeather Maya Basics & Newbie Lounge 10 06-12-2011 11:13 PM
White background Render problem. Mental Ray Final Gather & HDRI light studio 2.0 goggles Lighting & Rendering 3 03-11-2011 06:01 PM
Mental Ray Issues fairdinkim_m8 Technical Issues 8 28-04-2011 02:19 AM
Mental Ray won't automatically load mechanicarts Mental Ray 2 19-04-2011 11:21 AM

Thread Tools





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-2014 SimplyMaya - vBulletin® Copyright © 2000-2014, Jelsoft Enterprises Ltd.