POV-Ray : Newsgroups : povray.advanced-users : smooth_triangle normals : Re: smooth_triangle normals Server Time
27 Mar 2023 06:34:35 EDT (-0400)
  Re: smooth_triangle normals  
From: Tor Olav Kristensen
Date: 28 Sep 2020 12:15:01
Message: <web.5f720b18af8e23f9468a310e0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> Expecting this to be super helpful.  Maybe some of those will rectify the
> visible tiling.
> Still perplexed about why normal vector values would cause POV-Ray to report
> degenerate triangles.

Have you verified that none of the normal vectors are zero vectors or have a
very short length ?

Does POV-Ray accept the triangles in the mesh when you do not add the normal
vectors ?

> Just for reference:
> #ifdef () doesn't preempt negative subscript or subscript out of range errors.
> One should likely protect code with index < 0 or index > dimension_size-1
> checks.

- Or write code that does not create out of range indices...

Tor Olav

Post a reply to this message

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