~ubuntu-branches/ubuntu/utopic/gpac/utopic-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#X3D V3.0

Group { 
 children [
  Viewpoint { position 0 0 2}
  WorldInfo {
   title "IndexedTriangleFanSet X3D test"
   info ["This shows a IndexedTriangleFanSet" "" "GPAC Regression Tests" "$Date: 2007/07/27 11:30:48 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
  }

  Transform {
  	children [
     Shape {
     	appearance Appearance {
				material Material { diffuseColor 1.0 0.0 0.0 }
     	}
      geometry IndexedTriangleFanSet {
      	color Color { color [1 0 0, 0 1 0, 0 0 1, 1 1 0, 1 0 1, 1 1 0, 1 1 1] }
      	coord Coordinate { point [0 0 0, 0 0.5 0, 0.1 0.4 -0.5, 0.2 0.3 0, 0.3 0.2 -0.5, 0.4 0.1 0, 0.5 0 -0.5] }
      	solid FALSE
      	ccw FALSE
      	index [0 1 2 3 -1 0 4 5 6]
      }
     }
    ]
  }
 ]
}