examples

 
 Base examples

rand32
Draws random pixels in a virtual 32bit mode

rand16
Draws random pixels in a virtual 16bit mode

256color
Draws a color gradient in a virtual 8bit mode

image
Loads an image and displays it on the screen

bitblt
Demonstrates complex blitting between surfaces

primary
Accesses the primary surface to write directly to the screen

modelist
Outputs a list of all available PTC display modes

profile
Profiles the speed of the PTC pixel format converters

 
 Win32 specific examples

windows
Demonstrates how to write a native windowed application for Win32

wndproc
Demonstrates how to use your own custom WndProc with PTC

native
Demonstrates how to use native GDI functions with PTC under Win32.
 
 
 Advanced examples

logo
An animated metallic PTC logo with colored lightsources.

fire
A 256 color fire effect.

tunnel
A free directional tunnel by Blackaxe/KoLOr

mojo
A raytraced logo with fog lighting by Statix/Pulse