POV-Ray : Newsgroups : povray.general : mesh2 syntax clarification : Re: mesh2 syntax clarification Server Time
12 Apr 2024 17:42:21 EDT (-0400)
  Re: mesh2 syntax clarification  
From: Le Forgeron
Date: 22 Dec 2022 04:47:53
Message: <63a427c9$1@news.povray.org>
Le 11/12/2022 à 00:39, Bald Eagle a écrit :
> "Bald Eagle" <cre### [at] netscapenet> wrote:
> 

> Only a few normals were pointing outward, which means that somehow almost all of
> my normals are reversed.  So one character later (-) I was able to render the
> bunny with almost all of the normals facing outward.
> 
> I guess there's a way to do a breadth first search and correct the normals that
> don't point in the same direction as all the others.
> 

Just do not forget that
1. mesh is not always single part (it might have two or more shapes, 
intersecting or not at all)
2. you can model a moebius strip with a mesh, no right "outside" normal 
to propagate then.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.