POV-Ray : Newsgroups : povray.binaries.images : povray.newusers: Infinite car garage : Re: povray.newusers: Infinite car garage Server Time
5 Jul 2024 07:18:36 EDT (-0400)
  Re: povray.newusers: Infinite car garage  
From: Bald Eagle
Date: 25 Oct 2014 10:05:01
Message: <web.544bada09c4150c45e7df57c0@news.povray.org>
What about the f_helix2 "isosurface by function" in the drop-down POV-Ray Insert
Menu?
I'm constantly amazed by how much good stuff is in there that I overlook or
forget is there!


isosurface { //-------------------------------------------------------------
  function{
     f_helix2(
        x,y,z,
        0,    // not used,
        12,    // period,      turns on the length of 2*pi
        0.38, // minor radius,
        0.50, // major radius,
        0,    // not used,
        0.5,  // cross section type, (0.0 to 1.0 = square ... rounded to circle
              //                 over 2.0 to 3.0 = rounded to diamond and
concave diamond
        0     // cross section rotation angle
      )
  }
 contained_by {box {<-1,-1,-1>,<1,1,1>}}
 max_gradient 8

 texture{ pigment{ color rgb <1,1,1>*1.1}
          finish { specular 0.4 phong 0.7 }
        }

 scale 0.9
 rotate<0,0,0>
 translate< 0,1.2,0>
} // end of isosurface -------------------------------------------------------


Post a reply to this message


Attachments:
Download '55 - isosurface f_helix2.jpg' (6 KB)

Preview of image '55 - isosurface f_helix2.jpg'
55 - isosurface f_helix2.jpg


 

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