delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/23/07:28:09

From: frenchc AT cadvision DOT com (frenchc)
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro sprite rotation wierdness
Date: 23 Jan 1997 03:39:21 GMT
Organization: CADVision Development Corp.
Lines: 17
Message-ID: <5c6mh9$2c2k@elmo.cadvision.com>
NNTP-Posting-Host: ts14ip244.cadvision.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hey I posted this before but it looks like it's gone now :)

I really hate to bitch about allegro, because allegro is so obviously
wonderful, but does anybody know how to keep sprites from clipping when
you rotate them? I assume this is just a limitation (?feature) of the
asm routine or algo used (I don't really know rotational algos except
the really slow kind :) and i can of course overcome this by copying to
an intermediary sprite that is big enough, or else just making all my
sprites big enough (square sprites of sqrt((w/2)*(w/2) + (h/2)*(h/2)) should
do it but that's not really important I guess). But one will slow things
down and the other wastes valuable memory.

- Calvin - www.cadvision.com/frenchc/ - Psychological Salvation HomePage -
-                                                                        -
-     Turangalila kicks serious tail (sig temporarily out of order)      -
-                                                                        -
--------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019