Confusion/bug on volume rendering with mayavi
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
Hi,
I wanted to bring attention to a bug I've documented on stackoverflow:
http://stackoverflow.com/questions/32102213/mayavi-enthought-volume-rendering-buggy-gui
---
I think I have come across a genuine bug. It seems that something very strange and certainly unintuitive is happening with the colortransferfunction(CTF) interface.
I'll describe here what I've shown in the movie at the following link(5MB): https://drive.google.com/file/d/0B2DsQIFbCQmELTZzWVc1MDc1MGM/view?usp=sharing
Action: mlab.pipeline.volume(whatever). It doesn't matter how the volume rendering is created. Result: The volume source is displayed as red. Fine.
Action: The user just clicks on the volume transfer function without changing it much. You can even move it back to exactly where it was. Result: The volume source totally changes colors from red to green: suggesting the CTF in the "Mayavi pipeline" window is not the same as the one originally used in "Mayavi Scene 1"
Action: The user, having clicked on the opacity transfer function at least once, clicks away. Then the user clicks back. Result: The CTF totally changes to this blue-red fade instead of this nice three-color style before. If the user messes with the OTF once more, update CTF will change the volume again! from this green color to this red-purple-ish.
Note: It's not just "clicking away" and clicking back that causes this weird change in CTF. I originally ran into this problem while changing data sources. I had say 5 difference volumes. Whenever I would say "array_src.scalar_values=my_volumes.next()" the CTF would change from a rgb to a blue-red fade if and only if I had tried to alter the ctf manually in the GUI.
I really hope we can get this resolved.
---
Sorry if you were already aware of this. It is literally bringing my project to a standstill because users can't adjust the opacity or ctf.
Chris
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.