Mail Archives: djgpp/1999/02/17/09:02:37
LETUFFE SYLVAIN wrote:
[snip]
> Well as a matter of fact could I get the source code of your graphical
> library ??? please.
> 'cause I am also working on a 3D engine but only in bank switching mode and
> I'd like to try the lfb as well...
> How do you use the descriptor to lfb memory ? how do you know which adress
> it is ?
>
> Go on with your work ! (good luck...)
> Could you just mail me a little explanation of how do you compute your
> rotation (up-down)(left-right)?
Okay, I'll send you the LFB-detect stuff right away, it's
sort of ripped out, I'm sending the include files so include them
and call init_graphics and then you should be able to
use the descriptor "video_ds" that points to the lfb.
You might also want to change the mode, it is actually
640x480x16bit(mode 0x111) and it's in init_lfb_graphics().
Well, if it doesn't work, sen me a mail.
second: the rotation stuff:
Hm, it's not as easy as that, or, actually, it's rather easy, but
I don't have any easy code to show you "like that".
So, I'll try to write down something, and include some of
my code if you want to.
And now a question from me: what are you using(planning to use) for
algorithm in your engine? resolution etc?
Ludvig Larsson
- Raw text -