POV-Ray : Newsgroups : povray.pov4.discussion.general : Feature req.: DLLs/SOs as user defined functions Server Time
21 Dec 2024 13:34:22 EST (-0500)
  Feature req.: DLLs/SOs as user defined functions (Message 1 to 4 of 4)  
From: Mircode
Subject: Feature req.: DLLs/SOs as user defined functions
Date: 20 Nov 2010 16:30:00
Message: <web.4ce83cc1eba1831ab54def070@news.povray.org>
Hi there!

I already posted this into the unofficial patches section but I think it fits
better here. But I don't want to open a new thread.

http://news.povray.org/povray.unofficial.patches/thread/%3Cweb.4ce7d82a3d7366653f6f52ea0%40news.povray.org%3E/

In short:

I would very much like the ability to include external functions (DLLs/SOs) as
user defined functions.

In addition, a new function object (besides isosurface and parametric) can be
created. Povray hands start point and direction vector of a ray to a function
and the function returns the point of intersection with the object (and maybe
the slope).

Peas out!


Post a reply to this message

From: clipka
Subject: Re: Feature req.: DLLs/SOs as user defined functions
Date: 20 Nov 2010 21:13:29
Message: <4ce88049$1@news.povray.org>
Am 20.11.2010 22:25, schrieb Mircode:

> I would very much like the ability to include external functions (DLLs/SOs) as
> user defined functions.

I guess that would essentially open up the possibility for generic OS 
function calls - I don't think this is ever going to happen in official 
POV-Ray. Let alone that scene files using this feature would be 
non-portable - another no-go.


Post a reply to this message

From: clipka
Subject: Re: Feature req.: DLLs/SOs as user defined functions
Date: 20 Nov 2010 21:27:34
Message: <4ce88396$1@news.povray.org>
Am 20.11.2010 22:25, schrieb Mircode:

> I already posted this into the unofficial patches section but I think it fits
> better here. But I don't want to open a new thread.
>
>
http://news.povray.org/povray.unofficial.patches/thread/%3Cweb.4ce7d82a3d7366653f6f52ea0%40news.povray.org%3E/

I guess with this particular topic a new thread does make sense: There's 
nothing wrong with the idea of such a feature as an unofficial patch, so 
povray.unofficial.patches would be a good place to talk about technical 
details (without attracting lots of "forget it!" replies), but official 
POV-Ray is another thing, so here might be a good place to talk about 
the reasons why it won't make it into official POV-Ray, as well as 
pondering alternatives that may.


Post a reply to this message

From: John VanSickle
Subject: Re: Feature req.: DLLs/SOs as user defined functions
Date: 21 Nov 2010 05:00:16
Message: <4ce8edb0@news.povray.org>
On 11/20/2010 4:25 PM, Mircode wrote:
> Hi there!
>
> I already posted this into the unofficial patches section but I think it fits
> better here. But I don't want to open a new thread.
>
>
http://news.povray.org/povray.unofficial.patches/thread/%3Cweb.4ce7d82a3d7366653f6f52ea0%40news.povray.org%3E/
>
> In short:
>
> I would very much like the ability to include external functions (DLLs/SOs) as
> user defined functions.
>
> In addition, a new function object (besides isosurface and parametric) can be
> created. Povray hands start point and direction vector of a ray to a function
> and the function returns the point of intersection with the object (and maybe
> the slope).

It may be that a future version of POV-Ray will include a shading 
language (in a manner similar to what Renderman does) in which case it 
should not be difficult to extend that to provide intersection/gradient 
capability.

Regards,
John


Post a reply to this message

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