Date: Tue, 12 Sep 2000 05:56:27 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: kalum AT goatbeard DOT grendel DOT net To: Damian Yerrick cc: djgpp AT delorie DOT com Subject: Re: Threading Advice In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 11 Sep 2000, Damian Yerrick spoke the following immortal words, > On Mon, 11 Sep 2000 20:25:14 +0600 (LKT), Kalum Somaratna aka Grendel > wrote: > > >The plain and simple illusion method is the best IMHO. > > > >Great games like doom etc don't use threads > > So how do they do complex things (AI, etc.) that may take more than > the 1/200 second between drawing one frame and starting the next? Well if the AI takes a lot of time *ie like running on a *very* slow cpu) then the frame rate drops, as you often have seen it happen. Actually the AI is not complex at all and doesn't take the most time, IMHO the bottleneck and the step which takes the most time is rendering and drawing, which is limited by the slow writed to video mem etc. You can see that the bottleneck is the drawing time, by just increasing the windiw size, the frame rate will drop a lot as you increase the window size. Best Wishes, Grendel -- .---------------------.---------------------.----{)--. | /"__ ._ _ _ _| _ |`-.grendel AT lintux DOT cx.-'(]__/|| | | \__/ | (-'| |(_|(-'l_ `-===============-' [_] .-: | `--------------------------------------------/|\/| |-' ProZilla, the new Download Accelerator for Linux (GPL),