![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors 
 
 
  | 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [ REQ 6028]: weboogl
 
The per vertex color does not seem to work.
Please advise.
I used the following VRML in color per
index:
-------------------------------------------
#VRML V1.0 ascii
Separator {
 Coordinate3 {point [0 0 0,0 1 0,1 1 0,1 0 0,]}
 Material {diffuseColor [1 0 0,0 1 0,0 0 1,1 1 0,]}
 Normal {vector [0 0 1,0 0 1,0 0 1,0 0 1,]}
 NormalBinding {value   PER_VERTEX_INDEXED}
 MaterialBinding {value PER_VERTEX_INDEXED}
 IndexedFaceSet {coordIndex [0,1,2,3,-1,]}
}
This is what I get from vrmltoogl:
---------------------------------------------
{ = LIST                # Separator
{ = INST
geom { appearance { material {
ambient 0.200000 0.200000 0.200000
diffuse 1.000000 0.000000 0.000000
specular 0.000000 0.000000 0.000000
shininess 0.200000
alpha 1.000000
}}
= LIST
# IndexedFaceSet
{ = OFF
4 1 0
0.000000 0.000000 0.000000
0.000000 1.000000 0.000000
1.000000 1.000000 0.000000
1.000000 0.000000 0.000000
4 0 1 2 3
}
}}
}                       # End Separator
  | 
  ||
| 
      Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors  | 
  |||
| 
      site hosted by | 
  |||