Article View: rec.games.programmer
Article #596Re: Bitmaps
From: Greg Alt
Date: Wed, 12 Aug 1992 08:27
Date: Wed, 12 Aug 1992 08:27
24 lines
1599 bytes
1599 bytes
In article <1992Aug10.194049.58044@cc.usu.edu>, sl8nl@cc.usu.edu writes: >In article <1992Aug11.002459.18167@mnemosyne.cs.du.edu>, loine@nyx.cs.du.edu (lee oine) writes: >> anyone know of a good routine to rotate a bitmap picture? >> i know that bitmap shrinking and zooming can be done quite easily, but >> cant figure how to rotate. >> take zooming for example, it can be done using only ADDition and the >> overflow bit. that is done in Wolf3D, i think, so as to make it very fast! >> > >The perspective mapper routine can be easily modified to do this... Now, you can't just post something like that without giving us a better explanation... It sounds like you are claiming that it is possible to do real-time sprite rotations without multiplies. I don't believe that is possible on a PC (even a 386), but I would love to be proven wrong. I'm planning on doing some sprite rotation stuff for a game, and my plan was to pre-compute it all which would be fast but take tons of space. and while you are at it, how is scaling done in Wolf3D using only adds?
Technical Details
Message-ID:
<1992Aug12.022753.19340@hellgate.utah.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!peruvian.utah.edu!galtReferences:
<1992Aug11.002459.18167@mnemosyne.cs.du.edu> <1992Aug10.194049.58044@cc.usu.edu>Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!peruvian.utah.edu!galt From: galt%peruvian.utah.edu@cs.utah.edu (Greg Alt) Subject: Re: Bitmaps Date: 12 Aug 92 02:27:53 MDT Message-ID: <1992Aug12.022753.19340@hellgate.utah.edu> Followup-To: rec.games.programmer Reply-To: galt%peruvian.utah.edu@cs.utah.edu Organization: University of Utah, CS Dept., Salt Lake City References: <1992Aug11.002459.18167@mnemosyne.cs.du.edu> <1992Aug10.194049.58044@cc.usu.edu> Lines: 24