Mail Archives: djgpp/1998/03/02/21:06:17
At 03:42 3/2/1998 GMT, Kris Mills wrote:
>
>So friends and i are working on a simple 3d game. We want the game to run as
>fast as possible. Right now i am useing Vesa linear buffer which is great. But
>i'm useing far ptr's. I have heard that near ptr's are faster the far ptr's
>but i want my code to be stable. I'm pretty new to Djgpp and protectect mode.
>Dose anyone have any good examples or can point me in the right direction
>to the fast way to draw to the screen.
There's some debate over this point. In general, if most of your graphics is
blitting, farptr (i.e. `movedata') should be just as fast as nearptr. If you
use putpixel a lot, nearptr may be faster, but IMHO that says you should
think about your algorithms some more.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -