aces / brainbrowser

Web-based visualization tools for neurological data.
https://brainbrowser.cbrain.mcgill.ca/
GNU Affero General Public License v3.0
351 stars 122 forks source link

Improve performance of the overlay. #277

Closed rdvincent closed 8 years ago

rdvincent commented 8 years ago

This change speeds up the overlay-rendering process by removing the need to call volume.worldToVoxel() for every voxel. It does this by stepping the voxel coordinates through their deltas in world coordinates.