various fixes

STB probably shouldn't fail on failed info, just continue.
Assimp only add sequences if there are any.
Update kork chan asset.
This commit is contained in:
marauder2k7 2024-03-01 15:01:47 +00:00
parent cd6656be35
commit 6355da5df6
7 changed files with 44 additions and 67 deletions

View file

@ -1,6 +0,0 @@
<ShapeAsset
AssetName="kork_chanShape"
fileName="@assetFile=kork_chanShape.fbx"
constuctorFileName="@assetFile=kork_chanShape.tscript"
materialSlot0="@asset=Prototyping:kork_chan_mat"
originalFilePath="C:/dev/T3D/PRs/MiscFixes20220525/Templates/BaseGame/game/data/Prototyping/shapes/kork_chanShape.fbx"/>

View file

@ -1,28 +1,8 @@
//--- OBJECT WRITE BEGIN ---
new TSShapeConstructor(kork_chanShape_fbx) {
baseShapeAsset = "Prototyping:kork_chanShape";
upAxis = "DEFAULT";
unit = "-1";
LODType = "TrailingNumber";
singleton TSShapeConstructor(kork_chanShapefbx)
{
baseShapeAsset = ":kork_chanShape_shape";
singleDetailSize = "0";
IgnoreNodeScale = "0";
AdjustCenter = "0";
AdjustFloor = "0";
forceUpdateMaterials = "0";
convertLeftHanded = "0";
calcTangentSpace = "0";
genUVCoords = "0";
transformUVCoords = "0";
flipUVCoords = "1";
findInstances = "0";
limitBoneWeights = "0";
JoinIdenticalVerts = "1";
reverseWindingOrder = "1";
invertNormals = "0";
removeRedundantMats = "1";
animTiming = "Seconds";
neverImportMat = "DefaultMaterial ColorEffect*";
animFPS = "2";
canSave = "1";
canSaveDynamicFields = "1";
};
//--- OBJECT WRITE END ---

View file

@ -0,0 +1,5 @@
<ShapeAsset
AssetName="kork_chanShape_shape"
fileName="@assetFile=kork_chanShape.fbx"
constuctorFileName="@assetFile=kork_chanShape.tscript"
materialSlot0="@asset=Prototyping:kork_chan_mat"/>

View file

@ -1,4 +1,3 @@
<ImageAsset
AssetName="kork_chan_image"
imageFile="@assetFile=kork_chan.png"
originalFilePath="C:/dev/T3D/PRs/MiscFixes20220525/Templates/BaseGame/game/data/Prototyping/shapes/kork_chan.png"/>
imageFile="@assetFile=kork_chan.png"/>

View file

@ -5,12 +5,11 @@
<Material
Name="kork_chan_mat"
mapTo="kork_chan"
alphaTest="true"
alphaRef="100">
doubleSided="true"
originalAssetName="kork_chan_mat">
<Material.Stages>
<Stages_beginarray
DiffuseMapAsset="Prototyping:kork_chan_image"
doubleSided="true"/>
DiffuseMapAsset="Prototyping:kork_chan_image"/>
</Material.Stages>
</Material>
</MaterialAsset>