added visualization for 3D
Merge remote-tracking branch 'upstream/ffd' into ffd