home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / sys / amiga / demos / 1470 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.6 KB  |  36 lines

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