An outdated 3D engine in assembler using different tricks that used to be populair a few years ago, like a 50hz mode and a weird VGA resolution.
The Toruskit
This piece of code is from year 96. It has 16bit integer maths and 32bit
memory addressing with integrated real flatmode manager, so this won't
run under Windows or EMM/QEMM. Himem.sys is necessary. The engine was
written for i80486 with slow VGA. I just had to release something, sorry :-)
The code is out-dated, but someone may have fun when exploring it.
Some features of the engine:
- one object with max. 16384 faces
- Environment mapping with one 256x256x256 texture
- Two phase .3DS converting, please use first c3d then f3con
- Only 50Hz display mode 256x256x256 is supported, my NOKIA survived ;-)
- Bucket sort algorithm is used.
- 2D backface culling, needs all 3d points to be transformed.
- linear texturemapper without a single DIV,
- max. poly size is 255 in y- and 255 in x-dimension.
- "complete" clipping is supported.
- 2 instructions per pixel. Thanks to MRI/Doomsday for his speed-up ideas.
- lots of self modifying code, runs ok on 486/P5/P6, CPUs with
longer pre-fetch queue may suffer some compatibility problems.
- 6 MULs matrix rotation.
- complilation: TASM flat3d.asm
TLINK flat3d /3
File List:
88SINCOS.INC
9Kb
C3D.EXE
17Kb
C3D.PAS
10Kb
F3CON.ASM
7Kb
F3CON.EXE
1Kb
FILE_ID.DIZ
131b
FLAT3D.ASM
48Kb
FLAT3D.EXE
210Kb
MY1.SCX
65Kb
README.TXT
1Kb
TEST.F3D
39Kb
TORKKU.DCC
25Kb
Similar code
Gfx - Rotating Galaxy
(Popularity: ) : Simple, nice particle galaxy
Some tech stuff:
* 640x480x32Bit
* TinyPTC Framebuffer
* C Code (Win32), pure software. 3D Engine
(Popularity: ) : A fast and goodlooking 3D engine. It also includes a .3DS convertor.