I want to do something pretty simple with spotlight. I want to write a script that does this:
- Grabdoc
- Select the generated grabdoc texture
- load that texture into spotlight
- turn on spotlight
- position this new texture to be in perfect and exact alignment with the canvas (so center position 0,0 with 100% zoom)
- let me then paint that texture onto the mesh
This is basically to allow me to ‘bake’ mat caps in a more controllable fluent way. Where, all in zbrush, I can just project a grabdoc back onto the mesh.
Now I am a fluent programmer, just don’t know very much about specific zscript stuff. I can’t figure out in anyway how I might be able to control spotlight. I was watching the command log output, and spotlight operations don’t output anything in the log. Is there someway I could set a spotlight image to center 0,0 and 100% zoom through zscipting? OR really any method?