POV-Ray : Newsgroups : povray.unofficial.patches : superpatch "function" question (+bug?) Server Time
2 Sep 2024 16:21:54 EDT (-0400)
  superpatch "function" question (+bug?) (Message 1 to 3 of 3)  
From: Jerome M  BERGER
Subject: superpatch "function" question (+bug?)
Date: 13 Sep 1999 20:00:51
Message: <37DD9038.BDC66446@enst.fr>
Exactly how do you use the builtin functions in the Superpatch? I tried
this:

#declare super=function { "Superellipsoid" 0.1, 0.1 }

	And I get an error (pov says there's an error after "Superellipsoid",
but before it can precise it crashes with an access violation)

	That's with the precompiled version of the superpatch for windows.

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

From: Ron Parker
Subject: Re: superpatch "function" question (+bug?)
Date: 14 Sep 1999 10:00:58
Message: <37de551a@news.povray.org>
On Mon, 13 Sep 1999 17:00:56 -0700, Jerome M. BERGER wrote:
>	Exactly how do you use the builtin functions in the Superpatch? I tried
>this:
>
>#declare super=function { "Superellipsoid" 0.1, 0.1 }
>
>	And I get an error (pov says there's an error after "Superellipsoid",
>but before it can precise it crashes with an access violation)

Well, that's obviously a bug.  I'll have to look into that one.

Function arguments are specified as a vector (don't look at me, it 
wasn't my idea!) so your code should read like this:

#declare super=function { "Superellipsoid" <0.1, 0.1> }


Post a reply to this message

From: Jerome M  BERGER
Subject: Re: superpatch "function" question (+bug?)
Date: 14 Sep 1999 12:56:23
Message: <37DE7E3D.EB13C5D3@enst.fr>
Thank you Ron

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

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