Page 1 of 1
Autolegends USSR (Moscow Racer) .ovd
Posted: Sun Jul 15, 2012 5:40 am
by Tosyk
Here are the samples for Autolegends USSR (Moscow Racer) model files. Two pretty detailed vintage russian cars.
edit: link updated 12 Jan, 2023
Re: Autolegends USSR (Moscow Racer) .ovd
Posted: Sun Jul 22, 2012 12:53 am
by FurryFan
I think there might be more files that describe the entries that are in the .ovd, as I can not find a subfile listing. Though I did see some sections that give their size so maybe the file is supposed to be streamed.
Here is one type of mesh section found numerous times in both of the car's OVD files:
....
Type One Mesh sections:
4ByteIntegerSizeofSection(need to also add +4Bytes to get the true size)
2ByteInteger#NumberOfFaces
2ByteInteger#NumberOfFaces (yes it is repeated)
2ByteInteger#UnknownStructure
2ByteInteger#Vertexes
Vertex Section 12Bytes per Vertex:
{4ByteFloatingPointVertexes(X,Y,Z)
FaceIndexSection (16Bytes per Triangle)
{2ByteIntegerFaceIndexes(#1,#2,#3), FF FF, 8ByteUnknown}
UnknownSection(FaceNormalMaps??) (12Bytes per Entry)
{2ByteID, 2ByteNormalMaps(X,Y,Z), 4ByteID}
End of Section.
Seen in for example
at offsets
0x0000D04B in GAZ14.ovd
0x000256D4 in GAZ14.ovd
0x00035674 in GAZ14.ovd
0x0005B0DF in GAZ14.ovd
Type 2 mesh sections:
2ByteInteger#ofVertexsInFaceIndex
01 00 00 00 00 00 00 00 00 00 00 00
2ByteInteger#ofVertexesInMesh
2ByteInteger#ofVertexesInMesh
Triangle List
{First Vertex In Triangle, Second Vertex in Triangle, Third Vertexes In Triangle}
4ByteUnknown
2ByteUnknown
{4ByteFloatingPointVertexes(X,Y,Z)}
End of Mesh???
For Example Seen in Offsets:
0x00051070 in GAZ14.ovd
0x0005DD44 in GAZ14.ovd
Re: Autolegends USSR (Moscow Racer) .ovd
Posted: Sun Jul 22, 2012 5:05 am
by Tosyk
thank you for your researches, i will try to find more related to the model files
Re: Autolegends USSR (Moscow Racer) .ovd
Posted: Tue Jan 10, 2023 4:38 pm
by Tosyk
I've made research with ModelResearcher and something is wrong with the faces. Everything should work but they just messed for some reason.
Can anyone help me with faces?
Re: Autolegends USSR (Moscow Racer) .ovd
Posted: Thu Jan 12, 2023 10:30 am
by Bigchillghost
Tosyk wrote: ↑Tue Jan 10, 2023 4:38 pm
Can anyone help me with faces?
Using AXE:
GAZ14.ovd.png
Re: Autolegends USSR (Moscow Racer) .ovd
Posted: Thu Jan 12, 2023 10:40 am
by Tosyk
@Bigchillghost this is nice! Can you tell me where I made a mistake?
Re: Autolegends USSR (Moscow Racer) .ovd
Posted: Thu Jan 12, 2023 11:08 am
by Bigchillghost
Tosyk wrote: ↑Thu Jan 12, 2023 10:40 amCan you tell me where I made a mistake?
The vertex cache should not be referenced directly by the face indices, coz it's been "optimized".
What the reorganizer does is:
Code: Select all
outData[i] = srcData[ srcIndices[i] ]
The info in that screenshot should be straightforward enough.