save/load properties with the OM format
Hi, I'm working with openFlipper and primarily using obj data files, but I was hoping to use the OpenMesh format to store a few simple vertex wise properties. I've found that OpenFlipper will successfully write an integer vertex property to a .OM file, but does not restore the properties on load. Does anyone have an idea where I might be going wrong, or if this might be a bug? Thanks, David Lane
On 21.05.2012 19:07, David Lane wrote:
Hi,
I'm working with openFlipper and primarily using obj data files, but I was hoping to use the OpenMesh format to store a few simple vertex wise properties. I've found that OpenFlipper will successfully write an integer vertex property to a .OM file, but does not restore the properties on load. Does anyone have an idea where I might be going wrong, or if this might be a bug?
Thanks,
David Lane
Hi, this is definitly a bug. The om format has the drawback, that the mesh needs to have all properties that should be loaded as persistent properties before the actual load operation. Currently, the loader creates a standard mesh and than loads the file. This causes all extra properties to be lost. We are working on that, but it's not that easy to fix. Best, Jan -- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21817 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de
participants (2)
-
David Lane
-
Jan Möbius