POV-Ray : Newsgroups : povray.unofficial.patches : superpatch/parametric trouble : Re: superpatch/parametric trouble Server Time
2 Sep 2024 22:18:42 EDT (-0400)
  Re: superpatch/parametric trouble  
From: david sharp
Date: 7 Jun 1999 20:20:14
Message: <375C618F.1A85@interport.net>
Here is just one example of a parametric{function{}} object which causes
my MSDOS compilation of SuperPatch to crash:

/* -------------------------------------------------*/
#include "colors.inc"

// the surface
#declare Helicoid=parametric{
     function
        v*cos(4*u), 
        u, 
        v*sin(4*u)      

       <-pi/2,-1>, <pi/2, 1> 
 
       accuracy 0.001
       //precompute 15, [x,z]

}


object{

        object{
               Helicoid
               texture {pigment{Yellow} }
               /*
               clipped_by{sphere{<0,0,0>,1}}
               */
        }
	rotate <0,70,0>
	scale 6
}

camera
{ 
	location  < 16, 11,-16>
	look_at   < 0, 0, 0>
} 

light_source { <20, 10, -20> color rgb 1 }

background{White}


Post a reply to this message

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