POV-Ray : Newsgroups : povray.newusers : smooth mesh : Re: smooth mesh Server Time
4 Nov 2024 21:23:59 EST (-0500)
  Re: smooth mesh  
From: Wlodzimierz ABX Skiba
Date: 10 Aug 2001 03:28:58
Message: <3b738d3a@news.povray.org>
Elias Pschernig wrote in message <3b736a5c@news.povray.org>...
> Is there a way to generate a smooth mesh without manually calculating the
> normals first? (from within povray) I was thinking something like replacing
> mesh with smooth_mesh, but only having normal triangles inside.

You can write macro for this or use macros or external tools for it. look at
http://www.povray.org/links/

> If is't not
> possible, I have another question (which might be a FAQ).. is it a good way
> of calculating vertex normals, by adding all the normals of polygons sharing
> that vertex, and then dividing by the number of normals?

this is good way but not the best
look at thread:
From: "Wlodzimierz ABX Skiba" <abx### [at] abxartpl>
Newsgroups: povray.advanced-users
Subject: should be normal weighted ?
Date: Mon, 4 Dec 2000 09:32:37 +0100
Message-ID: <3a2b566e@news.povray.org>

there is also image in p.b.i. according to this thread

--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

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