POV-Ray : Newsgroups : povray.general : using POV-Ray as 3D renderer for Python scripts : Re: using POV-Ray as 3D renderer for Python scripts Server Time
18 Apr 2024 11:19:02 EDT (-0400)
  Re: using POV-Ray as 3D renderer for Python scripts  
From: Kenneth
Date: 14 Sep 2021 09:25:00
Message: <web.6140a194b1b48eb04cef624e6e066e29@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> I would say that if you are writing an include file with python, then all you'd
> need to do is write it as an array of the centers of the spheres, and the radii.
>

That's a good idea-- to then let POV-ray create the objects themselves from the
very simple point data and radii; makes for a smaller #include file as well.

> You may find that implementing your scene using blobs and not spheres could be
> faster.

Blobs are faster to parse and render than simple spheres? I didn't know that!

Overall, it sounds like #read-ing the generated data file from disc as an
#include file would be the only time concern, re: parsing; Alain's extreme
example of 50 000 000 'things'--even as simple data points/radii-- might take a
fair amount of time to #read. But I've never used such a really huge .inc file,
so I don't know for sure.


Post a reply to this message

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