Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Inventor API > mirror
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 455 of 502
Post > Topic >>

mirror

by Markus Plannerer <mp@[EMAIL PROTECTED] > Sep 13, 2006 at 06:03 PM

Hello,

in the IV-File at the bottom is a mirrored
Element which has not the same color as the
rectangel 100x80.

Is there a easy way to give them the same
colors on both sides?

thanks
Markus

== snip ========================================================

#Inventor V2.1 ascii

DEF mod001001 WrapperKit {
  contents DEF mod001001 Separator {
   DEF s3d001 Separator {
    DEF drawstyle DrawStyle { style FILLED }
    DEF front Separator {
     DEF material0 Material { diffuseColor 0.3 0.6 0.7 }
     ShapeHints { vertexOrdering	CLOCKWISE shapeType SOLID }
     DEF seg001+3 Separator {
      DEF c001+4 Coordinate3 { point [ 0 80 0, 100 80 0, 100 0 0, 0 0 0 ]
}
      DEF t001+5 TextureCoordinate2 { point [ 0 80, 100 80, 100 0, 0 0 ] }
      DEF f001+6 IndexedFaceSet { coordIndex [ 0, 1, 2, -1, 0, 2, 3, -1 ]
}
      DEF sls001+7 Separator {
       DEF a01+9 Group {
	BaseColor { rgb	0 0.3 0.1 }
	DrawStyle { lineWidth 3 linePattern 0xffff }
       }
       DEF s001_2 Coordinate3 { point [ 0 0 0, 0 80 0, 100 80 0 ] }
       DEF s001_2 LineSet { numVertices	-1 }
       DEF a02 Group {
	BaseColor { rgb	1 1 0 }
	DrawStyle { linePattern	0xffff }
       }
       DEF s001_5 Coordinate3 { point [ 100 80 0, 100 0 0 ] }
       DEF s001_5 LineSet { numVertices	-1 }
       USE a01+9
       DEF s001_11 Coordinate3 { point [ 100 0 0, 0 0 0 ] }
       DEF s001_11 LineSet { numVertices	-1 }
      }
      DEF i001_7 Separator {
       DEF +11 Transform {
	translation	100 0 0
	rotation	0 0 1 4.71239
	scaleFactor	-1 1 1
       }
       DEF seg014x Separator {
	DEF c014+15 Coordinate3 { point [ 0 19 0, 63 19 0, 80 0 0, 0 0 0 ] }
	DEF t014+16 TextureCoordinate2 { point [ 0 19, 63 19, 80 0, 0 0 ] }
	DEF f014+17 IndexedFaceSet { coordIndex	[ 0, 2, 3, -1, 0, 1, 2, -1 ] }
	DEF sls014+18 Separator {
	  USE a01+9
	  DEF s014_2 Coordinate3 { point [ 0 0 0, 0 19 0, 63 19 0, 80 0 0 ] }
	  DEF s014_2 LineSet { numVertices -1 }
	}
       }
      }
     }
    }
   }
  }
}
 




 1 Posts in Topic:
mirror
Markus Plannerer <mp@[  2006-09-13 18:03:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 2:35:09 CDT 2008.