diff --git a/nif.xml b/nif.xml index 8ea8f42c00f26ea5ad28823c821f9da249666313..21b5eede8dda3a01df1e8adad523d3c7737b5162 100644 --- a/nif.xml +++ b/nif.xml @@ -6316,34 +6316,7 @@ <option value="15" name="VF_Unknown_8" /> <!-- & 32768 --> </bitflags> - <compound name="BSVertexDataRigid"> - Rigid Vertex Data compound - <add name="Vertex" type="HalfVector3" /> - <add name="Bitangent X" type="hfloat" /> - <add name="UV" type="HalfTexCoord" /> - <add name="Normal" type="ByteVector3" /> - <add name="Bitangent Y" type="byte" /> - <add name="Tangent" type="ByteVector3" /> - <add name="Bitangent Z" type="byte" /> - <add name="Vertex Colors" type="ByteColor4" cond="(ARG & 512) != 0" /> - </compound> - - <compound name="BSVertexDataSkinned"> - Skinned Vertex Data compound - <add name="Vertex" type="HalfVector3" /> - <add name="Bitangent X" type="hfloat" /> - <add name="UV" type="HalfTexCoord" /> - <add name="Normal" type="ByteVector3" /> - <add name="Bitangent Y" type="byte" /> - <add name="Tangent" type="ByteVector3" /> - <add name="Bitangent Z" type="byte" /> - <add name="Vertex Colors" type="ByteColor4" cond="(ARG & 512) != 0" /> - <add name="Bone Weights" type="hfloat" arr1="4" /> - <add name="Bone Indices" type="byte" arr1="4" /> - </compound> - <compound name="BSVertexData"> - Catch all Vertex Data compound, SLOW <add name="Vertex" type="HalfVector3" cond="((ARG & 16) != 0) && ((ARG & 16384) == 0)" /> <add name="Bitangent X" type="hfloat" cond="((ARG & 256) != 0) && ((ARG & 16384) == 0)" /> <add name="Unknown Short" type="ushort" cond="((ARG & 256) == 0) && ((ARG & 16384) == 0)" /> @@ -6360,20 +6333,6 @@ <add name="Bone Indices" type="byte" arr1="4" cond="(ARG & 1024) != 0" /> <add name="Unknown Int 2" type="uint" cond="(ARG & 4096) != 0" /> </compound> - - <compound name="BSVertexDataFloat"> - Rigid Vertex Data compound - <add name="Vertex" type="Vector3" /> - <add name="Bitangent X" type="float" /> - <add name="UV" type="HalfTexCoord" /> - <add name="Normal" type="ByteVector3" /> - <add name="Bitangent Y" type="byte" /> - <add name="Tangent" type="ByteVector3" /> - <add name="Bitangent Z" type="byte" /> - <add name="Vertex Colors" type="ByteColor4" cond="(ARG & 512) != 0" /> - <add name="Bone Weights" type="hfloat" cond="(ARG & 1024) != 0" arr1="4" /> - <add name="Bone Indices" type="byte" cond="(ARG & 1024) != 0" arr1="4" /> - </compound> <niobject name="BSTriShape" abstract="0" inherit="NiAVObject"> Fallout 4 Tri Shape @@ -6390,20 +6349,7 @@ <add name="Num Triangles" type="uint" /> <add name="Num Vertices" type="ushort" /> <add name="Data Size" type="uint" /> - <!-- NifSkope performance is **extremely** poor with ARG passing and so optimized compounds for the majority of cases were created --> - <!-- Rigid (Optimized) --> - <add name="Vertex Data" type="BSVertexDataRigid" arr1="Num Vertices" arg="VF" - cond="(Data Size > 0) && ((VF == 432) || (VF == 944))" /> - <!-- Skinned (Optimized) --> - <add name="Vertex Data" type="BSVertexDataSkinned" arr1="Num Vertices" arg="VF" - cond="(Data Size > 0) && ((VF == 1456) || (VF == 1968))" /> - <!-- Catch All (SLOW) --> - <add name="Vertex Data" type="BSVertexData" arr1="Num Vertices" arg="VF" - cond="(Data Size > 0) && ((VF & 16384) == 0) && ((VF != 432) && (VF != 944) && (VF != 1456) && (VF != 1968))" /> - <!-- Float Replacement (SCOL folder) --> - <add name="Vertex Data" type="BSVertexDataFloat" arr1="Num Vertices" arg="VF" - cond="(Data Size > 0) && ((VF & 16384) != 0)" /> - + <add name="Vertex Data" type="BSVertexData" arr1="Num Vertices" arg="VF" cond="Data Size > 0" /> <add name="Triangles" type="Triangle" arr1="Num Triangles" cond="Data Size > 0" /> </niobject>