POV-Ray : Newsgroups : povray.binaries.images : Gothic Splines : Re: Gothic Splines Server Time
14 Nov 2024 02:24:12 EST (-0500)
  Re: Gothic Splines  
From: Lonster
Date: 12 Apr 2004 00:38:57
Message: <407a1d61@news.povray.org>
Bravo Mr. Prust!

     Now I can easily define my pointed vaulted ceilings as functions
instead of arcs.  I had been using chopped up cylinders before to carve them
out of a box, now I can use prisms and have real control.  This worked
smoothly first try with the same array and the vertex count reduced to one
fourth. Thank you!  Lonster

#declare myspline=spline{
  linear_spline
  #declare index=0;
  #while (index<100)
    index MyVectors[index]
    #declare index=index+1;
  #end
}

sphere_sweep {
  cubic_spline
  25,
  #declare index=0;
  #while (index<100)
    MyVectors[index],.2
    #declare index=index+4;
  #end
  pigment {color rgb <.8,.7,.9>}
}



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.590 / Virus Database: 373 - Release Date: 2/16/2004


Post a reply to this message

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