Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!super.upenn.edu!eecae!nancy!msudoc!haas From: haas@msudoc.ee.mich-state.edu (Paul R. Haas) Newsgroups: comp.graphics Subject: Real time NTSC animation on a Sun? Message-ID: <26@nancy.UUCP> Date: Fri, 7-Aug-87 04:17:55 EDT Article-I.D.: nancy.26 Posted: Fri Aug 7 04:17:55 1987 Date-Received: Sat, 8-Aug-87 18:08:37 EDT Sender: usenet@nancy.UUCP Reply-To: haas@betty-jo.UUCP (Paul R. Haas) Organization: Michigan State University, Engineering, E. Lansing Lines: 41 Keywords: NTSC video Sun 3 VME fast. Pardon me if this has come up before (I suspect it has). I am trying to configure a Sun 3 (or if lucky a Sun 4) which can produce animation for feeding to a VCR in real time. I want 30 frames a second, but will settle for 15 or 10 if I have to. One or two seconds of video at a shot is acceptable. I think this will require a Sun 3 with a 384 x 512 frame buffer which can do double buffering. At 12 bits per pixel that represents about 300k bytes per image. If the Sun has 28MBytes of real memory, that gives 90 frames (leaving a few MBytes for the OS and such). Which is 3 seconds of video at 30 frames a second. Does anyone make a VME bus product that can move data that fast and keep it in sync? That is a memory to whatever copy at 8.9 MBytes per second. I did some experiments. The best I could do was about 6 MBytes per second, memory to memory on a half MByte copy on a Sun 3/110. The inner loop of the test program was: register int *count, *j, *k; ... for(count=512*64;count;count--) { *j++ = *k++; *j++ = *k++; *j++ = *k++; *j++ = *k++; } Why does this run faster on a 3/110 than on a 3/260? Is there a faster way of coding this? I want as many colors as I can get. How many different colors can you tell apart with NTSC video? I am guessing 4 bits per pixel is the limit. I hope to be able to do this with less than $10k (US), given that the Sun and memory are being paid for out of a different pocket. Am I out of mind? Does this require a Sun 4? How many years do you think I will have to wait for < $10k, 30 frames/sec, 384x512, with 12 bits/pixel animation? I am also calling vendors. I will post a summary of all that I find. -- Paul Haas, haas@eecae.ee.msu.edu, ...!ihnp4!msudoc!haas I am going on vacation for ten days, if you want me to see it, send mail.