POV-Ray : Newsgroups : povray.binaries.images : Late Friday Night Abstract (81kb jpg) : Late Friday Night Abstract (81kb jpg) Server Time
15 Aug 2024 08:22:36 EDT (-0400)
  Late Friday Night Abstract (81kb jpg)  
From: Samuel Benge
Date: 13 Jul 2002 02:28:46
Message: <3D2FC863.30107@caltel.com>
Nobody else seems to be posting one, so here one is :) It's an 
isosurface plane with repeated cosine functions inside a #while loop. 
Looks kind of like architecture in some way, terrestrial or not...

Questions, comments?

Here's the code:

isosurface{
  function{
   -z
   #local V=1;
   #while(V<60*2*4)
    +min(
     cos(atan2(x,y)*pi*V)/V*sqrt(x*x+y*y)
    ,cos(sqrt(x*x+y*y)*pi*V)/V
    ,cos(z*pi*V)/V
    )+.1
    #local V=V+V+.5;
   #end
  }
  accuracy .002
  max_gradient 5
  contained_by{box{<-1,-1,-1>,<1,1,1>}}
  pigment{rgb<.4 .7 .5>}
  finish{phong 1 phong_size 50 brilliance 2 diffuse .8}
}

-- 
Samuel Benge

sbe### [at] caltelcom


Post a reply to this message


Attachments:
Download 'isofract2.jpg' (81 KB)

Preview of image 'isofract2.jpg'
isofract2.jpg


 

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