Image obtained in MuPAD. We produce here 100 random segments, each with random color and random transparency.
The same model in JavaView. Observe, in JavaView we have to turn on the 'enable sorting' option in Display panel. This will force sorting objects in the order how they were created.