POV-Ray : Newsgroups : povray.newusers : Parametric Object : Parametric Object Server Time
26 Apr 2024 10:06:06 EDT (-0400)
  Parametric Object  
From: kurtz le pirate
Date: 6 Apr 2023 10:15:15
Message: <642ed3f3$1@news.povray.org>
Hello,


Documentation POVRay 2.4.5 :

parametric {
 function { FUNCTION_ITEMS },
 function { FUNCTION_ITEMS },
 function { FUNCTION_ITEMS }
 <u1,v1>, <u2,v2>
 ...
 }

I run into the following problem : how to introduce in the three
functions f(x), g(y) and h(z), a parameter that also depends
on u and v ?


For exemple :
parametric {
 function { sin(u)*cos(v)*K }
 function { sin(u)*sin(v)*K }
 function { cos(u)/K }
 ...
 }
with K = k*sin(2*u)*sin(nv)
'k' and 'n' are constants.


I have to add the complete calculation of the parameter 'K' in the three
functions ?





-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

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