T3D 1.1 Final - Complex skinned mesh generate a crash [With FIX] - LOGGED (THREED-3168)
by Alfio Saitta · in Torque 3D Professional · 08/19/2011 (8:08 pm) · 3 replies
Build: 1.1 Final
Platform: Any
Target: TS System
Issues: As title
Steps to Repeat:
1. Launch the game
2. Enter on the World Editor
3. Place a really complex shape with more of 16 bones that influences a single vertex.
Suggested Fix:
Increase the default number of the bones that can influence one vertex in the tsSkin
Around the line 392 of the ts/tsMesh.h:
Platform: Any
Target: TS System
Issues: As title
Steps to Repeat:
1. Launch the game
2. Enter on the World Editor
3. Place a really complex shape with more of 16 bones that influences a single vertex.
Suggested Fix:
Increase the default number of the bones that can influence one vertex in the tsSkin
Around the line 392 of the ts/tsMesh.h:
class TSSkinMesh : public TSMesh
{
public:
struct BatchData
{
enum Constants
{
// Increase the BonesPerVert value for complex skinned mesh ->
//maxBonePerVert = 16, // Abitrarily chosen
maxBonePerVert = 128, // <- THE NEW VALUE
// <- Increase the BonesPerVert number for complex skinned mesh
};
....About the author
Torque Owner Rex
BrokeAss Games