Author Topic: Res settings of TinyPtc.  (Read 3836 times)

0 Members and 1 Guest are viewing this topic.

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Res settings of TinyPtc.
« on: May 18, 2006 »
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.

Code: [Select]
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:

Offline Stonemonkey

  • Pentium
  • *****
  • Posts: 1315
  • Karma: 96
    • View Profile
Re: Res settings of TinyPtc.
« Reply #1 on: May 19, 2006 »
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.

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Res settings of TinyPtc.
« Reply #2 on: May 19, 2006 »
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:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Res settings of TinyPtc.
« Reply #3 on: May 19, 2006 »
It seems to zip along at whatever frame rate it can.
I've had 400fps with some programs.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Res settings of TinyPtc.
« Reply #4 on: May 19, 2006 »
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: