POV-Ray : Newsgroups : povray.unofficial.patches : superpatch "function" question (+bug?) : Re: superpatch "function" question (+bug?) Server Time
2 Sep 2024 18:19:41 EDT (-0400)
  Re: superpatch "function" question (+bug?)  
From: Ron Parker
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

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