Hi
I really miss two simple buttons, one that lock the current view and one that unlocks the view.
I have found this script to do the job:
setTransformLockFlags $ #all
setTransformLockFlags $ #none
but one have to selecet the camera and target manuel to lock the view, before running the script.
I guess that the script should select the active camera and it's target and lock them.
I know how to add a script to a toolbar, but not how to write it properly :-/
Can anyone help?
Thanks
lock and unlock camera
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
In case others could use this:
-- lock active camera and its target
(
activeCam = getActiveCamera()
setTransformLockFlags activeCam #all
setTransformLockFlags activeCam.target #all
)
-- unlock active camera and its target
(
activeCam = getActiveCamera()
setTransformLockFlags activeCam #none
setTransformLockFlags activeCam.target #none
)
By miauu from http://www.scriptspot.com
-- lock active camera and its target
(
activeCam = getActiveCamera()
setTransformLockFlags activeCam #all
setTransformLockFlags activeCam.target #all
)
-- unlock active camera and its target
(
activeCam = getActiveCamera()
setTransformLockFlags activeCam #none
setTransformLockFlags activeCam.target #none
)
By miauu from http://www.scriptspot.com
HOME octane standalone v3.07 | octane plugin for sketchup 3.07.0.14 | sketchup pro 2017 17.2.2555 64 bit | windows 10 pro 10.015063 build 15063 | i7-6700k @4.0 GHz | 32gb ram | 2x gtx 1070 | nvidia driver 382.33
isn't that the same what 'lock button' does? =)
I always use it while modeling - start rendering some previews while changing model & switching through viewports in progress of doing so =)
I always use it while modeling - start rendering some previews while changing model & switching through viewports in progress of doing so =)
Hi Glimpse
where is the lock button?
where is the lock button?
HOME octane standalone v3.07 | octane plugin for sketchup 3.07.0.14 | sketchup pro 2017 17.2.2555 64 bit | windows 10 pro 10.015063 build 15063 | i7-6700k @4.0 GHz | 32gb ram | 2x gtx 1070 | nvidia driver 382.33
The Lock Button is O.K.ish i don´t quite see the sense in it.
What would make more sense is a "Lock Active View/Camera" like in Max Render Window.
While working i need to lock OctaneViewport to a certain Camera AND see a current update!
What would make more sense is a "Lock Active View/Camera" like in Max Render Window.
While working i need to lock OctaneViewport to a certain Camera AND see a current update!
Intel i7-970 @3,20 GHz / 24 GB RAM / 3 x EVGA GTX 580 - 3GB
so, once You're happy with Your camera, just press the button and it will lock the view, so You can get out of Your camera in a vieport and work on the model, while Octane is still rendering =) it will not update the model, unless You press 'update render geometry', the one before lock button.Jorgensen wrote:where is the lock button?
One thing that I noticed is that some differences appear in render window once You get out of camera view, probably because Octane applies imager settings not from camera, but from render settings (not sure though =) but that's not a big deal, 'cos once You're happy with the result & let's say want to save the image), just switch to the camera and tone mapping is applied again.
You'll see all of the changes You do on material side, but not on camera or lighting /if You use octane sun system) & geometry.gueoct wrote:While working i need to lock OctaneViewport to a certain Camera AND see a current update!
but I agreee with You on that, taht it's not perfect. In some cases it works in some it don't. Maybe having something like active shade viewport, that You leave open and it updates everything You do might even fit better.