POV-Ray : Newsgroups : povray.newusers : Isosurface object calling an external function/program??? : Re: Isosurface object calling an external function/program??? Server Time
30 Jul 2024 02:16:35 EDT (-0400)
  Re: Isosurface object calling an external function/program???  
From: Christoph Hormann
Date: 2 Nov 2004 11:10:02
Message: <cm8b9n$72t$1@chho.imagico.de>

> Hi,
> 
> I would like to use POV-Ray for scientific visualisation. The isosurfac
e
> capability sounds very interesting for my problem. In my case however, 
the
> function I need to evaluate is a bit complicated (and involves sums of
> elements defined outside POV-Ray). Is it possible to call a function
> defined outside POV-Ray (in a shared lib) inside the isosurface object?
??
> Could anyone give me an exemple of how to do this?

You would need to modify POV-Ray for this and it would break portability 

of the program.  If the function is too complicated to be implemented in 

SDL it is unlikely that it would be efficient to render an isosurface 
directly from it (this uses a *lot* of function evaluations).  Better 
use a df3 file generated with a separate program.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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