Permalink
Browse files

intersect fix depthbuffer

  • Loading branch information...
1 parent c13cb16 commit 3c5b7000ebc841a1fc29d1bf738b3e31c47bf656 @elliotwoods committed Jun 3, 2012
Showing with 58 additions and 64 deletions.
  1. +58 −64 Modules/Intersect (3d Vector Ex9.Geometry Alt).v4p
@@ -1,73 +1,59 @@
<!DOCTYPE PATCH SYSTEM "http://vvvv.org/versions/vvvv45alpha28.dtd" >
- <PATCH nodename="C:\kimchiandchips\Workshops\VVVV.Tutorials.Mapping2-3D\Modules\Intersect (3d Vector Ex9.Geometry Alt).v4p" filename="C:\kimchiandchips\Workshops\VVVV.Tutorials.Mapping2-3D\Modules\Intersect (3d Vector Ex9.Geometry Alt).v4p" systemname="Intersect (3d Vector Ex9.Geometry Alt)">
- <BOUNDS height="9195" left="9420" top="5175" type="Window" width="9000">
+ <PATCH nodename="C:\kimchiandchips\Workshops\VVVV.Tutorials.Mapping2-3D\modules\Intersect (3d Vector Ex9.Geometry Alt).v4p" filename="C:\kimchiandchips\Workshops\VVVV.Tutorials.Mapping2-3D\Modules\Intersect (3d Vector Ex9.Geometry Alt).v4p" systemname="Intersect (3d Vector Ex9.Geometry Alt)">
+ <BOUNDS height="11955" left="7875" top="2040" type="Window" width="9510">
</BOUNDS>
- <NODE id="16" nodename="Inverse (Transform)" systemname="Inverse (Transform)">
- <BOUNDS height="0" left="4485" top="945" type="Node" width="0">
- </BOUNDS>
- <PIN pinname="Source" slicecount="1" visible="1" values="||">
- </PIN>
- <PIN pinname="Transform Out" visible="1">
- </PIN>
- </NODE>
<NODE componentmode="InABox" id="15" nodename="IOBox (Node)" systemname="IOBox (Node)">
- <BOUNDS height="0" left="2670" top="330" type="Node" width="0">
+ <BOUNDS height="0" left="2670" top="180" type="Node" width="0">
</BOUNDS>
<BOUNDS height="160" left="3360" top="4500" type="Window" width="215">
</BOUNDS>
- <BOUNDS height="240" left="2670" top="330" type="Box" width="795">
+ <BOUNDS height="240" left="2670" top="180" type="Box" width="795">
</BOUNDS>
<PIN pinname="Output Node" visible="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="|Transform Mesh|">
</PIN>
</NODE>
<NODE componentmode="InABox" id="14" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
- <BOUNDS height="0" left="1170" top="9975" type="Node" width="0">
+ <BOUNDS height="0" left="1170" top="10125" type="Node" width="0">
</BOUNDS>
<BOUNDS height="160" left="3450" top="4770" type="Window" width="215">
</BOUNDS>
- <BOUNDS height="240" left="1170" top="9975" type="Box" width="795">
+ <BOUNDS height="240" left="1170" top="10125" type="Box" width="795">
</BOUNDS>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="|Mouse Over|">
</PIN>
<PIN pinname="Y Input Value" visible="1">
</PIN>
</NODE>
<NODE componentmode="InABox" id="13" nodename="IOBox (Node)" systemname="IOBox (Node)">
- <BOUNDS height="0" left="5850" top="255" type="Node" width="0">
+ <BOUNDS height="0" left="4815" top="810" type="Node" width="0">
</BOUNDS>
<BOUNDS height="160" left="3660" top="4800" type="Window" width="215">
</BOUNDS>
- <BOUNDS height="240" left="5850" top="255" type="Box" width="795">
+ <BOUNDS height="240" left="4815" top="810" type="Box" width="795">
</BOUNDS>
<PIN pinname="Output Node" visible="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="|View Projection|">
</PIN>
</NODE>
- <LINK dstnodeid="16" dstpinname="Source" linkstyle="Bezier" srcnodeid="13" srcpinname="Output Node">
- <LINKPOINT x="5880" y="735">
- </LINKPOINT>
- <LINKPOINT x="5115" y="735">
- </LINKPOINT>
- </LINK>
<NODE componentmode="InABox" id="2" nodename="IOBox (Node)" systemname="IOBox (Node)">
- <BOUNDS height="0" left="3840" top="330" type="Node" width="0">
+ <BOUNDS height="0" left="3840" top="180" type="Node" width="0">
</BOUNDS>
<BOUNDS height="160" left="2310" top="5640" type="Window" width="215">
</BOUNDS>
- <BOUNDS height="240" left="3840" top="330" type="Box" width="795">
+ <BOUNDS height="240" left="3840" top="180" type="Box" width="795">
</BOUNDS>
<PIN pinname="Output Node" visible="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Mesh">
</PIN>
</NODE>
<NODE componentmode="InABox" id="18" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
- <BOUNDS height="100" left="510" top="405" type="Node" width="100">
+ <BOUNDS height="100" left="1410" top="180" type="Node" width="100">
</BOUNDS>
- <BOUNDS height="705" left="510" top="405" type="Box" width="810">
+ <BOUNDS height="705" left="1410" top="180" type="Box" width="810">
</BOUNDS>
<PIN pinname="Rows" slicecount="1" values="3">
</PIN>
@@ -82,20 +68,6 @@
<PIN pinname="Y Output Value" visible="1">
</PIN>
</NODE>
- <NODE componentmode="InABox" id="20" nodename="IOBox (String)" systemname="IOBox (String)">
- <BOUNDS height="270" left="0" top="0" type="Node" width="3060">
- </BOUNDS>
- <BOUNDS height="270" left="0" top="0" type="Box" width="3060">
- </BOUNDS>
- <PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|//adapted from Button (3d mesh) module|">
- </PIN>
- <PIN pinname="Output String" visible="0">
- </PIN>
- <PIN pinname="Show Grid" slicecount="1" values="0">
- </PIN>
- <PIN pinname="String Type" slicecount="1" values="MultiLine">
- </PIN>
- </NODE>
<NODE id="17" nodename="Translate (Transform Vector)" systemname="Translate (Transform Vector)">
<BOUNDS height="0" left="390" top="1890" type="Node" width="0">
</BOUNDS>
@@ -113,9 +85,9 @@
</PIN>
</NODE>
<NODE componentmode="InABox" id="21" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
- <BOUNDS height="0" left="3000" top="9390" type="Node" width="0">
+ <BOUNDS height="0" left="3000" top="10125" type="Node" width="0">
</BOUNDS>
- <BOUNDS height="720" left="3000" top="9390" type="Box" width="795">
+ <BOUNDS height="720" left="3000" top="10125" type="Box" width="795">
</BOUNDS>
<PIN encoded="0" pinname="Units" slicecount="1" values="||">
</PIN>
@@ -147,9 +119,11 @@
</PIN>
<PIN pinname="Background Color" visible="1" slicecount="1" values="|0.00000,0.00000,0.00000,0.00000|">
</PIN>
+ <PIN pinname="Windowed Depthbuffer Format" slicecount="1" values="D16">
+ </PIN>
</NODE>
<NODE systemname="XYZ (EX9.Effect)" filename="effects\XYZ.fx" nodename="XYZ (EX9.Effect)" componentmode="Hidden" id="24">
- <BOUNDS type="Node" left="3000" top="2835" width="100" height="100">
+ <BOUNDS type="Node" left="3000" top="2835" width="5955" height="270">
</BOUNDS>
<PIN pinname="Mesh" visible="1" slicecount="1" values="||">
</PIN>
@@ -164,12 +138,16 @@
</NODE>
<LINK srcnodeid="2" srcpinname="Output Node" dstnodeid="24" dstpinname="Mesh">
</LINK>
- <LINK srcnodeid="15" srcpinname="Output Node" dstnodeid="24" dstpinname="Transform">
+ <LINK srcnodeid="15" srcpinname="Output Node" dstnodeid="24" dstpinname="Transform" linkstyle="Bezier">
+ <LINKPOINT x="2730" y="1620">
+ </LINKPOINT>
+ <LINKPOINT x="4680" y="1620">
+ </LINKPOINT>
</LINK>
<LINK srcnodeid="13" srcpinname="Output Node" dstnodeid="23" dstpinname="View">
</LINK>
<NODE systemname="Scale (Transform)" nodename="Scale (Transform)" componentmode="Hidden" id="25">
- <BOUNDS type="Node" left="5085" top="2925" width="100" height="100">
+ <BOUNDS type="Node" left="375" top="1500" width="100" height="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
@@ -181,9 +159,9 @@
</PIN>
</NODE>
<NODE systemname="IOBox (Value Advanced)" nodename="IOBox (Value Advanced)" componentmode="InABox" id="26">
- <BOUNDS type="Node" left="5580" top="2280" width="100" height="100">
+ <BOUNDS type="Node" left="570" top="1125" width="100" height="100">
</BOUNDS>
- <BOUNDS type="Box" left="5580" top="2280" width="795" height="240">
+ <BOUNDS type="Box" left="570" top="1125" width="795" height="240">
</BOUNDS>
<PIN pinname="Y Output Value" visible="1">
</PIN>
@@ -235,7 +213,7 @@
</PIN>
<PIN pinname="Y Input Value" slicecount="1" values="16">
</PIN>
- <PIN pinname="Descriptive Name" slicecount="1" values="||" encoded="0">
+ <PIN pinname="Descriptive Name" slicecount="1" encoded="0" values="||">
</PIN>
</NODE>
<LINK srcnodeid="29" srcpinname="Y Output Value" dstnodeid="27" dstpinname="Width">
@@ -271,7 +249,7 @@
<LINK srcnodeid="30" srcpinname="Color" dstnodeid="31" dstpinname="Input">
</LINK>
<NODE systemname="Vector (3d Join)" nodename="Vector (3d Join)" componentmode="Hidden" id="32">
- <BOUNDS type="Node" left="2985" top="8190" width="100" height="100">
+ <BOUNDS type="Node" left="2985" top="8190" width="660" height="270">
</BOUNDS>
<PIN pinname="X" visible="1">
</PIN>
@@ -289,7 +267,7 @@
<LINK srcnodeid="31" srcpinname="Blue" dstnodeid="32" dstpinname="Z">
</LINK>
<NODE systemname="EQ (Value)" nodename="EQ (Value)" componentmode="Hidden" id="34">
- <BOUNDS type="Node" left="1155" top="8580" width="100" height="100">
+ <BOUNDS type="Node" left="1155" top="8730" width="100" height="100">
</BOUNDS>
<PIN pinname="Input 1" visible="1">
</PIN>
@@ -300,7 +278,11 @@
<PIN pinname="Output" visible="1">
</PIN>
</NODE>
- <LINK srcnodeid="32" srcpinname="XYZ" dstnodeid="34" dstpinname="Input 1">
+ <LINK srcnodeid="32" srcpinname="XYZ" dstnodeid="34" dstpinname="Input 1" linkstyle="VHV">
+ <LINKPOINT x="2985" y="8580">
+ </LINKPOINT>
+ <LINKPOINT x="1215" y="8580">
+ </LINKPOINT>
</LINK>
<NODE systemname="IOBox (Value Advanced)" nodename="IOBox (Value Advanced)" componentmode="InABox" id="35">
<BOUNDS type="Node" left="1365" top="7695" width="100" height="100">
@@ -313,7 +295,7 @@
</PIN>
<PIN pinname="Vector Size" slicecount="1" values="3">
</PIN>
- <PIN pinname="Default" slicecount="1" values="|0, 0, 0|" encoded="0">
+ <PIN pinname="Default" slicecount="1" encoded="0" values="|0, 0, 0|">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
@@ -349,7 +331,7 @@
<LINK srcnodeid="18" srcpinname="Y Output Value" dstnodeid="36" dstpinname="Input 2">
</LINK>
<NODE systemname="AND (Boolean Spectral)" nodename="AND (Boolean Spectral)" componentmode="Hidden" id="38">
- <BOUNDS type="Node" left="1170" top="9090" width="100" height="100">
+ <BOUNDS type="Node" left="1170" top="9240" width="100" height="100">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
@@ -359,7 +341,7 @@
<LINK srcnodeid="34" srcpinname="Output" dstnodeid="38" dstpinname="Input">
</LINK>
<NODE systemname="NOT (Boolean)" nodename="NOT (Boolean)" componentmode="Hidden" id="44">
- <BOUNDS type="Node" left="1170" top="9510" width="100" height="100">
+ <BOUNDS type="Node" left="1170" top="9660" width="100" height="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
@@ -371,35 +353,35 @@
<LINK srcnodeid="38" srcpinname="Output" dstnodeid="44" dstpinname="Input">
</LINK>
<NODE systemname="IOBox (Value Advanced)" nodename="IOBox (Value Advanced)" componentmode="InABox" id="45">
- <BOUNDS type="Node" left="6960" top="690" width="100" height="100">
+ <BOUNDS type="Node" left="5535" top="180" width="100" height="100">
</BOUNDS>
- <BOUNDS type="Box" left="6960" top="690" width="795" height="240">
+ <BOUNDS type="Box" left="5535" top="180" width="795" height="240">
</BOUNDS>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN pinname="Y Input Value" slicecount="1" values="-16">
</PIN>
- <PIN pinname="Descriptive Name" slicecount="1" values="|minimum XYZ|" encoded="0">
+ <PIN pinname="Descriptive Name" slicecount="1" encoded="0" values="|minimum XYZ|">
</PIN>
</NODE>
<LINK srcnodeid="45" srcpinname="Y Output Value" dstnodeid="24" dstpinname="minimum XYZ">
</LINK>
<NODE systemname="IOBox (Value Advanced)" nodename="IOBox (Value Advanced)" componentmode="InABox" id="46">
- <BOUNDS type="Node" left="7845" top="660" width="100" height="100">
+ <BOUNDS type="Node" left="6390" top="810" width="100" height="100">
</BOUNDS>
- <BOUNDS type="Box" left="7845" top="660" width="795" height="240">
+ <BOUNDS type="Box" left="6390" top="810" width="795" height="240">
</BOUNDS>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN pinname="Y Input Value" slicecount="1" values="16">
</PIN>
- <PIN pinname="Descriptive Name" slicecount="1" values="|maximum XYZ|" encoded="0">
+ <PIN pinname="Descriptive Name" slicecount="1" encoded="0" values="|maximum XYZ|">
</PIN>
</NODE>
<LINK srcnodeid="46" srcpinname="Y Output Value" dstnodeid="24" dstpinname="maximum XYZ">
</LINK>
<NODE systemname="Map (Value)" nodename="Map (Value)" componentmode="Hidden" id="47">
- <BOUNDS type="Node" left="3000" top="8640" width="100" height="100">
+ <BOUNDS type="Node" left="3000" top="8730" width="100" height="100">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
@@ -412,13 +394,25 @@
</NODE>
<LINK srcnodeid="32" srcpinname="XYZ" dstnodeid="47" dstpinname="Input">
</LINK>
- <LINK srcnodeid="45" srcpinname="Y Output Value" dstnodeid="47" dstpinname="Destination Minimum">
+ <LINK srcnodeid="45" srcpinname="Y Output Value" dstnodeid="47" dstpinname="Destination Minimum" linkstyle="Bezier" hiddenwhenlocked="1">
+ <LINKPOINT x="6010" y="4400">
+ </LINKPOINT>
+ <LINKPOINT x="3065" y="4615">
+ </LINKPOINT>
</LINK>
- <LINK srcnodeid="46" srcpinname="Y Output Value" dstnodeid="47" dstpinname="Destination Maximum">
+ <LINK srcnodeid="46" srcpinname="Y Output Value" dstnodeid="47" dstpinname="Destination Maximum" linkstyle="Bezier" hiddenwhenlocked="1">
+ <LINKPOINT x="6875" y="4785">
+ </LINKPOINT>
+ <LINKPOINT x="3235" y="4800">
+ </LINKPOINT>
</LINK>
<LINK srcnodeid="47" srcpinname="Output" dstnodeid="21" dstpinname="Y Input Value">
</LINK>
- <LINK srcnodeid="17" srcpinname="Transform Out" dstnodeid="23" dstpinname="Projection">
+ <LINK srcnodeid="17" srcpinname="Transform Out" dstnodeid="23" dstpinname="Projection" linkstyle="Bezier">
+ <LINKPOINT x="450" y="2798">
+ </LINKPOINT>
+ <LINKPOINT x="5085" y="2798">
+ </LINKPOINT>
</LINK>
<LINK srcnodeid="25" srcpinname="Transform Out" dstnodeid="17" dstpinname="Transform In">
</LINK>

0 comments on commit 3c5b700

Please sign in to comment.