AHHH!!! Where did my mountains go?
I tested this new compile on some old scenes and all of my mountains in the
scene went away (using height field with a fractal *.pot file). Anyway I
have now tried four forms for the if statement . . .
(!dx_zero)
this still crashed
(dx_zero)
this lost the mountains but didn't crash
(dx_zero != 0)
this lost the mountains but didn't crash
(maxdv != 0)
mountains are back and it didn't crash
So, I'm going to stick with (maxdv != 0). With the lines now looking like .
. .
if ((maxdv != 0) && (k1 < k2 - EPSILON / maxdv) && (k1>0.0))
and
if ((maxdv != 0) && (k1 < k2 + EPSILON / maxdv) && (k1 > 0.0))
I really need to look at how dx_zero is implimented. This just seems odd.
mark arrasmith
Post a reply to this message
|