POV-Ray : Newsgroups : povray.general : smooth normals Server Time
5 Nov 2024 11:17:51 EST (-0500)
  smooth normals (Message 1 to 5 of 5)  
From: Texel
Subject: smooth normals
Date: 17 May 2003 11:40:08
Message: <web.3ec6569c57cb138a142d2860@news.povray.org>
Is there any function in pov to smooth the normals of a mesh?

I have the normals of each face, and i want pov to render my model with
vertex normals generated with a smoothangle like 45 degree.

Do i have to compute it by myself?

Thanks.


Post a reply to this message

From: Tim Nikias v2 0
Subject: Re: smooth normals
Date: 17 May 2003 11:44:52
Message: <3ec658f4@news.povray.org>
Either you're mesh-modelling-programm exported them,
or you have to calculate them yourself, if you have
access to the data. If you've only got the mesh, Warp
has written a mesh-smooth-programm (for DOS and
Windows with DOS-Support) which will take a scene,
and add the normals for mesh-objects. Here's the link:

http://www.students.tut.fi/~warp/PovUtils/smooth.html

Regards,
Tim

-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde

> Is there any function in pov to smooth the normals of a mesh?
>
> I have the normals of each face, and i want pov to render my model with
> vertex normals generated with a smoothangle like 45 degree.
>
> Do i have to compute it by myself?
>
> Thanks.
>


Post a reply to this message

From: Texel
Subject: Re: smooth normals
Date: 17 May 2003 11:55:05
Message: <web.3ec65a8d7ab49828142d2860@news.povray.org>
Thanks.


Post a reply to this message

From: Warp
Subject: Re: smooth normals
Date: 17 May 2003 14:01:16
Message: <3ec678eb@news.povray.org>
Texel <nomail@nomail> wrote:
> Is there any function in pov to smooth the normals of a mesh?

  No.

> Do i have to compute it by myself?

  Yes.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Texel
Subject: Re: smooth normals
Date: 18 May 2003 08:00:14
Message: <web.3ec774d37ab498286ad01efc0@news.povray.org>
Thanks, but i think i will create it by myself (because i need it for a file
converter and your solution seems to be difficult to use with mesh2).


Post a reply to this message

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