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