Textures from surrounding object show on transparent objects

Article needs peer review

Symptom  1) Get an object and make it transparent(Get> Material>Phong>Transparency>Color) <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

2) Introduce another object that encompasses the grid and camera, inverse normals(Model>Modify>Inverse Normals) add texture(Render>Texture>Image) and turn of primary rays (so that the object does not render)

<o:p> </P> <P>Result:<o:p></o:p></P> <P>If you preview render, the texture from the second object is reflected on the first.<o:p></o:p></P></o:p>

Cause The texture of the surrounding object is called by any secondary ray and transparency is a secondary ray

Solution   <P>Select the surrounding object. Open the render tree (F7)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

1) Insert node>switch>ray_type node between phong and material surface node.<o:p></o:p>

2) Connect phong on "reflection" port and make the unconnected parameters black. This will remove the reflection of the encompassing object.<o:p></o:p>

 <o:p></o:p>

See the resulting <A href="/support/xsi/private/kb/images/rtree.jpg">Render Tree</A>



References

See the KB article titled <A href="/Support/XSI/private/kb/article.asp?ID=784">"Environment Shader is Visible through Transparent Object"</A> to find a variation of the same problem



Applies To: XSI 1.5,XSI 2.0 on NT,Win2K,Irix

Posted: 11/22/2001


This page was last modified 09:56, 22 Nov 2005.
This page has been accessed 105483 times.