Opened 10 years ago
Closed 10 years ago
#142 closed defect (fixed)
Transparency for a subset of atoms not working
| Reported by: | Tom Goddard | Owned by: | Tom Goddard |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Graphics | Version: | |
| Keywords: | Cc: | meng@… | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | chimera |
Description
open 4hhb
color /a #aaaaaa80
This makes chain A atoms transparent but the opaque atoms are not visible through the transparent atoms.
The problem is that the drawing code is treating all sphere instances as transparent or all as opaque based on the color of the first instance.
A similar bug will effect ribbons that are partially transparent.
Note:
See TracTickets
for help on using tickets.
Fixed.
Fix handles all cases (instanced atoms, ribbons, surfaces, ...) by adding shader options to draw only opaque or transparent fragments.