hiding geo temporarily while working in sops, tool context?

   1663   1   0
User Avatar
Member
84 posts
Joined: Jan. 2013
Offline
Hi, this might be a very straightforward case of ‘read the manual’, but haven't had any luck finding what I am after.
Essentially, I would like to temporarily disable (for example as long as a hotkey is pressed) the display of the all geo, manipulators etc, so I can look at the background image without any obstructions.
The specific use case is grooming/combing hair in order to match a specific reference image. While painting I'd like to temporarily elect to only see the reference (a little bit like doing onion skinning, just with the current frame, not over time).

Does anyone know how to achieve this?

Thanks!
carsten kolve - ds @ image engine
User Avatar
Member
84 posts
Joined: Jan. 2013
Offline
the best I could come up with is modifying the clipping planes of the camera in a tool, just wondering if there is a more native solution? (things like control over opacity etc would be sweet)

import toolutils
camera = toolutils.sceneViewer().curViewport().camera();
near = camera.parm("near").eval(); 
far = camera.parm("far").eval();
camera.parm("near").set(far);
camera.parm("far").set(near);
Edited by carstenk - Jan. 15, 2020 16:13:22
carsten kolve - ds @ image engine
  • Quick Links