POV-Ray : Newsgroups : povray.general : Curved Triangles : Re: Curved Triangles Server Time
19 Nov 2024 05:23:42 EST (-0500)
  Re: Curved Triangles  
From: Zeger Knaepen
Date: 14 Apr 2002 20:40:42
Message: <3cba218a$1@news.povray.org>
> Would anyone be interested in a POV-Ray macro to draw such things?  The
> syntax would be something like:
>
> curved_triangle(v1, n1, v2, n2, v3, n3)
>
> If so, let me know.
I would!

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

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