home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / sys / amiga / demos / 1769 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.6 KB  |  45 lines

  1. Newsgroups: alt.sys.amiga.demos
  2. Path: sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!news.cs.hut.fi!news.cs.hut.fi!oahvenla
  3. From: oahvenla@snakemail.hut.fi (Osma Ahvenlampi)
  4. Subject: Re: Writing a StarField. Which method is best?
  5. In-Reply-To: franklin@csugrad.cs.vt.edu's message of 22 Nov 92 14:47:13 GMT
  6. Message-ID: <OAHVENLA.92Nov23182313@lk-hp-3.hut.fi>
  7. Sender: usenet@cs.hut.fi (Uutis Ankka)
  8. Organization: Helsinki University of Technology, Finland
  9. References: <OAHVENLA.92Nov19113731@lk-hp-3.hut.fi> <MKNIP.92Nov20135703@valerian.hut.fi>
  10.     <OAHVENLA.92Nov20171852@lk-hp-4.hut.fi> <By4H2q.CJs@csugrad.cs.vt.edu>
  11. Date: Mon, 23 Nov 1992 16:23:13 GMT
  12. Lines: 31
  13.  
  14. Me:
  15. >>The display switching just comes as a byproduct, the big thing is that,
  16. >>provided enough power, you can watch demos and download new ones at the same
  17. >>time. Even if YOU don't do anything else while watching a demo, you might wis
  18. >>that your computer does.
  19.  
  20. In article <By4H2q.CJs@csugrad.cs.vt.edu> franklin@csugrad.cs.vt.edu (John Franklin) writes:
  21. >I'd tend to agree with you on that point, it would be nice to be dl'ing
  22. >another demo (or fonts or whatever), or doing some other meanial, 
  23. >non-interactive task while watching a demo.  However, most demos are not
  24. >stable enough that I'd want to try it.  Besides, if a demo starts pulling
  25. >down time at just the point when something else (say a comm program) wants
  26. >time to prevent overflowing buffers or send an ACK, odds are the task is
  27. >going to die.  The more stuff, or rather, the more stuff*demand that you
  28. >have on a multitasking machine, the more likely it is to die.
  29.  
  30. Only if the demo is badly written. If the coder goes to such lenghts to give
  31. you multitasking even while the demo is running, it's not a big deal to make
  32. it a bit friendlier still... Do all time-consuming things in a normal task,
  33. and use a VBlank interrupt to synchronise them. Now, if it's for example 3D
  34. vectors, the picture can be calculated and drawn in a task, and when it's
  35. ready, put onto screen. Moving around, ie. updating eye/object coordinates
  36. can be done in the VBlank, and you get variable fps, while the movement
  37. speed stays constant... With a 68020+, the things done in VBlank take so
  38. little time (NO DMA loops in players, okay? Use NotePlayer!), that term
  39. programs would have no problem, even with faster modems. I have only 68010,
  40. but I can raytrace, play music with MultiPlayer, use an editor and download
  41. at the same time, at least up to 9600 bps... Don't know about higher speeds.
  42. --
  43. Osma Ahvenlampi  -  oahvenla@snakemail.hut.fi   * Workstation power for micro-
  44. All my opinions are not necessarily really mine * computer price: Amiga := FUN
  45.