|
|
In article <3dda6462$1@news.povray.org>, "Shay" <sah### [at] simcopartscom>
wrote:
> Or to save memory, perhaps copies of a mesh pentagon oriented to face the
> camera.
This won't save much memory, in fact it could consume more. A sphere is
almost as close to the smallest possible object as you can get. Aside
from the stuff common to every object, a sphere has to keep a center
vector and a radius, 4 double values total. A mesh has a pointer to mesh
data, a long integer of the number of textures, a pointer to an array of
texture pointers, and a short integer used by the inside_vector code.
Now, if you made several different meshes, each with multiple stars, and
used randomly rotated and positioned copies of these, you would save
more memory. There would be a few patterns of stars repeated over the
sky, but it shouldn't be noticeable if they are randomly oriented and if
there are enough different patterns.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|