POV-Ray : Newsgroups : povray.general : Smooth normals for mesh2 objects : Re: Smooth normals for mesh2 objects Server Time
29 Jul 2024 00:34:14 EDT (-0400)
  Re: Smooth normals for mesh2 objects  
From: Le Forgeron
Date: 6 Dec 2013 09:49:58
Message: <52a1e416$1@news.povray.org>
Le 06/12/2013 15:09, Warp a écrit :
> David Given <dg### [at] cowlarkcom> wrote:
>> Is there a way to get Povray to automatically calculate smoothed normals
>> for a mesh2?
> 
> Currently, no.

And the real tricky question is: how do you weight the various normals
at a vertex ?
So far I came with at least 4 different ways.

And for information: mesh2 is only a syntax, mesh & mesh2 are the same
internal object inside povray.
(yet, mesh2 is parsed much faster when it becomes long)

> 
> (Such a feature might be added in the future, either as a direct feature,

Done as a direct feature: smooth{...}
Illustration at:
http://wiki.povray.org/content/User:Le_Forgeron#smooth

Source code at:
https://bitbucket.org/LeForgeron/hgpovray

> or by enhancing the language so that it could be easily written as a
> script.)
> 


-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

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