ZBrushCentral

Animating spotlight images? [Answered]

Is it possible to keyframe the position, size, etc of your images in spotlight? I’m setting up different camera angles of my model to match specific reference images, but the timeline only seems to record the 3d view alignment and not anything for the Spotlight. I’m working around it by saving different spotlight files for each view but loading them really interrupts my workflow.

Running zb 4R4-p2

thanks,
m

You can create a macro which will help with this. I have attached the sort of thing.

Download the file and save it to your ZBrush /ZStartup/Macros/Misc folder.
In ZBrush, press the Macro>Reload All Macros button.
You will now have a button called ‘Go Next Sp’ in the Macro>Misc sub-palette. You can give it a hotkey if you want.

The Macro will cycle through the TimeLine keyframes, loading a Spotlight file at each keyframe. At the end it will automatically go back to the beginning. The macro assumes you start at the beginning so the first press would move to the second keyframe - and you would need to cycle once through to set the cycle to the beginning.

The Spotlight files must be named “Spotlight01.zsl”, “Spotlight02.zsl”, and so on, and saved in a folder called ZSpotlights which is in the main ZBrush folder (for example, C:\Program Files (x86)\Pixologic\ZBrush 4R4\ZSpotlights). You may need to create this folder, but it is worth it because you will then be able to see your Spotlights files in Lightbox.

There’s nothing to stop you editing the macro to make it do exactly what you want. You can read about macros here: http://docs.pixologic.com/user-guide/customizing-zbrush/macros/

Download macro file here:

HTH,