Mail Archives: djgpp/1997/06/13/14:18:43
This is just to say that I've made the sources to Tpolygon II pre-alpha
0.7 available
on http://www.fys.ruu.nl/~oti/tpoly2.html
What is Tpolygon II?
It is an extension of the excellent C++ 3D routines in Tpolygon by Janne
Lof ( mailto: jlof AT mail DOT student DOT oulu DOT fi). I added some functionality and
renamed it Tpolygon II (because tpolygon.zip is still floating around).
The source is for DJGPP and is free.
What does it do?
It offers C++ classes for 3D Z-clipped flatshaded and
perspective-correct texturemapped polygons, plus matrix and vector
classes, and VESA VBE 1.2 support for 8bpp modes. A very simple demo is
included. It supports on-the-fly viewport resizing.
Is there a reason to dump Allegro for it?
No reason. Allegro is a very complete and functional games library.
Tpolygon II offers a limited set of classes purely focussed on 3d
support. Furthermore it will be under continuous development in the next
couple of weeks, so the API is in continuous flux.
Why should I bother then?
The routines are IMHO pretty fast: on my DX4-100 the assembler-optimised
perspective-correct texturemapper runs at 85% the speed of the affine
texturemapper,and in 640x400 mode a full-screen rotating tmapped poly
runs at almost half the maximum possible frame-rate. Plus the routines
are compact and lead to small executables.The g++ libraries are NOT
used, so derived works escape the GPL.
What's next?
- gouraud shaded perspective correct texturemapping
- alpha blending
- svgalib support for Linux
- better event handling
- z-buffering and/or bsp rendering.
The library will be updated frequently, and notifications sent to this
newsgroup. Feedback is welcomed, especially bug reports. Please direct
questions to me and not to Janne unless he requests otherwise.
--
------------ Elliott Oti ---------------
------------- http://www.fys.ruu.nl/~oti ---------
- Raw text -