bkloppenborg / simtoi

The SImulation and Modeling Tool for Optical Interferometry
GNU General Public License v3.0
7 stars 6 forks source link

Enable Transparency #36

Closed bkloppenborg closed 12 years ago

bkloppenborg commented 12 years ago

Partially transparent models should be enabled.

bkloppenborg commented 12 years ago

Note, when transparency is enabled the models must be sorted in the z-direction before rending... i.e. draw models from front to back. In the case when models have (z_1 - z_2) < epsilon, draw the opaque ones first.

bkloppenborg commented 12 years ago

Closed in 1b596a5c0c0579f5955c6168194a72503197ae9a. Depth buffering is enabled, seems to prevent the need to do sorting by z as suggested in my previous comment.