POV-Ray : Newsgroups : povray.advanced-users : how can a square mesh be changed to a rhomboid : Re: how can a square mesh be changed to a rhomboid Server Time
1 Jul 2024 05:49:42 EDT (-0400)
  Re: how can a square mesh be changed to a rhomboid  
From: clipka
Date: 16 Aug 2010 04:54:53
Message: <4c68fcdd@news.povray.org>
Am 15.08.2010 22:09, schrieb davidafisher:

> But this raises an issue. The triangles will be "distorted" from their original
> shape - if this impacts the normals to the vertices I don't know how to deal
> with that.

If I understand you correctly, then re-computing the normals should be a 
piece of cake: They should point right away from the center. So 
presuming that the sphere is centered around the origin, you can simply 
set all normals to the same value as the corresponding vertices.


Post a reply to this message

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