POV-Ray : Newsgroups : povray.general : round edges : round edges Server Time
7 Aug 2024 21:17:16 EDT (-0400)
  round edges  
From: Nekar Xenos
Date: 18 May 2001 07:04:29
Message: <3b0501bd@news.povray.org>
Does anyone have a macro that could take the co-ordinates of all the points in
an object and replace them with blobs? I've figured that would be quite a good
way of making rounded edges. CSG's would probably be a problem, unless there was
a macro that could convert CSG's (or anything else) to polygons.

I've come to notice that nothing in real life has sharp edges except dangerous
stuff like blades...

Nekar

--
#local N=<-20,40,100>;#local K=<20,-40,100>;#local R=seed(0);blob{#while((K-N).
x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local N=(vlength(N-K)<vlength(
X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N,1,1 scale.02}sphere{
<-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1 scale.01 }#end
pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}// Nekar Xenos


Post a reply to this message

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