Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Polyhedron_VRML_2_ostream no valid VRML?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Polyhedron_VRML_2_ostream no valid VRML?


Chronological Thread 
  • From: mastair <>
  • To:
  • Subject: [cgal-discuss] Polyhedron_VRML_2_ostream no valid VRML?
  • Date: Tue, 15 Jan 2013 01:55:39 -0800 (PST)

I created a simple VRML from a Polyhedron using Polyhedron_VRML_2_ostream. It
is a cube of 1x1x1. However no VRML viewer can open the file somehow.
Cortona3D says that the OFF node type is not supported, and Meshlab says
that a { is expected.

#VRML V2.0 utf8
# File written with the help of the CGAL Library
#-- Begin of file header
Group {
children [
Shape {
appearance DEF A1 Appearance {
material Material {
diffuseColor .6 .5 .9
}
}
appearance
Appearance {
material DEF Material Material {}
}
geometry NULL
}
#-- End of file header
OFF
8 6 0

0 0 0
1 0 0
1 1 0
0 1 0
0 0 1
0 1 1
1 1 1
1 0 1
4 0 1 2 3
4 4 5 6 7
4 1 7 6 2
4 0 4 7 1
4 2 6 5 3
4 5 4 0 3

#-- Begin of file footer
]
}
#-- End of file footer



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Polyhedron-VRML-2-ostream-no-valid-VRML-tp4656482.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] Polyhedron_VRML_2_ostream no valid VRML?, mastair, 01/15/2013

Archive powered by MHonArc 2.6.18.

Top of Page