|
|
Le 22/08/2016 à 13:33, Mr a écrit :
> Hi!
> Is there a way for official pov or any other branch/patched verion, to read a
> pov scene from Python string in RAM...?
>
> (either directly or maybe using something like this?
> http://docs.python.org/3/library/io.html#io.StringIO )
>
> Instead of having to write and read from the text file to disk, it would
> probably make my exporter much faster for small scenes.
>
If you are on linux, you could mount the directory where the file is
exported as a ramdisk (before launching any of your tools and povray)
http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/
> http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/
It has to be on a filesystem for povray, but nothing says that the
filesystem cannot be in RAM.
If you are not changing the default output directory, you should
provision enough room for the intermediate files and output pictures.
Post a reply to this message
|
|