I'm trying to implement the Marchin Cubes algorithm, but I have some questions (which might be very trivial, but I can't seem to find an answer).
When Isovalue = 5, and I have a block like this:
0-------10
| |
| |
0-------5
Because 0 < 5, the left corners should both be marked "off". 10 should be marked "on" because 10 > 5. But what about the 5 in the bottomright corner? Should this be on or off?
And when I use lineair interpolation using the example from above (assuming the 5 is marked "on"), is this is where the intersection points should be? (marked with x)
----x----
| |
| |
--------x
And when I draw for this block, should it be basically a line between the both x's?
Thanks in advance!