haptic rendering using chai3d.