Blender Git Commit Log

Git Commits -> Revision 9d228c6

Revision 9d228c6 by Jeroen Bakker (master)
October 17, 2019, 10:16 (GMT)
Volumetric: Debug Voxel Size and Location

When displaying the voxel size for an adaptive domain the resolution of the adaptive domain was used to calculate the world size of the voxel.
This patch changes this to use the initial size of the domain.

When using adaptive domain the overlay was not rendered in the right
place.

Thanks to sebbas for part of the patch!

Reviewed By: sebbas, fclem

Differential Revision: https://developer.blender.org/D6076

Commit Details:

Full Hash: 9d228c688d71b17ed9cc3dc231acbb1c1ddbdb6d
Parent Commit: 81cc57d
Lines Changed: +25, -8

2 Modified Paths:

/source/blender/draw/modes/object_mode.c (+15, -3) (Diff)
/source/blender/draw/modes/shaders/volume_velocity_vert.glsl (+10, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021