|
|
"Kenneth" <kdw### [at] gmailcom> wrote:
> Blobs are faster to parse and render than simple spheres? I didn't know that!
As Alain pointed out, it's a bounding thing - might be interesting to add some
time stamps and compare spheres vs blobs.
> 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.
No - don't use #read. Write directly to an include file the text defining the
array.
#declare PointsAndRadii = array {
.....
}
Then just include that file. Get the dimension_size of the array, then loop
through it to instantiate all of the spheres/blobs.
Post a reply to this message
|
|