delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/15/19:55:22

Date: Mon, 15 Dec 1997 16:54:57 -0800 (PST)
From: "'KaRNaGE' D Lydiard" <karnage AT u DOT washington DOT edu>
Reply-To: "'KaRNaGE' D Lydiard" <karnage AT u DOT washington DOT edu>
To: djgpp AT delorie DOT com
Subject: Allegro TrueColor Modes + Plush3d
Message-ID: <Pine.A41.3.96a.971215163936.54356A-100000@dante19.u.washington.edu>
MIME-Version: 1.0

I've gotten Allegro + Plush3d to work with 8bit modes very easily..but has
anyone gotten to work with the new highcolor or true colormodes? 

i've been doing the 8bit implementation like this:

TheCamera = plCamCreate(SCREEN_W, // Screen width
                        SCREEN_H, // Screen height
                        1.0,      // Aspect
                        60.0, // Field of view
                        &vir_seg->line[0][0], //double buffer, Can't be 'screen'
                        NULL // ZBuffer
                       );

where vir_seg = BITMAP *
and set_gfx_mode() has already been called
then you just do your rendering and blit() the vir_seg to the screen...

but for truecolor modes this does't work very well =P..any ideas?


                                                --KaRNaGE

- Raw text -


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