Menu

#413 Fails to open OFF files containing faces with less than 3 vertices

v1.0_(example)
wont-fix
nobody
None
1
2014-11-07
2014-10-09
No

Meshlab fails to open OFF files which contain face elements which have less than three vertices, for example

OFF
3 3 0
1 1 0
1 0 0
0 1 0
3 0 1 2 1.00000 0.00000 0.00000
2 0 1 0.00000 1.00000 0.00000
1 0 0.00000 0.00000 1.00000

This file is considered valid by Geomview, which uses the 2-vertex faces to hold edge colours, and 1-vertex faces to hold vertex colours. I have followed this in the Antiprism project, and people are having difficulty importing the Antiprism models into Meshlab,

1 Attachments

Related

Bugs: #413

Discussion

  • Paolo Cignoni

    Paolo Cignoni - 2014-11-07

    It seems not cited in the official doc
    http://www.geomview.org/docs/html/OFF.html
    I prefer to say on the official way of keeping per vertex color.

     
    • Adrian Rossiter

      Adrian Rossiter - 2014-11-07

      Hi Paolo

      On Fri, 7 Nov 2014, Paolo Cignoni wrote:

      It seems not cited in the official doc
      http://www.geomview.org/docs/html/OFF.html
      I prefer to say on the official way of keeping per vertex color.

      Thanks for your reply.

      The format spec doesn't put a lower limit on the number of vertices
      in a face element. Files containing face elements with 1 and 2
      vertices are valid by the spec.

      Whether they are used for vertex or edge colours appears
      to be an application issue, and outside of the spec. However,
      I did speak about this to the Geomview project, the source of
      the spec, and Claus, the lead developer, confirmed that
      Geomview interprets the 1-vertex and 2-vertex face elements
      this way

      https://sourceforge.net/p/geomview/mailman/message/2004738/
      

      If Meshlab simply discarded these elements and read the rest
      of the faces, I think that would be much more useful behaviour
      than not opening the file at all.

      Best wishes

      Adrian

      Adrian Rossiter
      adrian@antiprism.com
      http://antiprism.com/adrian

      ** [bugs:#413] Fails to open OFF files containing faces with less than 3 vertices**

      Status: open
      Group: v1.0_(example)
      Created: Thu Oct 09, 2014 12:08 PM UTC by Adrian Rossiter
      Last Updated: Thu Oct 09, 2014 12:08 PM UTC
      Owner: nobody

      Meshlab fails to open OFF files which contain face elements which have less than three vertices, for example

      OFF
      3 3 0
      1 1 0
      1 0 0
      0 1 0
      3 0 1 2 1.00000 0.00000 0.00000
      2 0 1 0.00000 1.00000 0.00000
      1 0 0.00000 0.00000 1.00000

      This file is considered valid by Geomview, which uses the 2-vertex faces to hold edge colours, and 1-vertex faces to hold vertex colours. I have followed this in the Antiprism project, and people are having difficulty importing the Antiprism models into Meshlab,


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/meshlab/bugs/413/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #413

  • Paolo Cignoni

    Paolo Cignoni - 2014-11-07
    • status: open --> wont-fix
     

Log in to post a comment.