a simple alpha question 2004-03-04 - By Andi Farhall
Back try using the reflection_inuse and specular_inuse inputs with an inverted version of the checkerboard
-- --Original Message-- -- From: alex dinnin [mailto:adinnin@(protected)] Sent: 04 March 2004 10:40 To: xsi@(protected) Subject: a simple alpha question
I'm sorry I am really going back to basics here... but I am pulling my hair out trying to crack it... and I have failed !!! Below is a simple script, I have made two spheres a small one and a big one for reflections I have plugged a checker texture in to control the transparancy !!! why can I see reflections and specular where there should be clean holes ?????? Please HELP ALEX SCRIPT STARTS HERE >>>> NewScene
CreatePrim "Sphere", "NurbsSurface"
Duplicate "sphere", , 2, 1, 1, 0, 0, 1, 0, 1, , , , , , , , , , , 0
SetValue "sphere1.sphere.radius", 50
ApplyTopoOp "Inverse", "sphere1", 3, siPersistentOperation
ApplyShader , , , , siLetLocalMaterialsOverlap
BlendInPresetsInsp , , , True, siReplaceNoBlend
SetValue "sphere1.visibility.primray", False
SetValue "sphere1.visibility.viewvis", False
SetAndToggleSelection "sphere", , True
ApplyShader , , , , siLetLocalMaterialsOverlap
CopyPaste , "Shaders\Texture\Checkerboard.Preset", "TransientObjectContainer"
SIConnectShaderToCnxPoint "TransientObjectContainer.Checkerboard", "sphere.Material.Phong.transparency"
SetValue "sphere.Material.Phong.reflectivity.red", 0.483
SetValue "sphere.Material.Phong.reflectivity.green", 0.483
SetValue "sphere.Material.Phong.reflectivity.red", 0.49
SetValue "sphere.Material.Phong.reflectivity.green", 0.49
SetValue "sphere.Material.Phong.reflectivity.red", 0.503
SetValue "sphere.Material.Phong.reflectivity.green", 0.503
SetValue "sphere.Material.Phong.reflectivity.red", 0.538
SetValue "sphere.Material.Phong.reflectivity.green", 0.538
SetValue "sphere.Material.Phong.reflectivity.red", 0.549
SetValue "sphere.Material.Phong.reflectivity.green", 0.549
SetValue "sphere.Material.Phong.reflectivity.red", 0.51
SetValue "sphere.Material.Phong.reflectivity.green", 0.51
SetValue "sphere.Material.Phong.reflectivity.red", 0.497
SetValue "sphere.Material.Phong.reflectivity.green", 0.493
SetValue "sphere.Material.Phong.reflectivity.red", 0.486
SetValue "sphere.Material.Phong.reflectivity.green", 0.486
SetValue "sphere.Material.Phong.reflectivity.red", 0.503
SetValue "sphere.Material.Phong.reflectivity.green", 0.503
SetValue "sphere.Material.Phong.reflectivity.red", 0.507
SetValue "sphere.Material.Phong.reflectivity.green", 0.507
SetValue "sphere.Material.Phong.reflectivity.red", 0.503
SetValue "sphere.Material.Phong.reflectivity.green", 0.503
SetValue "sphere.Material.Phong.reflectivity.red", 0.5
SetValue "sphere.Material.Phong.reflectivity.green", 0.5
SetValue "sphere.Material.Phong.reflectivity.blue", 0.5
CreateProjection "sphere", siTxtUV, siTxtDefaultPlanarXY, , "Texture_Projection"
SelectObj "sphere1"
CreateProjection "sphere1", siTxtUV, siTxtDefaultSpherical, "Texture_Support", "Texture_Projection"
SetInstanceDataValue , "sphere1.Material.Phong.Image.tspace_id", "Texture_Projection"
__ __
Do you Yahoo!? Yahoo! Search - Find what you're looking <http://search.yahoo.com/?fr=ad-mailsig-home> for faster.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=031332412-04032004><FONT face=Arial color=#0000ff size=2>try using the reflection_inuse and specular_inuse inputs with an inverted version of the checkerboard</FONT></SPAN></DIV> <BLOCKQUOTE> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> alex dinnin [mailto:adinnin@(protected)]<BR><B>Sent:</B> 04 March 2004 10:40<BR><B>To:</B> xsi@(protected)<BR><B>Subject:</B> a simple alpha question<BR><BR></FONT></DIV> <DIV>I'm sorry I am really going back to basics here... but I am pulling my hair out trying to crack it... and I have failed !!!</DIV> <DIV> Below is a simple script, I have made two spheres a small one and a big one for reflections</DIV> <DIV>I have plugged a checker texture in to control the transparancy !!! </DIV> <DIV> </DIV> <DIV><STRONG>why can I see reflections and specular where there should be clean holes ??????</STRONG></DIV> <DIV><STRONG><EM><U></U></EM></STRONG> </DIV> <DIV><STRONG><EM>Please HELP</EM></STRONG></DIV> <DIV><STRONG><EM><U></U></EM></STRONG> </DIV> <DIV><STRONG><EM>ALEX</EM></STRONG></DIV> <DIV><STRONG><EM><U></U></EM></STRONG> </DIV> <DIV><STRONG>SCRIPT STARTS HERE >>>></STRONG></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>NewScene</DIV> <DIV> <P>CreatePrim "Sphere", "NurbsSurface"</P> <P>Duplicate "sphere", , 2, 1, 1, 0, 0, 1, 0, 1, , , , , , , , , , , 0</P> <P>SetValue "sphere1.sphere.radius", 50</P> <P>ApplyTopoOp "Inverse", "sphere1", 3, siPersistentOperation</P> <P>ApplyShader , , , , siLetLocalMaterialsOverlap</P> <P>BlendInPresetsInsp , , , True, siReplaceNoBlend</P> <P>SetValue "sphere1.visibility.primray", False</P> <P>SetValue "sphere1.visibility.viewvis", False</P> <P>SetAndToggleSelection "sphere", , True</P> <P>ApplyShader , , , , siLetLocalMaterialsOverlap</P> <P>CopyPaste , "Shaders\Texture\Checkerboard.Preset", "TransientObjectContainer"</P> <P>SIConnectShaderToCnxPoint "TransientObjectContainer.Checkerboard", "sphere.Material.Phong.transparency"</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.483</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.483</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.49</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.49</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.503</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.503</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.538</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.538</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.549</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.549</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.51</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.51</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.497</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.493</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.486</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.486</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.503</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.503</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.507</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.507</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.503</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.503</P> <P>SetValue "sphere.Material.Phong.reflectivity.red", 0.5</P> <P>SetValue "sphere.Material.Phong.reflectivity.green", 0.5</P> <P>SetValue "sphere.Material.Phong.reflectivity.blue", 0.5</P> <P>CreateProjection "sphere", siTxtUV, siTxtDefaultPlanarXY, , "Texture_Projection"</P> <P>SelectObj "sphere1"</P> <P>CreateProjection "sphere1", siTxtUV, siTxtDefaultSpherical, "Texture_Support", "Texture_Projection"</P> <P>SetInstanceDataValue , "sphere1.Material.Phong.Image.tspace_id", "Texture_Projection"</P></FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <P> <HR SIZE=1> Do you Yahoo!?<BR>Yahoo! Search - <A href="http://search.yahoo.com/?fr=ad-mailsig-home">Find what you're looking for faster.</A></BLOCKQUOTE></BODY></HTML>
|
|