rouncer at August 1st, 2011 17:07 — #1
i sorta read a bit of complex jargon on this i didnt quite understand, but i figure i get how people do it.
say i take the neighbourhood of a voxel and weight the final normal direction by the count of 90 degree faces in each direction.
how successful is this, and is there an example of it i could see somewhere?
im in a debate whether i should do this, or keep a floating position inside the voxel to compute normals, the latter being difficult enough for me to think twice about doing it.
v71 at August 1st, 2011 19:00 — #2
I fear that this might lead to some very concentrade normals along the edges , have you thought to compute the voxel normals, like ordinary small cubes and then averaging if they share an adjacent cube ?
tobeythorn at August 1st, 2011 21:08 — #3
Since a voxel can stand on its own, or be out on a peninsula, and is a 3d object, not a surface, a voxel really must have a vector for each face, even if it is part of a "surface". v71's suggestion sounds good, per face.
you might also start by drawing difference configurations of nearest neighborhood configuration (in 2d) and figuring out what kind of normals make sense for each situation. Then, see if you can generalized (much better than writing out 2\\^9th cases manually).
rouncer at August 2nd, 2011 04:01 — #4
points taken, yeh maybe youd lose detail.
im just colouring per cube, i dont have enough memory already.
my plan is i super sample the voxels and get a floating position inside the voxel (extra 3 bytes per voxel), then i can make proper directions, and might improve editing tools too.