> Direction guessing sounds do-able. If a voxel is visible
> from both front, side and bottom, it's a front, bottom,
> right or front, bottom, left (based on which side you
> take), and you choose a value.
> I'll write something like this for the voxel editor.
Am on to it already :) That is exactly how I'd set about
it, which is why I can only assign normals based upon
those 18 directions instead of the real TS normals base
(36 or whatever).
It will be in Voxel_Tools.pas, like RemoveRedundantVoxels
function.
I am also writing a little wizard to call this function,
but you should easily be able to use it in the actual main
editor source as well. Open source of course!
> > Godwin's diagram:
> > http://ar2.eclipsemods.com/godwin/faces.gif
clearly shows the faces values we need. All eighteen of
them please, team!
We need:
> > We need:
> > bottom -
> > top -
> > left -
> > right -
> > front -
> > back -
> > back, top, left -
> > back, top, right -
> > back, bottom, left -
> > back, bottom, right -
> > front, top, left -
> > front, top, right -
> > front, bottom, left -
> > front, bottom, right -
> > left, top -
> > left, bottom -
> > right, top -
> > right, bottom -