POV-Ray : Newsgroups : povray.general : POV-Ray & Databases : Re: POV-Ray & Databases Server Time
2 Aug 2024 16:25:22 EDT (-0400)
  Re: POV-Ray & Databases  
From: "Jérôme M. Berger"
Date: 5 Nov 2004 13:00:26
Message: <418bbfba$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Elliott wrote:
| Except databases go beyond simple I/O. For instance, a smart system
could
| read in the contents of a .inc file to the database (or the
equivalent),
| which will only be used in an animation in say 50 frames out of
100, then
| only read that back in from the DB 'when' it is needed, rather than
| parsing the entire file each time. I suspect that is a bit harder to
| manage currently, if it is even possible.

	You mean, something like that?

#if ((clock > 0.25) && (clock < 0.75))
~  #include "foo.inc"
#end

	Myself, I don't really see what databases could add to POV. Much
easier to have utilities written in C/C++/Python/Perl/<insert
favorite language here> that will access the database when you have
an application that requires one. Moreover, this would work whatever
the DB you want to use.

	Now, having an "exec" command might be useful, but we already have
ini options that bring most of the equivalent functionnality for
animations. For single images, it's probably better to run the
commands by hand so that you don't have to rerun everything at each
try...

		Jerome

- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBi7+5qIYJdJhyixIRAqAUAJ9FNVcTcql6jFYqQGIO6K8+9cy/VQCgq2FV
UsPbdlq6J9+XvCe6TNVmrYY=
=rmzr
-----END PGP SIGNATURE-----


Post a reply to this message

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