Is there a way to set and restore the stencil bounds without manual scaling? Ideally in world space instead of screen space? Otherwise, you must resize the stencil every time the smart material is closed and reopened even if the lock button is enabled. (The lock button only keeps the stencil in sync when the material is open. If you close the material, say to paint, then the stencil size is off when you reopen the material if the camera has been moved.)
It isn't clear to me how to use this feature if you're concerned about texel density. I'm constantly having to unlock, scale the stencil against some known entity, and then lock while the material is open.
One or more of the following would make this workflow so much easier:
- Is the stencil window size available to be set by the c++ or python API? I'm happy to write a script / plugin to set / restore but don't see a way to do this with the API.
- Have a UI/dialog or a load/save stencil xml/json like the camera.
- If the lock worked across material open/close then we would only have to size the stencil once per session instead of every time I close the smart material.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
cread
Is there a way to set and restore the stencil bounds without manual scaling? Ideally in world space instead of screen space? Otherwise, you must resize the stencil every time the smart material is closed and reopened even if the lock button is enabled. (The lock button only keeps the stencil in sync when the material is open. If you close the material, say to paint, then the stencil size is off when you reopen the material if the camera has been moved.)
It isn't clear to me how to use this feature if you're concerned about texel density. I'm constantly having to unlock, scale the stencil against some known entity, and then lock while the material is open.
One or more of the following would make this workflow so much easier:
- Is the stencil window size available to be set by the c++ or python API? I'm happy to write a script / plugin to set / restore but don't see a way to do this with the API.
- Have a UI/dialog or a load/save stencil xml/json like the camera.
- If the lock worked across material open/close then we would only have to size the stencil once per session instead of every time I close the smart material.
Thanks so much,
Cread
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.