VirtualBrainLab / Urchin

Universal Renderer for Neuroscience
GNU General Public License v3.0
8 stars 1 forks source link

Animation tutorial #157

Closed dbirman closed 1 month ago

dbirman commented 10 months ago

"I think animations are really crucial for visualizing the 3D data most effectively, and while I haven’t tried to make them in Urchin yet I know that there are ways to do it. It'd be useful to have some example scripts to make visualizations such as: switching between different sets of neurons in the same camera view (e.g. results from different experiments repeated in the same location, for comparison), progressively zooming in, rotating the brain, etc. Some cool additional functionality could be to have a way of fading regions and/or neurons in and out when making comparison animations, I'd imagine you can do this by using the set_alpha method but not exactly sure how" (from Jordan)

dbirman commented 10 months ago

Video added 2a5bc9ff6ab983e8fdeb3045ea44eab3e3f67454

But needs work: euler rotations are not great for this -- maybe pass the total rotation around each axis and then build the rotations on the Unity side as quaternions?

dbirman commented 5 months ago

Added a system for rotating around yaw only