(unfinished - no information available)
WRL format information and examples from John Burkardt
Author: John Burkardt Change: 08 Mar 2007 Tomasz Lis adjusted to new core A list of supported elements follows. Please modify if you'll enhance something. Format support note - reading: - same functionality as in IV format reading Format support note - writing: - Full 32-bit vertices support - Full 32-bit faces support, unlimited face order - Partial meshes support (unverified) - One material supported - One texture supported - Texture UV supported (per-face; unverified) - No camera/view support - No Environment or lights support - No shapes support (unfinished) Example: #VRML V2.0 utf8 WorldInfo { title "cube.iv." string "WRL file generated by IVREAD. } Group { children [ Shape { appearance Appearance { material Material { diffuseColor 0.0 0.0 0.0 emissiveColor 0.0 0.0 0.0 shininess 1.0 } } #end of appearance geometry IndexedLineSet { coord Coordinate { point [ 8.59816 5.55317 -3.05561 8.59816 2.49756 0.000000E+00 ...etc... 2.48695 2.49756 -3.05561 ] } coordIndex [ 0 1 2 -1 3 4 5 6 7 8 - 9 10 -1 11 12 -1 13 14 15 -1 1 ...etc... 191 -1 ] colorPerVertex TRUE colorIndex [ 0 0 0 -1 2 3 1 1 4 7 - 10 9 -1 7 7 -1 3 2 2 -1 1 ...etc... 180 -1 ] } #end of geometry } #end of Shape ] #end of children } #end of Group Copying and copyrights: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.