Dark Bit Factory & Gravity

ARCHIVE => Archive => Useful links => Topic started by: TinDragon on May 22, 2006

Title: TinyPTC for C/C++ users
Post by: TinDragon on May 22, 2006
Here's the link to TinyPTC for c/c++ users.

http://sourceforge.net/projects/tinyptc/

TinyPTC is a small and easy to use framebuffer graphics library. As far as I can tell it's still the fastest way to do pixelwise drawing for use in software rendering etc.

Cheers
Jon
Title: Re: TinyPTC for C/C++ users
Post by: Shockwave on May 22, 2006
Cool, thanks for the link Jon.
Title: Re: TinyPTC for C/C++ users
Post by: xteraco on June 12, 2006
anybody know where i can get some documentation for it?
Title: Re: TinyPTC for C/C++ users
Post by: Optimus on June 12, 2006
Mmm,. TinyPTC is so tiny  ;D that there was no need for documentation (Though I'd write a simple documentation just for the sake of it if I was in the author's place). There are only three functions and the tptc example you get when downloading the package, uses all of them. Though through the header files of tptc you can do other things like change from fullscreen to windowed mode and more that maybe should be documented.

TPTC is fun! And I've noticed improvement of output speed in some PCs over SDL (but in some exactly the opposite ;P) due to fast MMX vram blitting routines. Though I use SDL for most of my projects now because it offer controls, sound, more graphics options (TPTC only supports 32bit color while SDL from 8bit to 32bit, though I only use 32bit color anyways :)), much more helpfull functions to work for a complete game project for example. TPTC is great for doing a demo I think! (Still, even in demos I prefered SDL ;))

Anyways, I haven't found much documentation rather than I figured out all myself about the three functions from the example and the readme.txt.
Title: Re: TinyPTC for C/C++ users
Post by: xteraco on June 12, 2006
hey thanks for the info, i thought i saw someone make mention of some type of documentation somewhere, guess i'm loosing it (after all it was 3am) lol
Title: Re: TinyPTC for C/C++ users
Post by: benny! on June 12, 2006
Speaking of TinyPTC someone may interest a true object orientated
C++ modern graphic lib which is the new project of the actual coder
of the PTC lib called gaffer ( http://www.gaffer.org ).

The new lib is called PixelToaster :

http://www.pixeltoaster.com/
Title: Re: TinyPTC for C/C++ users
Post by: Shockwave on June 12, 2006
This looks cool because it has mouse support and uses DX.
Thanks Benny.