POV-Ray : Newsgroups : povray.general : Smooth normals for mesh2 objects : Re: Smooth normals for mesh2 objects Server Time
29 Jul 2024 00:35:14 EDT (-0400)
  Re: Smooth normals for mesh2 objects  
From: MichaelJF
Date: 6 Dec 2013 13:40:00
Message: <web.52a21956936fb32d25aaf9de0@news.povray.org>
David Given <dg### [at] cowlarkcom> wrote:
> Is there a way to get Povray to automatically calculate smoothed normals
> for a mesh2?
>
> I'm generating huge meshes from an external procedural terrain
> generator. The generator assumes that the renderer doesn't need explicit
> normals, so not only does it not write them but it lacks the
> functionality internally to go from a vertex to the facets containing
> the vertex. So adding support for calculating smoothed normals is going
> to be non-trivial.
>
> Most other renderers I've looked at have an option to do this
> automatically. Does Povray?
>
If the mesh can be saved as obj and is not to large than PoseRay may be an
option to (re)calculate normals and save the object as pov-source. PoseRay
provides some options to calculate the normals and you have a preview. But IIRC
the grid can not be to large.

Best regards,
Micahel


Post a reply to this message

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