Mark Lasersohn (laser++at++cowhouse.com)
Thu, 24 Jul 1997 17:46:28 -0400
--Yup, it works as you described (Crimson VGXT) running Performer 2.0 - but I fixed it by using a explicit Material statement, instead of referencing a material declared earlier.
#Inventor V2.0 ascii
DEF ROOT Separator { Coordinate3 { point [ 1.0000000000 0.0000000000 -1.0000000000, -0.0000000437 1.0000000000 -1.0000000000, -1.0000000000 -0.0000000874 -1.0000000000, 0.0000000119 -1.0000000000 -1.0000000000, 1.0000000000 0.0000000000 1.0000000000, -0.0000000437 1.0000000000 1.0000000000, -1.0000000000 -0.0000000874 1.0000000000, 0.0000000119 -1.0000000000 1.0000000000, ] } DEF Mat1 Material { ambientColor 0.000 0.000 1.000 diffuseColor 0.000 0.000 1.000 specularColor 0.000 0.000 0.000 shininess 0.156 transparency 0.0 } DEF Cyl1 Separator { USE Mat1 IndexedFaceSet { coordIndex [ 3, 2, 1, 0, -1, 2, 3, 7, 6, -1, 3, 0, 4, 7, -1, 1, 2, 6, 5, -1, 0, 1, 5, 4, -1, 4, 5, 6, 7, -1, ] } } DEF Cyl2 Separator { Material { ambientColor 1.000 0.000 0.000 diffuseColor 1.000 0.000 0.000 specularColor 0.000 0.000 0.000 shininess 0.156 transparency 0.5 } MatrixTransform { matrix 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 1.00000 0.00000 0.00000 1.00000 0.00000 0.00000 2.00000 0.00000 0.00000 1.00000 } IndexedFaceSet { coordIndex [ 3, 2, 1, 0, -1, 2, 3, 7, 6, -1, 3, 0, 4, 7, -1, 1, 2, 6, 5, -1, 0, 1, 5, 4, -1, 4, 5, 6, 7, -1, ] } } }
Mark Lasersohn Cow House Productions laser++at++cowhouse.com http://www.cowhouse.com 330-569-7492 ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:39 PDT