  | | | yet another limitation.. | yet another limitation.. 2004-02-26 - By Oz Adi
Back RE: yet another limitation..ok.. now i am bit confused...
Francois showed an example which seems similar to my render tree setup.. and it works..
i didnt plug the flower into the transperancy of phong4, because I wanted to have a different material for the flower.. at first I even used a lambert node, cause i didnt want any specular.. This is just an excersize I gave my intern.. it's not for a real project... I will try the ray_type again, on a new scene.. seems weird it works in Francois's example and not in mine ..
anyway thanks for all who helped!
cheers, Oz www.coolcalb.com
-- -- Original Message -- -- From: Halfdan Ingvarsson To: XSI@(protected) Sent: Thursday, February 26, 2004 8:03 PM Subject: RE: yet another limitation..
It's a bit of a bummer. The shadow color is changed as a side-effect so it will not work with mixing.
Most shading works by returning a color but shadowing is different with mental ray as it gives a color which is supposed to get modified.
Why don't you instead mix the alpha of the flower image with the transparency input of Phong4?
- ½
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of Oz Adi Sent: Thursday, 26 February, 2004 12:05 To: XSI@(protected) Subject: Re: yet another limitation..
I tried using the ray_type node, no luck there either :)
here's a few images to show the problem:
http://www.coolcalb.com/~oadi/pix/shadow.jpg
it's not for a project, I am teaching an intern, and she asked me why the shadow went dark and opaque.. I still cant figure it up :)
If I am doing things right, it looks like a mental ray limitation.. (3.2) or maybe it's my mental limitation hehe..
-- -- Original Message -- -- From: "Fran?ois Giard" <francois@(protected)> To: <XSI@(protected)> Sent: Thursday, February 26, 2004 6:20 PM Subject: Re: yet another limitation..
> Hi Oz, > put a ray type switch between your mix2 and shadow input ... > hope this help > -- -- Original Message -- -- > From: "Oz Adi" <oz@(protected)> > To: <XSI@(protected)> > Sent: Thursday, February 26, 2004 10:58 AM > Subject: Re: yet another limitation.. > > > > it's already high.. > > > > it's set to 4, and when the transparent phong is connected directly to the > > shadow, > > the shadow looks ok, it looks transparent. when I connect the mix2colors > > output to the shadow, it seems > > like xsi dont know to use the mixed data, to determine where the shadow > > should be opaque and where its transparent. > > (I got an opaque sticker mixed onto the glass model) > > > > > > > > -- -- Original Message -- -- > > From: "Bernard Lebel" <atyss4si@(protected)> > > To: <XSI@(protected)> > > Sent: Thursday, February 26, 2004 5:46 PM > > Subject: RE: yet another limitation.. > > > > > > > Make sure the refraction trace depth is high enough (at least 4). > > > > > > > > > Cheers > > > Bernard > > > > > > > > > > > > http://www.bernardlebel.com > > > http://www.xsimontreal.com > > > http://www.xsibase.com > > > > > > > > > > > > > > > > > > >From: "Oz Adi" <oz@(protected)> > > > >Reply-To: XSI@(protected) > > > >To: <XSI@(protected)> > > > >Subject: yet another limitation.. > > > >Date: Thu, 26 Feb 2004 16:35:07 +0200 > > > > > > > > > > > >looks like a mental ray limitation.. > > > > > > > >I got a transparent glass. (phong) and it has a red opaque sticker on > > part > > > >of it. (lambert) > > > >I mixed those two, using a mix2colors that is connected to the surface > > and > > > >shadow of the material, > > > >the phong goes to the base-color, and the lambert goes to color1.. the > > > >sticker's alpha goes to the wheight > > > >to determine where on the surfaces, it's a transparent phong, and > where's > > > >the opaque lambert.. > > > > > > > >the problem is with the shadow it casts on the floor.. > > > >If i connect the transparent phong to the Material's shadow, the shadow > > is > > > >coorect for the glass, it is very light > > > >depending on the thickness of the glass.. but if I connect the > mix2color > > > >output to the Material's shadow, > > > >I expect the shadow to be light and transparent where it's phong, and > > > >opaque where it's a lambert material.. > > > >but xsi renders all of the shadow opaque... > > > > > > > >is this a know bug/limitation? is there a workaround for that? > > > > > > > >cheers, > > > > > > > >Oz > > > >www.coolcalb.com > > > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ > > > Protect your PC - get McAfee.com VirusScan Online > > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > --- > > > Unsubscribe? Mail Majordomo@(protected) with the following text in > body: > > > unsubscribe xsi > > > > > > > --- > > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > > unsubscribe xsi > > > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>RE: yet another limitation..</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1255 (See http://ows-1255.ora-code.com)"> <META content="MSHTML 6.00.2800.1276" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>ok.. now i am bit confused...</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Francois showed an example which seems similar to my render tree setup.. and it works..</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>i didnt plug the flower into the transperancy of phong4, because I wanted to have a different material for the flower..</FONT></DIV> <DIV><FONT face=Arial size=2>at first I even used a lambert node, cause i didnt want any specular..</FONT></DIV> <DIV><FONT face=Arial size=2>This is just an excersize I gave my intern.. it's not for a real project... </FONT></DIV> <DIV><FONT face=Arial size=2>I will try the ray_type again, on a new scene.. seems weird it works in Francois's example and not in mine ..</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>anyway thanks for all who helped!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>cheers,</FONT></DIV> <DIV><FONT face=Arial size=2>Oz</FONT></DIV> <DIV><FONT face=Arial size=2><A href="http://www.coolcalb.com">www.coolcalb.com</A></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=hingvars@(protected) href="mailto:hingvars@(protected)">Halfdan Ingvarsson</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 26, 2004 8:03 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: yet another limitation..</DIV> <DIV><BR></DIV><!-- Converted from text/plain format --> <P><FONT size=2>It's a bit of a bummer. The shadow color is changed as a side-effect so it will not work with mixing.</FONT> </P> <P><FONT size=2>Most shading works by returning a color but shadowing is different with mental ray as it gives a color which is supposed to get modified.</FONT></P> <P><FONT size=2>Why don't you instead mix the alpha of the flower image with the transparency input of Phong4?</FONT> </P> <P><FONT size=2>- ½</FONT> </P> <P><FONT size=2>-- --Original Message-- --</FONT> <BR><FONT size=2>From: owner-xsi@(protected) [<A href="mailto:owner-xsi@(protected)">mailto:owner-xsi@(protected)</A>]On Behalf</FONT> <BR><FONT size=2>Of Oz Adi</FONT> <BR><FONT size=2>Sent: Thursday, 26 February, 2004 12:05</FONT> <BR><FONT size=2>To: XSI@(protected)</FONT> <BR><FONT size=2>Subject: Re: yet another limitation..</FONT> </P><BR> <P><FONT size=2>I tried using the ray_type node, no luck there either :)</FONT> </P> <P><FONT size=2>here's a few images to show the problem:</FONT> </P> <P><FONT size=2><A href="http://www.coolcalb.com/~oadi/pix/shadow.jpg">http://www.coolcalb.com/ ~oadi/pix/shadow.jpg</A></FONT> </P> <P><FONT size=2>it's not for a project, I am teaching an intern, and she asked me why the</FONT> <BR><FONT size=2>shadow went dark and opaque..</FONT> <BR><FONT size=2>I still cant figure it up :)</FONT> </P> <P><FONT size=2>If I am doing things right, it looks like a mental ray limitation.. (3.2)</FONT> <BR><FONT size=2>or maybe it's my mental limitation hehe..</FONT> </P><BR><BR><BR> <P><FONT size=2>-- -- Original Message -- -- </FONT><BR><FONT size=2>From: "Fran?ois Giard" <francois@(protected)></FONT> <BR><FONT size=2>To: <XSI@(protected)></FONT> <BR><FONT size=2>Sent: Thursday, February 26 , 2004 6:20 PM</FONT> <BR><FONT size=2>Subject: Re: yet another limitation..</FONT> </P><BR> <P><FONT size=2>> Hi Oz,</FONT> <BR><FONT size=2>> put a ray type switch between your mix2 and shadow input ...</FONT> <BR><FONT size=2>> hope this help</FONT> <BR><FONT size=2>> -- -- Original Message -- -- </FONT><BR><FONT size=2>> From: "Oz Adi" <oz@(protected)></FONT> <BR><FONT size=2>> To: <XSI@(protected)></FONT> <BR><FONT size=2>> Sent: Thursday, February 26, 2004 10:58 AM</FONT> <BR><FONT size=2>> Subject: Re: yet another limitation..</FONT> <BR><FONT size=2>></FONT> <BR><FONT size=2>></FONT> <BR><FONT size=2>> > it's already high..</FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>> > it's set to 4, and when the transparent phong is connected directly to</FONT> <BR><FONT size=2>the</FONT> <BR><FONT size=2>> > shadow,</FONT> <BR><FONT size=2>> > the shadow looks ok, it looks transparent. when I connect the mix2colors</FONT> <BR><FONT size=2>> > output to the shadow, it seems</FONT> <BR><FONT size=2>> > like xsi dont know to use the mixed data, to determine where the shadow</FONT> <BR><FONT size=2>> > should be opaque and where its transparent.</FONT> <BR><FONT size=2>> > (I got an opaque sticker mixed onto the glass model)</FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>> > -- -- Original Message -- -- </FONT><BR><FONT size=2>> > From: "Bernard Lebel" <atyss4si@(protected)></FONT> <BR><FONT size=2>> > To: <XSI@(protected)></FONT> <BR><FONT size=2>> > Sent: Thursday, February 26, 2004 5:46 PM</FONT> <BR><FONT size=2>> > Subject: RE: yet another limitation..</FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>> > > Make sure the refraction trace depth is high enough (at least 4).</FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > > Cheers</FONT> <BR><FONT size=2>> > > Bernard</FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > > <A href="http://www.bernardlebel.com">http://www.bernardlebel.com</A></FONT> <BR><FONT size=2>> > > <A href="http://www.xsimontreal.com">http://www.xsimontreal.com</A></FONT> <BR><FONT size=2>> > > <A href="http://www.xsibase.com">http://www.xsibase.com</A></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > > >From: "Oz Adi" <oz@(protected)></FONT> <BR><FONT size=2>> > > >Reply-To: XSI@(protected)</FONT> <BR><FONT size=2>> > > >To : <XSI@(protected)></FONT> <BR><FONT size=2>> > > >Subject: yet another limitation..</FONT> <BR><FONT size=2>> > > >Date: Thu , 26 Feb 2004 16:35:07 +0200</FONT> <BR><FONT size=2>> > > ></FONT> <BR><FONT size=2>> > > ></FONT> <BR><FONT size=2>> > > >looks like a mental ray limitation..</FONT> <BR><FONT size=2>> > > ></FONT> <BR><FONT size=2>> > > >I got a transparent glass. (phong) and it has a red opaque sticker</FONT> <BR><FONT size=2>on</FONT> <BR><FONT size=2>> > part</FONT> <BR><FONT size=2>> > > >of it. (lambert)</FONT> <BR><FONT size=2>> > > >I mixed those two, using a mix2colors that is connected to the</FONT> <BR><FONT size=2>surface</FONT> <BR><FONT size=2>> > and</FONT> <BR><FONT size=2>> > > >shadow of the material,</FONT> <BR><FONT size=2>> ; > > >the phong goes to the base-color, and the lambert goes to color1..</FONT> <BR><FONT size=2>the</FONT> <BR><FONT size=2>> > > >sticker's alpha goes to the wheight</FONT> <BR><FONT size=2>> > > ; >to determine where on the surfaces, it's a transparent phong, and</FONT> <BR><FONT size=2>> where's</FONT> <BR><FONT size=2>> > > >the opaque lambert..</FONT> <BR><FONT size=2>> > > ></FONT> <BR><FONT size=2>> > > >the problem is with the shadow it casts on the floor..</FONT> <BR><FONT size=2>> > > >If i connect the transparent phong to the Material's shadow, the</FONT> <BR><FONT size=2>shadow</FONT> <BR><FONT size=2>> > is</FONT> <BR><FONT size=2>> > > >coorect for the glass, it is very light</FONT> <BR><FONT size=2>> > > >depending on the thickness of the glass.. but if I connect the</FONT> <BR><FONT size=2>> mix2color</FONT> <BR><FONT size=2>> > > >output to the Material's shadow,</FONT> <BR><FONT size=2>> > > >I expect the shadow to be light and transparent where it's phong, and</FONT> <BR><FONT size=2>> > > >opaque where it's a lambert material..</FONT> <BR><FONT size=2>> > > >but xsi renders all of the shadow opaque...</FONT> <BR><FONT size=2>> > > ></FONT> <BR><FONT size=2>> > > >is this a know bug/limitation ? is there a workaround for that?</FONT> <BR><FONT size=2>> > > ></FONT> <BR><FONT size=2>> > > >cheers,</FONT> <BR><FONT size=2>> > > ></FONT> <BR><FONT size=2>> > > >Oz</FONT> <BR><FONT size=2>> > > >www.coolcalb.com</FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __</FONT> <BR><FONT size=2>> > > Protect your PC - get McAfee.com VirusScan Online</FONT> <BR><FONT size=2>> > > <A href="http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963">http:/ /clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963</A></FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> > > ---</FONT> <BR><FONT size=2>> > > Unsubscribe? Mail Majordomo@(protected) with the following text in</FONT> <BR><FONT size=2>> body:</FONT> <BR><FONT size=2>> > > unsubscribe xsi</FONT> <BR><FONT size=2>> > ></FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>> > ---</FONT> <BR><FONT size=2>> > Unsubscribe? Mail Majordomo@(protected) with the following text in</FONT> <BR><FONT size=2>body:</FONT> <BR><FONT size=2>> > unsubscribe xsi</FONT> <BR><FONT size=2>> ></FONT> <BR><FONT size=2>></FONT> <BR><FONT size=2>> ---</FONT> <BR><FONT size=2>> Unsubscribe? Mail Majordomo@(protected) with the following text in body:</FONT> <BR><FONT size=2>> unsubscribe xsi</FONT> <BR><FONT size=2>></FONT> </P> <P><FONT size=2>---</FONT> <BR><FONT size=2>Unsubscribe? Mail Majordomo@(protected) with the following text in body:</FONT> <BR><FONT size=2>unsubscribe xsi</FONT> </P></BLOCKQUOTE></BODY></HTML>
|
|
 |