POV-Ray : Newsgroups : povray.programming : Smooth mesh 'bug' inverted normals (+Patch) : Re: Smooth mesh 'bug' inverted normals (+Patch) Server Time
21 May 2024 12:47:47 EDT (-0400)
  Re: Smooth mesh 'bug' inverted normals (+Patch)  
From: ABX
Date: 12 Aug 2002 03:05:20
Message: <hcnelugc9pp34dhg57icj3vc1b91lb9u98@4ax.com>
On Sat, 10 Aug 2002 15:15:38 EDT, "Jurjen" <jjs### [at] hotmailcom>
wrote:
> Here is some code that will change the behaviour of smooth-triangles

Added to http://abx.art.pl/pov/patches/patches.php.

ABX
-- 
disc{z,-z#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e 1))/10-4#declare
e=e-1;#end#local e=26;5pigment{#local g=function(_){ceil(_)-_}function#local
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e)<O()O()>.01#
end}}}}{k(g(atan2(x,y)),g(ln(pow(x+y,2)+1e-5)),0)}}finish{ambient 1}}//ABX35


Post a reply to this message

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