Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
a simple alpha question

a simple alpha question

2004-03-04       - By Sandy Sutherland

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Put a RayType node on the reflection sphere and set everything but reftection
to black!

S.

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
Sandy Sutherland  Digital Doodeller/Technical Director
The Refinery (Cape)  http://www.refinery.co.za
mailto:sandy@(protected)
(P) (+27 21) 480 3333  (F) (+27 21) 480 3101
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
 -- -- Original Message -- --
 From: alex dinnin
 To: XSI@(protected)
 Sent: Thursday, March 04, 2004 1:59 PM
 Subject: Re: a simple alpha question


 Thats almost it... but why are there no holes in it !!! you can still see the
reflection sphere where there should be nothing ???

 Sandy Sutherland <sandy@(protected)> wrote:
   Try adding this to your previous posted code and then look at the render
tree for the sphere!

   '++++++++++++++++ Code Starts Here
   CopyPaste , "Shaders\Texture\Image_Processing\Invert.Preset",
"TransientObjectContainer"

   CopyPaste , "Shaders\Texture\Image_Processing\Intensity.Preset",
"TransientObjectContainer"

   CopyPaste , "Shaders\Texture\Image_Processing\Intensity.Preset",
"TransientObjectContainer"

   SIConnectShaderToCnxPoint "sphere.Material.Phong.Checkerboard",
"TransientObjectContainer.Invert.input"

   SIConnectShaderToCnxPoint "TransientObjectContainer.Invert",
"TransientObjectContainer.Intensity1.input"

   SIConnectShaderToCnxPoint "TransientObjectContainer.Intensity1.Invert",
"TransientObjectContainer.Intensity.input"

   SIConnectShaderToCnxPoint "TransientObjectContainer.Intensity", "sphere
.Material.Phong.reflectivity"

   SIConnectShaderToCnxPoint "TransientObjectContainer.Intensity1", "sphere
.Material.Phong.specular"

   '+++++++++++++++Code ends here



   -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
   Sandy Sutherland  Digital Doodeller/Technical Director
   TThe Refinery (Cape)  http://www.refinery.co.za
   mailto:sandy@(protected)
   (P) (+27 21) 480 3333  (F) (+27 21) 480 3101
   -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
     -- -- Original Message -- --
     From: alex dinnin
     To: xsi@(protected)
     Sent: Thursday, March 04, 2004 12:40 PM
     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 for faster.


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
 Do you Yahoo!?
 Yahoo! Search - Find what you're looking 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.1276" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Put a RayType node on the reflection sphere and
set
everything but reftection to black!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>S.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----<BR>Sandy
Sutherland&nbsp; Digital Doodeller/Technical Director<BR>The Refinery
(Cape)&nbsp; <A
href="http://www.refinery.co.za">http://www.refinery.co.za</A><BR><A
href="mailto:sandy@(protected)">mailto:sandy@(protected)</A><BR>(P) (+27
21) 480 3333&nbsp; (F) (+27 21) 480
3101<BR>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----</DIV>
<BLOCKQUOTE
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=adinnin@(protected) href="mailto:adinnin@(protected)">alex dinnin</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, March 04, 2004 1:59
 PM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: a simple alpha
question</DIV>
 <DIV><BR></DIV>
 <DIV>Thats almost it... but why are there no holes in it !!! you can still
see
 the reflection sphere where there should be nothing ???<BR><BR><B><I>Sandy
 Sutherland &lt;<A
 href="mailto:sandy@(protected)">sandy@(protected)</A>&gt;</I></B> wrote
:

 <BLOCKQUOTE class=replbq
 style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
   <META content="MSHTML 6.00.2800.1276" name=GENERATOR>
   <STYLE></STYLE>

   <DIV><FONT face=Arial size=2>Try adding this to your previous posted code
   and then look at the render tree for the sphere!</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>'++++++++++++++++ Code Starts Here</FONT></DIV>
   <DIV><FONT face=Arial size=2><FONT size=2>
   <P>CopyPaste , "Shaders\Texture\Image_Processing\Invert.Preset",
   "TransientObjectContainer"</P>
   <P>CopyPaste , "Shaders\Texture\Image_Processing\Intensity.Preset",
   "TransientObjectContainer"</P>
   <P>CopyPaste , "Shaders\Texture\Image_Processing\Intensity.Preset",
   "TransientObjectContainer"</P>
   <P>SIConnectShaderToCnxPoint "sphere.Material.Phong.Checkerboard",
   "TransientObjectContainer.Invert.input"</P>
   <P>SIConnectShaderToCnxPoint "TransientObjectContainer.Invert",
   "TransientObjectContainer.Intensity1.input"</P>
   <P>SIConnectShaderToCnxPoint "TransientObjectContainer.Intensity1.Invert",
   "TransientObjectContainer.Intensity.input"</P>
   <P>SIConnectShaderToCnxPoint "TransientObjectContainer.Intensity",
   "sphere.Material.Phong.reflectivity"</P>
   <P>SIConnectShaderToCnxPoint "TransientObjectContainer.Intensity1",
   "sphere.Material.Phong.specular"</P>
   <P>'+++++++++++++++Code ends here</P>
   <P>&nbsp;</P></FONT></FONT></DIV>
   <DIV>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----<BR>Sandy
   Sutherland&nbsp; Digital Doodeller/Technical Director<BR>TThe Refinery
   (Cape)&nbsp; <A
   href="http://www.refinery.co.za/">http://www.refinery.co.za</A><BR><A
   href="mailto:sandy@(protected)">mailto:sandy@(protected)</A><BR>(P)
   (+27 21) 480 3333&nbsp; (F) (+27 21) 480
   3101<BR>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----</DIV>
   <BLOCKQUOTE
   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=adinnin@(protected) href="mailto:adinnin@(protected)">alex dinnin</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, March 04, 2004 12:40
     PM</DIV>
     <DIV style="FONT: 10pt arial"><B>Subject:</B> a simple alpha
question</DIV>
     <DIV><BR></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>&nbsp;Below is a simple script, I have made two spheres a small one
     and a big one for reflections</DIV>
     <DIV>I have&nbsp;plugged a&nbsp;checker texture in to control the
     transparancy !!! </DIV>
     <DIV>&nbsp;</DIV>
     <DIV><STRONG>why can I see reflections and specular where there should
     be&nbsp;clean&nbsp;holes ??????</STRONG></DIV>
     <DIV><STRONG><EM><U></U></EM></STRONG>&nbsp;</DIV>
     <DIV><STRONG><EM>Please HELP</EM></STRONG></DIV>
     <DIV><STRONG><EM><U></U></EM></STRONG>&nbsp;</DIV>
     <DIV><STRONG><EM>ALEX</EM></STRONG></DIV>
     <DIV><STRONG><EM><U></U></EM></STRONG>&nbsp;</DIV>
     <DIV><STRONG>SCRIPT STARTS HERE &gt;&gt;&gt;&gt;</STRONG></DIV>
     <DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;</DIV>
     <DIV>&nbsp;</DIV>
     <DIV>&nbsp;</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></BLOCKQUOTE></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>