Author Topic: TinyPTC for C/C++ users  (Read 1046 times)

0 Members and 1 Guest are viewing this topic.

Offline TinDragon

  • Pentium
  • *****
  • Posts: 622
  • Karma: 23
    • View Profile
    • J2K's blog
TinyPTC for C/C++ users
« 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

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 16784
  • Karma: 439
  • evil/good
    • View Profile
    • My Homepage
Re: TinyPTC for C/C++ users
« Reply #1 on: May 22, 2006 »
Cool, thanks for the link Jon.
Shockwave ^ Codigos
Challenge Trophies Won:

xteraco

  • Guest
Re: TinyPTC for C/C++ users
« Reply #2 on: June 12, 2006 »
anybody know where i can get some documentation for it?

Offline Optimus

  • DBF Aficionado
  • ******
  • Posts: 2341
  • Karma: 116
    • View Profile
    • Optimouse Demo Site
Re: TinyPTC for C/C++ users
« Reply #3 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.
Challenge Trophies Won:

xteraco

  • Guest
Re: TinyPTC for C/C++ users
« Reply #4 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

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4130
  • Karma: 223
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: TinyPTC for C/C++ users
« Reply #5 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/
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 16784
  • Karma: 439
  • evil/good
    • View Profile
    • My Homepage
Re: TinyPTC for C/C++ users
« Reply #6 on: June 12, 2006 »
This looks cool because it has mouse support and uses DX.
Thanks Benny.
Shockwave ^ Codigos
Challenge Trophies Won: