
its not the formula wich is interesting but the equation.. means where f(x,y,z) = 0.. now my idea is simple:
if f(x1,y,z) < 0 and f(x,y,z) > 0 then the result (f(x,y,z)=0) lays somewhere between those two points.. so we plot a red pixel
means if
sign(f(x1,y,z)) = sign(f(x,y,z)) or
sign(f(x,y1,z)) = sign(f(x,y,z)) or
sign(f(x,y,z1)) = sign(f(x,y,z)) then
plot point(x,y,z)
the results of f(x,y,z) are first stored into a grid so in the rendering i only have this:
if sign(f[x1][y][z])=sign(f[x][y][z]) etc.. so far so fast..
its not at all correct but works very well as you can see.. now i could do some triangulation of the mesh but no:) i just wanted the proof..
