Skip to content
Snippets Groups Projects
Commit 74da87bf authored by jonwd7's avatar jonwd7
Browse files

bhkMoppBvTreeShape

The phrase "Shape Scale" was used as "Scale" was already taken for the
MOPP Scaling Factor and is referred to by code.
parent f9d999cf
No related branches found
No related tags found
No related merge requests found
...@@ -2338,9 +2338,8 @@ ...@@ -2338,9 +2338,8 @@
<niobject name="bhkMoppBvTreeShape" abstract="0" inherit="bhkBvTreeShape"> <niobject name="bhkMoppBvTreeShape" abstract="0" inherit="bhkBvTreeShape">
Memory optimized partial polytope bounding volume tree shape (not an entity). Memory optimized partial polytope bounding volume tree shape (not an entity).
<add name="Shape" type="Ref" template="bhkShape">The shape.</add> <add name="Shape" type="Ref" template="bhkShape">The shape.</add>
<add name="Unknown Int" type="uint">Unknown.</add> <add name="Unused" type="uint" arr1="3">Garbage data from memory. Referred to as User Data, Shape Collection, and Code.</add>
<add name="Unknown 8 Bytes" type="byte" arr1="8">Unknown bytes.</add> <add name="Shape Scale" type="float" default="1.0">Scale.</add>
<add name="Unknown Float" type="float" default="1.0">Unknown float, might be scale.</add>
<add name="MOPP Data Size" type="uint" calculated="1">Number of bytes for MOPP data.</add> <add name="MOPP Data Size" type="uint" calculated="1">Number of bytes for MOPP data.</add>
<add name="Origin" type="Vector3">Origin of the object in mopp coordinates. This is the minimum of all vertices in the packed shape along each axis, minus 0.1.</add> <add name="Origin" type="Vector3">Origin of the object in mopp coordinates. This is the minimum of all vertices in the packed shape along each axis, minus 0.1.</add>
<add name="Scale" type="float">The scaling factor to quantize the MOPP: the quantization factor is equal to 256*256 divided by this number. In Oblivion files, scale is taken equal to 256*256*254 / (size + 0.2) where size is the largest dimension of the bounding box of the packed shape.</add> <add name="Scale" type="float">The scaling factor to quantize the MOPP: the quantization factor is equal to 256*256 divided by this number. In Oblivion files, scale is taken equal to 256*256*254 / (size + 0.2) where size is the largest dimension of the bounding box of the packed shape.</add>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment