Primitive: Soft object [Wyvill et al. 1986]

Definition: f(r)= 1 - 22*r^2/{9*d^2} + 17*r^4/{9*d^4} - 4*r^6/{9*d^6}
r - distance to the given point

Call: hfSoft(x,x0,y0,z0,d,T);


x - point coordinates

x0,y0,z0 - arrays of blob centers

d - array of d - radii of influence

T - threshold value

Test file: soft.hf

hyperfun/lib_soft.txt · Last modified: 2008/12/11 10:14 by admin
This site contains HyperFun and other software that is free to use and modify under the provisions of the CGPL agreement unless otherwise stated.
Project hosted by the Digital Materialization Group
HyperFun CGPL Creative Commons License Valid CSS