Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] OFF files-Edges Creation (Triangluation)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] OFF files-Edges Creation (Triangluation)


Chronological Thread 
  • From: Helmi Ben Hmida <>
  • To:
  • Cc: Philipp Moeller <>
  • Subject: Re: [cgal-discuss] OFF files-Edges Creation (Triangluation)
  • Date: Thu, 15 Mar 2012 14:38:23 +0100

Hello,

I began inderstanding that it looks impossble to generate Valide OFF files from the actual VRML file even with specific tools (mechConv) or with specific algorithm, since in the VRML we re always getting multiple edges in order to specify vertex between them, which is not the case with wotking on unique edges and vertex.

For the geometry factory comminuty, I´m looking for an off data base (benchmark) for architecture scene, or building elements.
Do you have sthing like this.
H.
 

Am 15.03.2012 11:09, schrieb Philipp Moeller:
In the example you posted, there is one more face than specified in the
header. This facet is ignored by the off reader. Although the extra face
is a duplicate anyway.

To generate OFF files that are valid for a polyhedron, no faces should
be duplicated and no vertices should be duplicated.

You got the vertices right in this example, but you need 12 faces for a
triangulated cube.

I'm not familiar with VRML but writing a converter shouldn't be too hard
and meshconv [2] (never tried it) seems capable of it.





Archive powered by MHonArc 2.6.16.

Top of Page