Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Meshing implicit surfaces creates inside out meshes.

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Meshing implicit surfaces creates inside out meshes.


Chronological Thread 
  • From: Zesen Qian <>
  • To:
  • Subject: Re: [cgal-discuss] Meshing implicit surfaces creates inside out meshes.
  • Date: Tue, 12 Jun 2018 10:45:08 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:FgPgBxWleFFNljUjr15p29PLQzDV8LGtZVwlr6E/grcLSJyIuqrYbBSFt8tkgFKBZ4jH8fUM07OQ7/i9HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9yIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W7VhMx+jKxVrhG8qRJh34HZe52VOOZkc6/BYd8WWWhMU8BMXCJBGIO8aI4PAvICMulGtInyuV0OpgalCwmtHuzvzCJDi3j33KIkyOQuDwfG0BY5H9IPqnvUqs74NKgXUe+vzanIyS/PYO9R2Tf48YXFdA0qr/+LXbJ1a8XRyE8vGhvEjlWWs4zlPima2v4Ds2iB9+ZvSe2vhHQjqw1rpTiv3Mgsh4/UjYwW0lDJ7Tt1zJoxKNGiS0N2YcSoHIZRui2GLYd7Q8AvTmd1sygg0LIGo4S0fC0SxZQn2RHfb/uHfpCN4h35VeaRJS50hGpheL6jnhqy/0mtx+7mWsm711ZKqSVFkt3SuXwXyxPT7c2HRuN8/kenxzmPyxje5v9YLU0wj6bWKJ4szqQtmpcSrUjPBC77lUbugK+TbEok++yo6+r9YrXho5+RL451hR/lMqswnMyzG/04MgkUUGid4um827jj8lf4QLVOlPE5jq7ZsJXCKcQBuqG5GxNV0pok6xunEzim384XnX0eIF1YeRKHlJTmO0zVIPDjFvq/mFStkDJzx//cJLHhA5PNLmLCkLj7Z7p95VRcm0IOy8tC7cdUFq0ZO6C0HVTgscTRSB4/KQ29hej9T85s05sXHmOJDKjeO6zbtRqE5/kkPvKXN7MS7T3yIvxg6//1hmIigncce7Oo1N0ZciOWBPNjdneUenfqyu4AGGFC6hgzV+HszkSDWDh7aHO7XqZ67TY+XtH1RbzfT5yg1eTSlBywGYdbMzgfWwK8VEzwfoDBYM8iLSebI8tviDsBDOHzRIoo1BXovwj/meM+crjkvxYAvJem7+BbovXJnEhrpzNxBsWZlWqKSjMsxz5ad3oNxKl65HdF5BKD3Kx/2aEKENVS47ZRVl9/O8CMieN9DN/2V0TKedLbEFs=

Hi Sebastien,

Thank you for the comment. I actually encountered this problem as
well, and the method you suggested should solve it well. Only one
question remains, however: is there anyway to get a Surface_mesh from
c3t3 directly, besides calling export_surface_to_off() and then
reading it back?

Thank you.

Best,
Zesen

On Tue, Jun 12, 2018 at 6:44 AM, Sebastien Loriot (GeometryFactory)
<>
wrote:
> We added some functions in PMP to handle this kind of issues.
> See CGAL::Polygon_mesh_processing::orient()
>
> https://doc.cgal.org/latest/Polygon_mesh_processing/group__PMP__orientation__grp.html#gafe035adcc4ff061b4438cc9dae591d00
>
> Sebastien.
>
> On 06/12/2018 11:31 AM, Raphael Grimm wrote:
>>
>> Hi,
>> i am meshing implicit surfaces and sometimes the result is inside out (the
>> vertex order of triangles is wrong).
>>
>> I attached three meshes and the code to show what i mean:
>> * 'sphere_r_const_1_1.000000.off' is correct
>> * 'sphere_r_const_2_1.000000.off' is inside out
>> * 'sphere_r_const_4096_1.000000.off' is correct
>>
>> In both cases i meshed a unit sphere.
>> The only difference when creating the spheres is the squared radius i
>> passed to 'Sphere_3' when creating my 'CGAL::Implicit_mesh_domain_3'.
>> The first sphere got the exact squared radius '1' and the second the
>> larger value '2' and the third the value '4096'.
>> Hence i the issue can't be a too large bounding sphere.
>>
>> Why does this happen and how can i prevent this?
>>
>> Best regards,
>>
>> Raphael
>>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>



Archive powered by MHonArc 2.6.18.

Top of Page