SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] uniform normals


Chronological Thread 
  • From: Jess <jess@sci.utah.edu>
  • To: Petar Petrov <pip010@gmail.com>
  • Cc: "scirun-users@sci.utah.edu" <scirun-users@sci.utah.edu>
  • Subject: Re: [SCIRUN-USERS] uniform normals
  • Date: Tue, 14 Nov 2017 09:22:09 -0700

Hi Petar,

You can use ReportFieldGeometryMeasure to get a matrix of the normals of the
faces (make sure that you choose faces and normals only). Then you can use
setfield data to assign those as a field to the surface mesh.

To reorder the surface normals, there is a module in scirun 4 that has not
been ported to 5 yet, called TriSurfConsistencyCorrection. You may need to
use this module twice in series to fully correct the normals.

cheers,
Jess



> On Nov 14, 2017, at 6:05 AM, Petar Petrov <pip010@gmail.com> wrote:
>
> Hello sci-users,
>
> I have two quick questions:
>
> 1) How to calculate normals per triangle in scirun
>
> 2) How to make normals in consistent orientation, that is pointing only in
> or out.
>
> Thanks in advance,
> Petar
>
> ________________________________________________
> SCIRun users mailing list: scirun-users@sci.utah.edu
> http://www.sci.utah.edu/software/scirun.html
> To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe
> scirun-users" in the message body.




Archive powered by MHonArc 2.6.18.

Top of page