Another modeling riddle...
Posted: Fri Jan 09, 2004 4:02 am
OK, here are some other number sequences... It seems to me they are bounding sphere and/or box definitions, but I'd like to hear what you think. They are all part of the models headers in the objects chunk of a level resource file. The headers are each 80 bytes in total, apparently representing 20 4-byte integers. The last 4 indicate the number of points in the object mesh, the number of triangles, the number of "components" or sub-assemblies it is divided into, and the size in bytes of the associated texture... so it's the previous 16 values which are unknown.
Apparently, value #1 is the bounding sphere radius, values #2, 3 and 4 are some sort of X, Y and Z coordinates (maybe the center?) and values #5, 6 and 7 another set of X, Y and Z coordinates (bounding box dimensions?). Value #8 is mostly the same in all, with a few exceptions, and value #9 is mostly zero, with a few exceptions too. Values #10-16 seem to be always zero.
Here are few examples: (I'm listing only values 1-9 in each case)
From the resource file Area4.rsc:
bush6a: 0, 0, 111, 0, 16, 200, 16, 18, 0
bush7a: 0, 0, 126, 0, 16, 200, 16, 18, 0
tree4b: 64, 0, 826, 0, 16, 200, 16, 18, 64
tree5a: 64, 0, 744, 0, 16, 200, 16, 18, 64
bush2c: 0, 0, 132, 0, 16, 200, 16, 18, 0
bush5b: 0, 0, 137, 0, 16, 200, 16, 18, 0
bush3c: 0, -1, 153, 0, 16, 200, 16, 18, 0
gbush2b: 0, 0, 146, 0, 16, 200, 16, 18, 0
bush4c: 0, 0, 82, 0, 16, 200, 16, 18, 0
tree3b: 64, 0, 288, 0, 16, 200, 26, 18, 64
gbush1b: 0, 2, 135, 0, 16, 200, 16, 18, 32 (no, it doesn't mean "George Bush"...)
From the resource file Area2.rsc (some objects are also present in Area4.rsc; an * denotes which values of the same object are different in both files):
palm1f: 64, 0, 674, 0, 16, 200, 16, 18, 0
gbush1b: 0, 1*, 135, 0, 16, 200, 16, 18, 0*
stone1: 128, 1, 55, 0, 16, 200, 16, 18, 0
palm2d: 64, 0, 284, 0, 16, 200, 16, 18, 0
palm4b: 64, 0, 694, 0, 16, 200, 32, 18, 0
palm3c: 128, 1, 40, 0, 16, 200, 16, 18, 0
br: 128, 1, 59, 0, 16, 200, 16, 20, 0
br3: 128, -11, 59, 0, 16, 200, 16, 20, 0
gbush2b: 0, 0, 70*, 0, 16, 200, 16, 18, 0
pbush1: 0, -3, 58, 0, 16, 200, 16, 18, 0
bush2c: 0, 0, 132, 0, 0*, 0*, 0*, 18, 0
bush2b: 0, 0, 132, 0, 0, 0, 0, 18, 0
bush3a: 0, 0, 127, 0, 16, 200, 16, 18, 0
bush3c: 0, -1, 153, 0, 16, 200, 16, 18, 0
bush4c: 0, 0, 82, 0, 0*, 0*, 0*, 18, 0
3leafs: 128, -12, 79, 0, 16,200, 16, 18, 0
pbush: 0, -3, 58, 0, 16, 200, 16, 18, 0
tree3a: 128, 0, 288, 0, 16, 200, 16, 18, 0
tree4a: 128, 0, 826, 0, 16, 200, 16, 18, 0
bush5a: 128, 0, 137, 0, 16, 200, 16, 18, 0
bush5b: 128*, 0, 137, 0, 16, 200, 16, 18, 0
bush6a: 0, 0, 111, 0, 16, 200, 16, 18, 0
So, any ideas?
Apparently, value #1 is the bounding sphere radius, values #2, 3 and 4 are some sort of X, Y and Z coordinates (maybe the center?) and values #5, 6 and 7 another set of X, Y and Z coordinates (bounding box dimensions?). Value #8 is mostly the same in all, with a few exceptions, and value #9 is mostly zero, with a few exceptions too. Values #10-16 seem to be always zero.
Here are few examples: (I'm listing only values 1-9 in each case)
From the resource file Area4.rsc:
bush6a: 0, 0, 111, 0, 16, 200, 16, 18, 0
bush7a: 0, 0, 126, 0, 16, 200, 16, 18, 0
tree4b: 64, 0, 826, 0, 16, 200, 16, 18, 64
tree5a: 64, 0, 744, 0, 16, 200, 16, 18, 64
bush2c: 0, 0, 132, 0, 16, 200, 16, 18, 0
bush5b: 0, 0, 137, 0, 16, 200, 16, 18, 0
bush3c: 0, -1, 153, 0, 16, 200, 16, 18, 0
gbush2b: 0, 0, 146, 0, 16, 200, 16, 18, 0
bush4c: 0, 0, 82, 0, 16, 200, 16, 18, 0
tree3b: 64, 0, 288, 0, 16, 200, 26, 18, 64
gbush1b: 0, 2, 135, 0, 16, 200, 16, 18, 32 (no, it doesn't mean "George Bush"...)
From the resource file Area2.rsc (some objects are also present in Area4.rsc; an * denotes which values of the same object are different in both files):
palm1f: 64, 0, 674, 0, 16, 200, 16, 18, 0
gbush1b: 0, 1*, 135, 0, 16, 200, 16, 18, 0*
stone1: 128, 1, 55, 0, 16, 200, 16, 18, 0
palm2d: 64, 0, 284, 0, 16, 200, 16, 18, 0
palm4b: 64, 0, 694, 0, 16, 200, 32, 18, 0
palm3c: 128, 1, 40, 0, 16, 200, 16, 18, 0
br: 128, 1, 59, 0, 16, 200, 16, 20, 0
br3: 128, -11, 59, 0, 16, 200, 16, 20, 0
gbush2b: 0, 0, 70*, 0, 16, 200, 16, 18, 0
pbush1: 0, -3, 58, 0, 16, 200, 16, 18, 0
bush2c: 0, 0, 132, 0, 0*, 0*, 0*, 18, 0
bush2b: 0, 0, 132, 0, 0, 0, 0, 18, 0
bush3a: 0, 0, 127, 0, 16, 200, 16, 18, 0
bush3c: 0, -1, 153, 0, 16, 200, 16, 18, 0
bush4c: 0, 0, 82, 0, 0*, 0*, 0*, 18, 0
3leafs: 128, -12, 79, 0, 16,200, 16, 18, 0
pbush: 0, -3, 58, 0, 16, 200, 16, 18, 0
tree3a: 128, 0, 288, 0, 16, 200, 16, 18, 0
tree4a: 128, 0, 826, 0, 16, 200, 16, 18, 0
bush5a: 128, 0, 137, 0, 16, 200, 16, 18, 0
bush5b: 128*, 0, 137, 0, 16, 200, 16, 18, 0
bush6a: 0, 0, 111, 0, 16, 200, 16, 18, 0
So, any ideas?