POV-Ray : Newsgroups : povray.general : Povray for scientific use : Re: Povray for scientific use Server Time
8 Aug 2024 18:19:38 EDT (-0400)
  Re: Povray for scientific use  
From: Gilles Tran
Date: 3 Nov 2000 07:46:08
Message: <3A02B378.C1248D4A@inapg.inra.fr>
Dieter Gaffrey wrote:

> > Do you want to use Pov to represent the output of the models (previously
> > calculated by an external programme)
>
> this was my original idea
>
> > or to run the models themselves ?
>
> but maybe, Povray can more (until now I did not spend
> much time to find out all of Povray's possibilities).

Povray script is a specialized programming language that cannot do everything
languages like C and C++ can do. Also, it's interpreted and thus slow. For a
computing-intensive task other than raytracing, it is certainly better to have
an external programme manage it, and then output the result to Povray. A Pov
script could then manage more graphic-related issues.
In the case of tree generation, your programme could output the positions of
the nodes, and Povray could pick up the nodes and build the tree. Or the
programme could output directly the tree geometry as a mesh.

> Especially I am interested whether (and how) Povray can be-directionally
> handle databases. (?)

Povray has no database connectivity, but you can make scripts that read and
write text files. Not really bi-directional though.
An ODBC-Pov or a SQL-Pov would be nice for some specialized uses...

G.


Post a reply to this message

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