Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, TipmyPip), 1,333 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
what is d3d_triplebuffer? #66840
03/16/06 19:51
03/16/06 19:51
Joined: Feb 2003
Posts: 195
slacker Offline OP
Member
slacker  Offline OP
Member

Joined: Feb 2003
Posts: 195
and what is it for? I have read that you should disbale it for published games - what is its function? What advantage is there to using it?

I can't seem to find any info on it.

Re: what is d3d_triplebuffer? [Re: slacker] #66841
03/16/06 19:58
03/16/06 19:58
Joined: Mar 2003
Posts: 569
FRAJO Offline
User
FRAJO  Offline
User

Joined: Mar 2003
Posts: 569
Normally there's a front and a backbuffer.

the engine draws in the backbuffer and when that's finished it flips backbuffer
to front buffer and front to back. Then draw again.

d3d_triplebuffer adds one more buffer. let's call it middlebuffer

Draw to backbuffer

Switch back to middle, middle to front, front to back

goto Draw to backbuffer

So it takes 3 frames with d3d_triplebuffer

panel.visible=on;
wait(3);
//now the panel is visible;


------------------------------------------- ICQ: 242543712 Ich bin nicht hier und bin nicht da. Wo bin ich dann? ".." ("") ^ ^ This is the evil vampire bunny. Copy and paste him into your signiture to help him achieve world domination. Yeah
Re: what is d3d_triplebuffer? [Re: FRAJO] #66842
03/17/06 18:17
03/17/06 18:17
Joined: Feb 2003
Posts: 195
slacker Offline OP
Member
slacker  Offline OP
Member

Joined: Feb 2003
Posts: 195
So what is the advantage of this? It seems like it would slow things down.

Re: what is d3d_triplebuffer? [Re: slacker] #66843
03/17/06 19:53
03/17/06 19:53

A
Anonymous
Unregistered
Anonymous
Unregistered
A



http://www.nvidia.com/page/pg_20010527107687.html

Quote:

Double Buffering
A programming technique that uses two frame buffers so the GPU can be working on one frame while the previous frame is being sent to the computer display. This prevents conflicts between the display refresh function and the graphics rendering function.

Frame Buffer
Memory that is dedicated to the graphics processor and used to store rendered pixels before they are displayed on the monitor.

Triple Buffering
A step beyond double buffering that uses an additional back buffer to process the next image, resulting in smoother animation. With triple buffering, the GPU can start rendering a third frame while the first frame is being displayed and the second frame is waiting to be displayed. Triple buffering helps to insure that the GPU is never idle because it is waiting for rendered frames to be sent to the monitor.




Re: what is d3d_triplebuffer? #66844
03/17/06 21:07
03/17/06 21:07
Joined: Feb 2003
Posts: 195
slacker Offline OP
Member
slacker  Offline OP
Member

Joined: Feb 2003
Posts: 195
Thanks for digging that up.

Smoother animation? I will set up a test this weekend to test with and without triple buffering.

Anyone else have any thoughts as to how much better game preformance is with or without d3d_triple buffering?

Re: what is d3d_triplebuffer? [Re: slacker] #66845
03/18/06 00:47
03/18/06 00:47

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Triple buffering requires more video memory, but you will gain additional framerates.

Re: what is d3d_triplebuffer? #66846
03/18/06 04:17
03/18/06 04:17
Joined: Mar 2003
Posts: 3,010
analysis paralysis
NITRO777 Offline
Expert
NITRO777  Offline
Expert

Joined: Mar 2003
Posts: 3,010
analysis paralysis
Quote:

I have read that you should disbale it for published games



Doesnt make sense to disable it for published games unless you were shooting for low-end systems.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1