  | | | yet another limitation.. | yet another limitation.. 2004-02-26 - By Halfdan Ingvarsson
Back 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 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1255 (See http://ows-1255.ora-code.com)"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6487.1"> <TITLE>RE: yet another limitation..</TITLE> </HEAD> <BODY> <!-- 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) .com></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) .co.il></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>
</BODY> </HTML>
|
|
 |