• Welcome to Dark Bit Factory & Gravity.
 

Res settings of TinyPtc.

Started by Clyde, May 18, 2006

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Clyde

Does anyone know how or what colour bit depth and refresh rate TinyPtc uses?

This what I use to start up a graphics screen under tinyptc. And wondered how, it sets the res and refresh.


If( ptc_open( "Lens", XRES, YRES ) = 0 ) Then
End -1                                   
End iF



Cheers and many thanks,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Stonemonkey

Hi clyde, the res is whatever you set it to with xres,yres. the bit depth is automatic to whatever the graphics card can handle and is dealt with when it copies your 32 bit buffer to the graphics card so you don't need to worry about that. As for framerate, i'm not sure.

Clyde

Cool, cheers Stoney dude :)

Im guessing, the refresh is worked in a similar manner to the bit rate, all taken from the gfx card.

Thanks man,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Shockwave

It seems to zip along at whatever frame rate it can.
I've had 400fps with some programs.
Shockwave ^ Codigos
Challenge Trophies Won:

Clyde

Im not entirely sure, if the headers and includes are proper FB useage, and just temporary hacks.
I've got a new effect that wants to do its own thang. GFXLib is a bit more stable. But, at the mo im having fun with MR Tiny's antics.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won: