help > RE: Surface Rendering
Apr 27, 2023  12:04 PM | Chris Rorden
RE: Surface Rendering
If you choose Scripting/Templates/fmri_mesh menu item you get something that is close. You would want to use the 'Toon' cel shader and set the mesh color to green. With these changes the script becomes:

import gl
gl.resetdefaults()
gl.meshload('BrainMesh_ICBM152.rh.mz3')
gl.overlayload('motor_4t95mesh.rh.mz3')
gl.overlaycolorname(1, 'red')
gl.shaderxray(1.0, 0.3)
gl.azimuthelevation(110, 15)
gl.meshcurv()
gl.meshcolor(128,192,128)
gl.shadername('Toon')
Attachment: toon2.png

Threaded View

TitleAuthorDate
johezz Apr 26, 2023
RE: Surface Rendering
Chris Rorden Apr 27, 2023
johezz May 1, 2023
Chris Rorden May 1, 2023