Mail Archives: djgpp/1997/10/27/18:17:21
From: | gautam AT interlog DOT com (Gautam N. Lad)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Clipping or Double Buffering : Which one should I use? (Allegro)
|
Date: | Mon, 27 Oct 97 16:02:09 GMT
|
Organization: | InterLog Internet Services
|
Lines: | 27
|
Message-ID: | <632ddv$o5m$1@news.interlog.com>
|
NNTP-Posting-Host: | ip213-65.cc.interlog.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
I have a question. I'm writing a farily big program, and I need to know if I should
use double buffering or clipping?
I draw (mainly polys) to a double buffer, and then blit it to the screen. Is there a
speed difference between the two?
It doesn't really make much of a difference which one I use, but I need to know
which one is faster.
Right now, it takes my program to draw 8100 3D rectangles (in 4 views of size
240x180) about 4 seconds. The polys drawn are not of the same view.
This is using double buffering. I haven't tried clipping, but should I?
My computer is 486 DX2 50MHz, w/ 32MB RAM (running on a DriveSpaced
drive w/ 20MB free).
Bye!
-------------------------------------------------------------
Gautam N. Lad
-------------------------------------------------------------
E-Mail: gautam AT interlog DOT com
Website: http://www.interlog.com/~gautam
POV-Ray Software, Gallery, and Links!
-------------------------------------------------------------
- Raw text -