POV-Ray : Newsgroups : povray.unofficial.patches : undocumented functions in megapov Server Time
2 Sep 2024 00:18:42 EDT (-0400)
  undocumented functions in megapov (Message 1 to 6 of 6)  
From: Wlodzimierz ABX Skiba
Subject: undocumented functions in megapov
Date: 13 Oct 2000 11:21:13
Message: <39e72869$1@news.povray.org>
chapter 8.3.5 of megapov documentation (about function pattern):
"valid function are: sin, cos, tan, radians, degrees, floor, ceil, pi"
but I've checked other functions and it works
in version 0.5 and in version 0.6

at thread "Fished onion" at p.b.i
you can find use of ln() and atan2()

anybody know why it is undocumented ?
or why there is not such words "and other functions"
at end of list in documentation ?
can I use any povray function/expresion with numeric result ?

ABX


Post a reply to this message

From: Chris Huff
Subject: Re: undocumented functions in megapov
Date: 13 Oct 2000 12:44:33
Message: <chrishuff-794600.11471013102000@news.povray.org>
In article <39e72869$1@news.povray.org>, "Wlodzimierz ABX Skiba" 
<abx### [at] abxartpl> wrote:

> anybody know why it is undocumented ? or why there is not such words 
> "and other functions" at end of list in documentation ?

The most likely reason: these functions just didn't exist in earlier 
versions of the isosurface patch, and the documentation hasn't been 
updated with these functions.


> can I use any povray function/expresion with numeric result ?

No. For example, you can't use eval_pattern(), strlen, etc.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: David Fontaine
Subject: Re: undocumented functions in megapov
Date: 13 Oct 2000 22:47:12
Message: <39E7C6B6.DC75B0F3@faricy.net>
Chris Huff wrote:

> > can I use any povray function/expresion with numeric result ?
>
> No. For example, you can't use eval_pattern(), strlen, etc.

I'm pretty sure you can't use mod() too, but I haven't dled 0.6 yet.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Quadhall
Subject: Re: undocumented functions in megapov
Date: 13 Oct 2000 23:02:36
Message: <39e7cccc$1@news.povray.org>
David Fontaine wrote in message <39E7C6B6.DC75B0F3@faricy.net>...

>I'm pretty sure you can't use mod() too, but I haven't dled 0.6 yet.
>
just tried using mod() in 0.6......didn't work, came up with an error; sorry
I can't remember exactly what it was....

Quadhall


Post a reply to this message

From: David Fontaine
Subject: Re: undocumented functions in megapov
Date: 13 Oct 2000 23:08:28
Message: <39E7CBB1.41457255@faricy.net>
Quadhall wrote:

> just tried using mod() in 0.6......didn't work, came up with an error; sorry
> I can't remember exactly what it was....

"float factor expected but mod found instead"? i think it was something like
that, which seems to me to suggest it's not valid in isosurface.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Ron Parker
Subject: Re: undocumented functions in megapov
Date: 14 Oct 2000 00:04:30
Message: <slrn8ufmqh.apj.ron.parker@fwi.com>
On Fri, 13 Oct 2000 21:57:54 -0500, David Fontaine wrote:
>Quadhall wrote:
>
>> just tried using mod() in 0.6......didn't work, came up with an error; sorry
>> I can't remember exactly what it was....
>
>"float factor expected but mod found instead"? i think it was something like
>that, which seems to me to suggest it's not valid in isosurface.

% might work, though.  I don't remember for sure.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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