Helbreath In 800x600
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
well it depens
it wouldnt lag you if u have broadban internet.
128kbs internet you may see more lag.
anything under thats dial up.
sooooo.. it realy depens on your players.
i would just make an option of useing an 800by 600 or 640 by 480.
it wouldnt lag you if u have broadban internet.
128kbs internet you may see more lag.
anything under thats dial up.
sooooo.. it realy depens on your players.
i would just make an option of useing an 800by 600 or 640 by 480.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
Rofl? I thought you were smart...marleythe9 wrote: well it depens
it wouldnt lag you if u have broadban internet.
128kbs internet you may see more lag.
anything under thats dial up.
sooooo.. it realy depens on your players.
i would just make an option of useing an 800by 600 or 640 by 480.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
That's what I thought when I read that.Dax wrote:Rofl? I thought you were smart...marleythe9 wrote: well it depens
it wouldnt lag you if u have broadban internet.
128kbs internet you may see more lag.
anything under thats dial up.
sooooo.. it realy depens on your players.
i would just make an option of useing an 800by 600 or 640 by 480.
Let me pull my 166mhz pentium out and run it off 16gbps. Yea, my comp won't lag. >.> so many people think internet speed defines your computer lag.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
becouse anything under 400mhz is an old computer..
and probley dosnt work...
if u have a 166mhz you need to upgrade now!.
average person with a computer mostlikly will not be useing a 166mhz computer.
thats like a 10 -15 year on comp.
and probley dosnt work...
if u have a 166mhz you need to upgrade now!.
average person with a computer mostlikly will not be useing a 166mhz computer.
thats like a 10 -15 year on comp.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
I dont like to be mean.. but...marleythe9 wrote: becouse anything under 400mhz is an old computer..
and probley dosnt work...
if u have a 166mhz you need to upgrade now!.
average person with a computer mostlikly will not be useing a 166mhz computer.
thats like a 10 -15 year on comp.
<span style='font-size:14pt;line-height:100%'>You my friend, are a FUCKING RETARD</span>
Your internet speed has nothing to do with your FPS, learn something about comps before posting you fucking moron.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
One thing that you could do to speed up performance is to use Triple Buffering.
You must understand how flipping works.
First off you must understand what happens when the backbuffer is flipped. Normally you're application is double buffered (only windowed mode can be single). Double buffering means that there are 2 surfaces. The primary, and backb uffer. Every time you flip, DDraw swaps their memory around, the backbuffer appears on the primary, and the primary appears on the backbuffer, got it?
Think of it like this:
Stage 1: A B
Stage 2: B A
Stage 3: A B
Think of (A) and (B] being two images; where A is blank, and B is a picture. In stage 1, primary buffer is A, and backbuffer is drawn to (therefore having an image in it ). Stage 2 shows the image on the backbuffer flipped onto the primary buffer, and we would now be seeing (B], and at the same time, the backbuffer would now be empty (A). Stage 3 is just the same again, this time the primary has what was just on backbuffer (stage 2) and the backbuffer has what was just on the screen.
So basically whilst the backbuffer is being flipped, you're program is busy. Basically idle, the messages have been sent to DirectDraw, and whilst it is rendering, your application is doing fuck all.
So rather than leaving the program to sit there and scratch its imaginary balls it'd be best to have it, so that when the current frame is flipping, you are already drawing the next frame. So when flipping is complete, you can just flip again immediately. Got it so far?
This method of rendering is called *drumroll* TRIPLE BUFFERING! *yay*
You may be stupid enough to think that if three buffers are faster than two, four buffers would be better again! Not true. Using more than 3 will -SLOW YOUR SHIT DOWN-. This is because of memory limitations, in a 640x480 program one buffer takes up about 350kb of memory. 2 buffers, about 700kb. 3 buffers, about 1050kb. The more memory you use, the slower shit gets.
So whilst you have 2 backbuffers working, things are obviously a lot faster, and your flipping chain ends up being like so.
Stage 1: A B C
Stage 2: B C A
Stage 3: C A B
and so on.
Now that you -should- understand triple buffering, i'll give you the secret on how to implement it.
You literally have to change 1 value in the code. You'll be amazed *drumroll*
IN:: DXC_DDraw.cpp
FIND::
EDIT::
TO::
You're done, triple buffering..
In theory this should on average give you a significant FPS increase. But then, its all down to clean code at the end of the day at how fast something runs. But triple buffering is obviously faster than double.
If you dont feel like doing this, then do what marleythe9 suggests. Go pay more money for a faster internet connection. That will really speed your FPS up. :rolleyes::rolleyes:
PS: marleythe9 you're a fucking moron
You must understand how flipping works.
First off you must understand what happens when the backbuffer is flipped. Normally you're application is double buffered (only windowed mode can be single). Double buffering means that there are 2 surfaces. The primary, and backb uffer. Every time you flip, DDraw swaps their memory around, the backbuffer appears on the primary, and the primary appears on the backbuffer, got it?
Think of it like this:
Stage 1: A B
Stage 2: B A
Stage 3: A B
Think of (A) and (B] being two images; where A is blank, and B is a picture. In stage 1, primary buffer is A, and backbuffer is drawn to (therefore having an image in it ). Stage 2 shows the image on the backbuffer flipped onto the primary buffer, and we would now be seeing (B], and at the same time, the backbuffer would now be empty (A). Stage 3 is just the same again, this time the primary has what was just on backbuffer (stage 2) and the backbuffer has what was just on the screen.
So basically whilst the backbuffer is being flipped, you're program is busy. Basically idle, the messages have been sent to DirectDraw, and whilst it is rendering, your application is doing fuck all.
So rather than leaving the program to sit there and scratch its imaginary balls it'd be best to have it, so that when the current frame is flipping, you are already drawing the next frame. So when flipping is complete, you can just flip again immediately. Got it so far?
This method of rendering is called *drumroll* TRIPLE BUFFERING! *yay*
You may be stupid enough to think that if three buffers are faster than two, four buffers would be better again! Not true. Using more than 3 will -SLOW YOUR SHIT DOWN-. This is because of memory limitations, in a 640x480 program one buffer takes up about 350kb of memory. 2 buffers, about 700kb. 3 buffers, about 1050kb. The more memory you use, the slower shit gets.
So whilst you have 2 backbuffers working, things are obviously a lot faster, and your flipping chain ends up being like so.
Stage 1: A B C
Stage 2: B C A
Stage 3: C A B
and so on.
Now that you -should- understand triple buffering, i'll give you the secret on how to implement it.
You literally have to change 1 value in the code. You'll be amazed *drumroll*
IN:: DXC_DDraw.cpp
FIND::
Code: Select all
BOOL DXC_ddraw::bInit(HWND hWnd)
Code: Select all
ddsd.dwBackBufferCount = 1;
Code: Select all
ddsd.dwBackBufferCount = 2;
In theory this should on average give you a significant FPS increase. But then, its all down to clean code at the end of the day at how fast something runs. But triple buffering is obviously faster than double.
If you dont feel like doing this, then do what marleythe9 suggests. Go pay more money for a faster internet connection. That will really speed your FPS up. :rolleyes::rolleyes:
PS: marleythe9 you're a fucking moron
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
hahaha. For those who don't want to read Orkl's essay, triple buffering just makes the render thread work when it would otherwise be idle waiting for game logic to catch up (generally on multithreaded apps).
Don't see how it would make much of a difference on HB though.
Don't see how it would make much of a difference on HB though.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

triple buffering has nothing to do with multithreaded apps.
Helbreath is NOT multithreaded.
Helbreath is NOT multithreaded.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Do tell me then, how does it write the back (2nd) buffer just by changing one value if there is only code to write a single back buffer? On top of that, how is there time to write to the 2nd back buffer if there is only one thread and that single thread only has to catch up with itself? Buffering is only good when there is something to write to the buffer and a single thread can only write one at a time.Orkl wrote: triple buffering has nothing to do with multithreaded apps.
Helbreath is NOT multithreaded.
Even if it writes ABC writing A, then B, then C, it's still only keeping up with itself.
Even if it somehow managed to be on C while displaying A, point being? A single thread would then display A, do everything it had to while writing the buffer, then display B. The code is only setup to write to the back buffer once then render. DrawSprite does all of that, then it flips it. You'd have to add deeper code to have it effectively use a 2nd buffer and even then, in HB it will be just about useless.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

Incorrect, DirectX automatically writes to the neccessary buffer. The functions that are used to write to the buffers do not matter, whilst there is more than 1 buffer, DirectDraw will keep writing while a buffer is free regardless. Multithreading isn't needed to write to more than 1 buffer at a time. DirectDraw is capable of writing to multiple buffers as long as their free.
Try it out. Make a simple tile engine, and display a 100x100 map. Use double buffering and check your FPS. Triple buffer it, and then try again, see your FPS increase.
Try it out. Make a simple tile engine, and display a 100x100 map. Use double buffering and check your FPS. Triple buffer it, and then try again, see your FPS increase.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
I got it I got it xD ignore my posts

<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

me too!ADDKiD wrote: Wow. I learnt something!![]()

<img src='http://drazzt.iespana.es/Drazzt/logo2.jpg' border='0' alt='user posted image' />
It's amazing you can learn anything at all.ADDKiD wrote:Grats to Juggalo2 on his 1000th postDrazz wrote:me too!ADDKiD wrote: Wow. I learnt something!![]()
![]()
. Yeah Drazz, it's amazing you can actually still learn something here in Outpost.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
