The last post described how to find meshdata within NFSU2 files. Now, we should take a look at what we found to prove we know what we’re doing.
This is just a quick Python program to make a 3d plot of the points we’ve found:
The program plots anything that looks like a valid coordinate for a vertex. Looking like a vertex means 3 floats in a reasonable range, followed by a valid normal and tex coordinate, as specified in my previous post. Cars in NFSU2 actually contain all the different body upgrades for a car in the car’s Geometry.bin, so you end up with a blob of different bumpers plotted on top of each other. Nevertheless, you can see it’s a car! Here is the result: