POV-Ray : Newsgroups : povray.unofficial.patches : Idea for functions : Re: Idea for functions Server Time
2 Sep 2024 12:17:22 EDT (-0400)
  Re: Idea for functions  
From: Ron Parker
Date: 8 May 2000 09:51:27
Message: <slrn8hdifc.9pe.ron.parker@linux.parkerr.fwi.com>
On Sat, 06 May 2000 11:11:24 -0500, Chris Huff wrote:
>> Nope, i'm talking about using external apps(.exe in wintel)... instead
>> of supporting a full blown language for function, just allow the user to
>> use the (compiled) language s/he wants to use to do the maths!
>> Instead of having to support everything you want POV's function language
>> to support, POV could just allow you to call an application, and take
>> the return value for result!!
>
>Well, I don't think there is cross-platform way of doing this.

IMHO, cross-platform is the least of your worries if you do this.  It'd be
horribly slow to spawn a new process for each evaluation of the function,
and those functions get evaluated many, many, many times for each ray that
hits the object.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
These are my opinions.  I do NOT speak for the POV-Team.


Post a reply to this message

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