Python option to adjust overlay depth
JeffreyWardman opened this issue · 3 comments
JeffreyWardman commented
Is it possible to include the following option:
gl.overlaydepth(depthPct) -> depth percentage of overlay
neurolabusc commented
I assume you want to change the overlayDepth
property of the render shader. For shader properties, you can call them by name:
import gl
gl.resetdefaults()
gl.loadimage('spm152')
gl.overlayload('spmMotor')
gl.minmax(1, 4, 4)
gl.opacity(1,10)
gl.shaderadjust('overlayDepth', 0.2)
JeffreyWardman commented
Thanks @neurolabusc! That's exactly what I was after. Cheers!
gourdchen commented
That's exactly what I was need, which could be added in the command.md.