Unable to set OpenMesh::Vec3f Color trait using OM 10.0
14 Dec
2023
14 Dec
'23
10:55 a.m.
Hi, I want to parametrize my mesh with custom traits. I have added typedef OpenMesh::Vec4f Color trait and it works fine - I am able to set colors, read and write them, using .ply file format. The problem is my target is .obj which does not support alpha channel for vertex colors. When I try to add OpenMesh::Vec3f Color to my traits I get the following error during compilation: Severity Code Description Project File Line Suppression State Error C2027 use of undefined type 'OpenMesh::GenProg::AssertCompile<false>' nodeller I:\nodeller\Libraries\OpenMesh\include\OpenMesh\Core\Utils\vector_cast.hh 83 It seems to me I need to implement it myself, or is there a workaround? Thank you in advance
375
Age (days ago)
375
Last active (days ago)
0 comments
1 participants
participants (1)
-
mandasartur@gmail.com