mia_material_x_passes Transparency problem

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 07 July 2011   #1
mia_material_x_passes Transparency problem

Hello, please find the attachments,

in the scene there is a glass tin material (mia_material_x_passes) and a blin material + a miss_fast_skin mat , the problem is the transparency just doesnt work and I searched alot to fix it but no result,

I appreciated if someone find a direct and quick solution , thanks
Attached Images
File Type: jpg error.jpg (82.3 KB, 36 views)
Attached Files
File Type: zip miss_mat_error.zip (192.5 KB, 3 views)

Last edited by avak : 07 July 2011 at 05:04 PM. Reason: adding snap shot
 
Old 07 July 2011   #2
Great a plane and put it behind your glass objects. Turn off primary visibilty, casts shadows and visible in reflections in the shape node. Put a 'Use Background' shader on it and turn 'off' reflectivity and put spec to black that should work.

edit: sorry i didnt look at your pic this is if you want the transparency to show up in the alpha. Maybe check if your object that isnt showing up has visible in refractions under Render Stats on the shape node of the object.

Last edited by Sebastianf : 07 July 2011 at 01:29 AM.
 
Old 07 July 2011   #3
Originally Posted by Sebastianf: edit: sorry i didnt look at your pic this is if you want the transparency to show up in the alpha. Maybe check if your object that isnt showing up has visible in refractions under Render Stats on the shape node of the object.


Yeah, that's exactly his problem, took a look. It's also not set to be visible in reflections either.

To further clarify for him:
Select your Object, go to the "polySphere1Shape" tab in your Attribute Editor, and scroll down to "Render Stats". Turn on Visible in Refractions and Reflections.
 
Old 07 July 2011   #4
Thanks Kakkoii i didnt get a chance to open the file.
 
Old 07 July 2011   #5
Hey thanks for your reply, actuality I imported this sphere (right one) from zbrush while I was testing , the format was obj.
I just did some other test and yeah all meshes that are importing by a obj format then their (visible in reflection and refraction) becomes automatically off . should be a bug
 
Old 07 July 2011   #6
This is not a bug; this is how Maya has behaved with the .obj file format since the dawn of time. I believe at some point it had to do with backwards compatibility, from Maya 4.0 or something. But it's not strange that any .obj you import is set this way. Just make a quick shelf script to set selected objects to turn both on, or if you have tons of objects (like I do every day) you can just go into the Attribute Spreadsheet, Render tab, and change them all at once.

Sure it's totally stupid that Maya behaves this way, but it's always been like that.
__________________
Commodore 64 @ 1MHz
64KB RAM
1541 Floppy Drive


"Like stone we battle the wind... Beat down and strangle the rains..."
 
Old 07 July 2011   #7
Good to know about all these,
ok so I need a fast command to speed up this processes.
suppose we selected few objects and run a mel command that mel should do:
1- should access to their shapes node and put them in an array
2- one by one mel should read each shapenode in that array and set it's refraction and reflection attributes 1.

here is what I wrote and of course doesn't work! since I am not a programer need your help to correct this:

$objs =`ls -sl`; for ($obj in $objs)

{

string $shapeArr[] = `listRelatives -shape $obj` ;

string $shapeNode = $shapeArr[0] ;

setAttr "$shapeNode.visibleInRefractions" 1;
setAttr "$shapeNode.visibleInRelections" 1;


};


thanks
 
Old 07 July 2011   #8
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



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
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:46 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.