Add api for showing bounding box lines and setting their color.
This remains unimplemented in Path Trace mode, and the bounds will not show up.
In order to position them correctly without breaking the "align" functionality, I had to modify the way transforms are applied to the volume data. Some changes are to ensure that all three of path trace, ray march, and isosurface meshes are displayed with the same transforms.
Lastly, there is a bonus bug fix for switching between path trace and ray march modes when clipping is applied. (Currently if you apply axis clipping and then switch modes, your clipping gets reset.)
Add api for showing bounding box lines and setting their color.
This remains unimplemented in Path Trace mode, and the bounds will not show up.
In order to position them correctly without breaking the "align" functionality, I had to modify the way transforms are applied to the volume data. Some changes are to ensure that all three of path trace, ray march, and isosurface meshes are displayed with the same transforms.
Lastly, there is a bonus bug fix for switching between path trace and ray march modes when clipping is applied. (Currently if you apply axis clipping and then switch modes, your clipping gets reset.)