Saving a Z buffer

Chuck Musciano chuck at melmac.harris-atd.com
Wed May 3 22:02:10 AEST 1989


     Forgive my lack of correct terminology in the following.  I am new to
the SGI world.

     I will be writing an application to run on a 4D/50GTB which will be 
rendering an accurate picture of the Earth surrounded by several satellites.
The goal is to produce about 10 frames/sec.  Drawing the Earth is far more
complicated than drawing satellites, and will consume the majority of the
rendering time.  Since the satellites are to be animated in real time, they
will slowly move with respect to the Earth as the application runs.

     This is my question: can I prerender the Earth and save the resulting
image and Z buffer, so that when I need to draw new satellite positions, I
can just load the frame buffer with the bitmap, and the Z buffer with the
Z values?  This way, I only have to render the satellites each iteration, 
but still will get proper clipping.

     The application requires full color displays, and I had planned on using
24 bit color.  I could get away with 8 or 12 bit color maps if that would
influence the rendering speed significantly.  Any comments or suggestions
regarding this solution are appreciated.

Chuck Musciano			ARPA  : chuck at trantor.harris-atd.com
Harris Corporation 		Usenet: ...!uunet!x102a!trantor!chuck
PO Box 37, MS 3A/1912		AT&T  : (407) 727-6131
Melbourne, FL 32902		FAX   : (407) 727-{5118,5227,4004}



More information about the Comp.sys.sgi mailing list