View Single Post
Old 19-04-15, 06:30   #567
msulak
Member
 
Joined: Mar 2015
Posts: 83
Default

Quote:
Originally Posted by Sardoc View Post
What about the shaky polygons? The 3dfx version, that ATI exe and the PSX version all have those shaky polygons unfortunately. The only versions that didn't have them were the PowerVR one and Redention.
Unfortunately games computes transformations in integers / fixed point and to make it even worse, it also rounds vertices screen coordinates into integers, so there is no subpixel precision. Even quake and doom in sw mode are subpixel accurate.
I tried to disassemble tombati in hope of getting untransformed vertices but I had little success. I confirmed informations that I wrote here and found funcion at address 0x401bd0 which I believe is called one time each frame and takes original untransformed world model. But I do not yet fully understand data structures of that model. This funcion calls 4 others function. First function calculates light levels of vertices, others three function transforms and renders cubes. That I found by removing function call and watching what happen.

Last edited by msulak; 19-04-15 at 18:22.
msulak is offline   Reply With Quote