Closed flying-sheep closed 10 years ago
This is a z-sorting issue. Apply z indices to lock the drawing order.
Eh, shouldn't they be sorted by camera distance?
And if they shouldn't by default, how to enable that?
Transparent surfaces are drawn in the order they are defined, MathBox doesn't sort them for you (as that would be slow and require JS-side transformations). I'm exploring order-independent transparency for MB2, but it's not a trivial issue.
Order-independent transparency? I've been struggling with that in three.js lately in our pythreejs project. If you have a minute, I'd love to hear your general approach or thoughts on the matter.
This seems interesting: http://jcgt.org/published/0002/02/09/
With chromium 34, firefox works, but chromium looks ugly and flickers:
Firefox:
Chromium (the flicker is of course seizure-inducingly fast in reality):