MAMEWorld >> News
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

icronnya77
Ex-Arcade collector and Mame Fan
Reged: 10/27/06
Posts: 105
Loc: Germany
Send PM


Ville's update
#278090 - 03/04/12 05:25 AM


Research on Type Zero 3D hardware has been going forward steadily. I've now managed to decode the textures, and that has revealed some more insights on the inner workings of the hardware. All textures are stored as pairs of 64x64 ARGB1555. One of the textures is the "traditional" color texture and the other is either a alpha mask, environment, or what looks to be a normal map. Normal maps are quite exotic for a hardware this old, so I'm guessing they're actually UVL textures for EMBM-style bump-mapping.

I also found some interesting patterns in the RAM marked as "screen RAM". I then fed this data into my little DirectX-powered 3D visualization program (coincidentally the same I used during Supermodel development :P) Not really surprisingly the data turned out to be polygons. Pictured below is the body of a Toyota Celica from Battle Gear. The textures used are the "alternate" set that is the environment map for the body and normal maps for some details.

Next step is to get the games to send over the display list data, matrices, etc. to actually render this data in MAME.


http://vlinde.mameworld.info/



Solstar
MAME Fan
Reged: 08/29/08
Posts: 717
Send PM


Re: Ville's update new [Re: icronnya77]
#278107 - 03/04/12 11:30 AM


that's great,keep up the good work



icronnya77
Ex-Arcade collector and Mame Fan
Reged: 10/27/06
Posts: 105
Loc: Germany
Send PM


new Ville's update new [Re: icronnya77]
#278295 - 03/06/12 10:53 AM


I found the 3D display list from the main RAM, even though the game doesn't attempt to parse it at the moment. I quickly deciphered the basics of the data layout and the result is quite close to actual footage. Geometry and textures seem correct at least. I've included a vidcap from the actual game for reference.

Hopefully I'll have some 3D displaying soon in MAME too

UPDATE: Found vertex normals.

http://vlinde.mameworld.info/


Pages: 1

MAMEWorld >> News
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
0 registered and 226 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1566