Thanks Juanjo, would definitely appreciate if you find some time to look into it. As it stands now Vectron is really interesting but only really usable in standalone for me as I can't do scene geometry interaction in Houdini.
I've attached an ORBX for you. This scene is basically just pulling in a an SDF as an external resource (char_sdf), generating a fractal SDF with a Vectron (fractal_sdf), and then combining via another Vectron doing a simple union operation (SDFUnion). The union operation I'm looking to replicate in Houdini is pretty simple:
- Code: Select all
#include "octane-oslintrin.h"
shader SDFUnion(
_sdf input1 = _SDFDEF,
_sdf input2 = _SDFDEF,
output _sdf c = _SDFDEF)
{
c.dist = max(input1.dist, input2.dist);
}
This code currently works in Houdini if you throw it into a Vectron node but there's just no way to feed any SDF source other than another Vectron right now.