mkazhdan / PoissonRecon

Poisson Surface Reconstruction
MIT License
1.59k stars 431 forks source link

Some issues about stencil #264

Open lujiaxin001 opened 1 year ago

lujiaxin001 commented 1 year ago

Hi, professor, thanks for sharing the codes, I am confused of the tencil.

(1) In the function addFEMConstraints, Is (D)stencil(x, y, z) the B-spline? If it is, in addInterpolationConstraints, what is _CalculateConstraint_(pData, bsData.baseBSplines[fIdx[0]][x + LeftSupportRadius],...,bsData.dBaseBSplines[fIdx[0]][x + LeftSupportRadius],...)?This also looks like B-splines.

(2)What is the relationship between stencil and stencils[2][2][2]?

(3)In the function _CalculateConstraint_, I notice that when we update constraints, we use parameters p._value, what is the difference between parameter p._value and p.value?

thank you very much!