Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Properly oriented Polyhedron_3 vertex normals for rendering with OpenGL

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Properly oriented Polyhedron_3 vertex normals for rendering with OpenGL


Chronological Thread 
  • From: Zhe Cao <>
  • To:
  • Subject: Re: [cgal-discuss] Properly oriented Polyhedron_3 vertex normals for rendering with OpenGL
  • Date: Fri, 22 Apr 2016 14:49:24 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:6O0LBBXL6PmOdYY9FVa4HpkoAUzV8LGtZVwlr6E/grcLSJyIuqrYZheCt8tkgFKBZ4jH8fUM07OQ6PCwHzNZqs7e+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq82VPFwD3GX1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdXBTBjP2Eu79DwrjHCSxGO7z0SSDY4iB1NVjrF4VnRV5C55jn6u6x20S7cZJDeULswHz2pqbpoHky7wBwbPiI0pTmEwvd7i7hW9Uqs

Thanks for your help. The way you mentioned did help, and I got some values
and visualised them. Unfortunately, the result does not look right. The left
image is the result and the right is the one computed by MeshLab.

<http://cgal-discuss.949826.n4.nabble.com/file/n4661864/11.png>
<http://cgal-discuss.949826.n4.nabble.com/file/n4661864/12.png>

I wonder if it is because of some other mistakes I made in my code or just
because of this function. Can we get reasonable normals with
compute_vertex_normal functions? And there is another overload of this
function with one more parameter, called "NamedParameters". Would this
matter?



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Properly-oriented-Polyhedron-3-vertex-normals-for-rendering-with-OpenGL-tp4661567p4661864.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page