Fixed cloth simulation generating incorrect normals
Fixed cloth simulation generating incorrect normals. Also added option in Cloth Component to update normals of static particles (disabled by default). User will want to keep the option disabled when continuity of the normals is important, like in characters, but for environmental cloth the mesh could look better when the normals of static particles are updated too. Enable 'Update normals of static particles' option on blind slices of Nvcloth gem Fix unit tests
This commit is contained in:
@@ -74,6 +74,7 @@ namespace NvCloth
|
||||
->Field("Solver Frequency", &ClothConfiguration::m_solverFrequency)
|
||||
->Field("Acceleration Filter Iterations", &ClothConfiguration::m_accelerationFilterIterations)
|
||||
->Field("Remove Static Triangles", &ClothConfiguration::m_removeStaticTriangles)
|
||||
->Field("Update Normals of Static Particles", &ClothConfiguration::m_updateNormalsOfStaticParticles)
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user