####################### Itt a rajzunk eleje ####### DEF alakzat Separator{ Coordinate3 { point [ # X Y Z Nr. 0.0 0.0 0.0 , # 0. 7.0 5.0 3.0 , # 1. -2.0 1.0 3.0 , # 2. 2.4 -5.4 3.4 , # 3. ] # Ennyi pontunk van! } Material { diffuseColor 1 0 0 } IndexedFaceSet { coordIndex [ 1, 2, 3, -1 ] } IndexedLineSet { coordIndex [ 1, 0, 2, -1, 0, 3, -1 ] } DEF g1 Separator{ Material { diffuseColor 1 0 1 } Translation { translation 7 5 3 } Sphere { radius 0.5 } } DEF g2 Separator{ Material { diffuseColor 0 1 1 } Translation { translation -2 1 3 } Sphere { radius 0.5 } } DEF g3 Separator{ Material { diffuseColor 1 1 0 } Translation { translation 2.4 -5.4 3.4 } Sphere { radius 0.5 } } } ####################### Itt a rajzunk v‚ge #######