POV-Ray : Newsgroups : povray.general : Twist an isosurface : Re: Twist an isosurface Server Time
31 Jul 2024 16:22:08 EDT (-0400)
  Re: Twist an isosurface  
From: "Jérôme M. Berger"
Date: 20 Dec 2006 15:42:03
Message: <4589a01b@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dave vanhorn wrote:
>       #declare f = function {K*y}
>       #declare Twist_x = function (x,y,z)
>                          {x * cos (f (y)) + z * sin (f (y))} <-- "Invalid 
> number of parameters, 1 supplied, 3 required.

	The problem is in the declaration for f. Try one of the following
instead:

#declare f = function {K*x}

or

#declare f(y) = function {K*y}

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFiaAad0kWM4JG3k8RAqoAAKCSVOVlop8PR1C/SnG41ZPLxY9PpwCgmcYj
jZBew4IDM7tRDhN0j2gxWs0=
=pKXr
-----END PGP SIGNATURE-----


Post a reply to this message

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