Temporal Bone Simulator

| Tasklist |

FS#99 - Opacity of volume in tutor mode doesn't modify segments.

Attached to Project: Temporal Bone Simulator
Opened by Thomas Kerwin (tkerwin) - Wednesday, 20 June 2007, 19:36 GMT
Task Type Feature Request
Category Graphics
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Change it so when opacity slider changes the opacity of the volume in tutor mode, the opacity of the displayed segments is unaffected.
This task depends upon

Comment by Thomas Kerwin (tkerwin) - Monday, 25 June 2007, 20:52 GMT
Proposed method to implement:

Make mask volume: 1 for activated segments, 0 for remainder.
In the shader:
s = textureLookup(mask);
mix( slider_based_opacity, original_opacity, s)

This should let fragments that are drawing activated segments use the original opacity instead of the altered opacity based on the slider.

Loading...