POV-Ray : Newsgroups : povray.binaries.images : "cubic" iso_sphere_sweep Server Time
2 Nov 2024 01:19:59 EDT (-0400)
  "cubic" iso_sphere_sweep (Message 1 to 1 of 1)  
From:
Subject: "cubic" iso_sphere_sweep
Date: 9 Jan 2002 04:25:42
Message: <og2o3u097t0p54cc6jm058dumosmk09dl5@4ax.com>
Here is iso_linear_sphere_sweep with vertices along closed spline deformed with
simple agate pattern. What do you think ?

Here is declaration of spline:

#declare S=seed(10);
#declare cm=7;
#declare Spl =
  spline {
    cubic_spline
    #local St1=2*<rand(S),rand(S),rand(S)>-1;
    #local St2=2*<rand(S),rand(S),rand(S)>-1;
    #local St3=2*<rand(S),rand(S),rand(S)>-1;
    #local St4=2*<rand(S),rand(S),rand(S)>-1;
    #local St5=2*<rand(S),rand(S),rand(S)>-1;
    #local St6=2*<rand(S),rand(S),rand(S)>-1;
    -5,St1,
    -4,St2,
    -3,St3,
    -2,St4,
    -1,St5
    0,St6
    #local c=1;
    #while (c<cm)
      c, 2*<rand(S),rand(S),rand(S)>-1
      #local c=c+1;
    #end
    cm,St1
    cm+1,St2
    cm+2,St3
    cm+3,St4
    cm+4,St5
    cm+5,St6
  }

ABX


Post a reply to this message


Attachments:
Download 'test1.png' (70 KB)

Preview of image 'test1.png'
test1.png


 

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