home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.sys.amiga.demos
- Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!eeklund
- From: eeklund@nyx.cs.du.edu (Eivind Eklund)
- Subject: Re: Writing a StarField. Which method is best?
- Message-ID: <1992Nov9.021804.20666@mnemosyne.cs.du.edu>
- Summary: Sprite vs Bitplanes
- X-Disclaimer: Nyx is a public access Unix system run by the University
- of Denver for the Denver community. The University has neither
- control over nor responsibility for the opinions of users.
- Keywords: Starfield,Stars
- Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
- Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
- References: <1992Nov7.104910.60476@cc.usu.edu>
- Date: Mon, 9 Nov 92 02:18:04 GMT
- Lines: 19
-
- In article <1992Nov7.104910.60476@cc.usu.edu> slmt9@cc.usu.edu (Joshua Dinerstein) writes:
- > In this one I would like to add a star field. But I got to thinking
- >about it and I am not sure what method is the best/fastest. Is it fastest to
- >try to use and reuse Sprites to put the stars up. Or is just simple drawing the
- >best?
- >
- That depends on what kind of starfield you want to do. If you want a
- simple one, of the type just going from left to right, then you will
- defineatly be better of using sprites. You CAN do this for one going out
- from the center too, but using bitplanes is usually easier. You can never
- KNOW that you will have enough sprites if you do one coming from the center.
-
- For one coming from the center, just use perspecive on points coming
- towards you for the SIMPLEST (not fastest) implementation.
-
- Eivind Eklund aka Vishnu Cryptoburners
- eeklund@nyx.cs.du.edu Phone: +47-0-9-944946 (BBS, shout to get me)
-
-
-