Hello again,
I am trying to add a float data type to each face in my mesh. I am following the storing custom properties tutorial but I am a little confused on how to assign each face with an actual value.
For example:
OpenMesh::FPropHandleT<float> fprop_float; mesh.add_property(fprop_float, "fprop_float"); mesh.property(fprop_float).set_persistent(true);
mesh.face(mesh.face_handle(1)) = 1.12;
Thank you very much for your help and quick responses. - William