Mail Archives: djgpp/1997/12/15/19:55:22
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 -