POV-Ray : Newsgroups : povray.binaries.scene-files : Wrong normal direction on triangle{ }s : Wrong normal direction on triangle{ }s Server Time
19 Apr 2024 14:50:12 EDT (-0400)
  Wrong normal direction on triangle{ }s  
From: Bald Eagle
Date: 17 Aug 2016 15:15:00
Message: <web.57b4b6c879df8923b488d9aa0@news.povray.org>
I just got done working out some code to generate spheres from traingles and
smooth_triangles, but when I texture the sphere with both a texture (red) and an
interior_texture (green), it appears to me that some of the surface normals are
the opposite of what they should be.  I tried playing around with the order of
the vertices, but that didn't seem to accomplish much.

Switch the value of P between true and false to render either the
icosahedron-based sphere or the octahedron-based sphere.

Thanks for any helpful insights


Post a reply to this message


Attachments:
Download 'subdivided_mesh_sphere.pov.txt' (11 KB)

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