|
|
Has anyone ever made, or thought of making a library of mesh objects to
approximate some of POV-Ray's primitives?
I just ran a scene that employed 8 million spheres, and that ate up 11 GIGAbytes
of memory. (I'm glad I recently shoved 16 GB into this thing) :O
Finite Objects: 8026445
Peak memory used: 11 487 420 416 bytes
As I understand it, I can declare a mesh object once, and then just translate
instances of it, which doesn't take up any, or very much more memory.
I'd be interested in learning how, and helping to generate a library of macros
for parameterized mesh objects, so that one could simply add
object {Sphere( <X, Y, Z>, Radius) etc... }
to a scene, and have it substantially perform the same function as a sphere in
most scenes using spheres.
Does this sound like a good idea? Worthwhile?
I can easily see myself using 16 or 32 million of such objects, if not more.
Post a reply to this message
|
|