POV-Ray : Newsgroups : povray.general : Star Filled Sky : Re: Star Filled Sky Server Time
5 Aug 2024 06:20:55 EDT (-0400)
  Re: Star Filled Sky  
From: Christopher James Huff
Date: 19 Nov 2002 11:43:44
Message: <chrishuff-9963B8.11422319112002@netplex.aussie.org>
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

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