KemengHuang / GPU_IPC

This is the first fully GPU Optimized IPC framework
Mozilla Public License 2.0
98 stars 13 forks source link

maybe subrate other than fullrate? #2

Open Jingzheng-Li opened 1 month ago

Jingzheng-Li commented 1 month ago

Hi there, there is a line in GIPC.cu file that

_computeSoftConstraintGradientAndHessian << <blockNum, threadNum >> > (_vertexes, targetVert, targetInd, _gradient, _gpNum, BH.H3x3, BH.D1Index, softMotionRate,animation_fullRate, softNum);

whether the animation_fullRate should be animation_subrate instead? Otherwise, the soft soft constraint force will increase during each motion rate?

KemengHuang commented 1 month ago

Hi, thanks for your question. It should be fullrate, because we want to move the constraint node to the target position.