wipeout icon indicating copy to clipboard operation
wipeout copied to clipboard

Another polygon found ! (0x14)

Open aybe opened this issue 10 years ago • 1 comments

These were pretty easy to figure out: camera paths

newplot newplot 1 newplot 2 newplot 3 newplot 4 newplot 5 newplot 6

Will post the details by tomorrow ...

Good night :dancer:

aybe avatar Nov 11 '15 05:11 aybe

Here's the struct:

                case PrmPolygonType.Camera: // 0x14
                    var i1 = reader.ReadInt32BEs(4);
                    var i2 = reader.ReadInt32BEs(4);
                    var i3 = reader.ReadInt32BEs(4);
                    var unk = reader.ReadInt32BE();
                    var camPolygon = new CamPolygon()
                    {
                        Header = header,
                        Vec1 = new Vec3I32(i1[0], i1[1], i1[2]),
                        Name1 = i1[3],
                        Vec2 = new Vec3I32(i2[0], i2[1], i2[2]),
                        Name2 = i2[3],
                        Vec3 = new Vec3I32(i3[0], i3[1], i3[2]),
                        Name3 = i3[3],
                        Unknown = unk
                    };
                    return camPolygon;

All vectors are identical, names are most of the time either garbage or non-alphanumeric chars.

aybe avatar Nov 12 '15 00:11 aybe