varomix
March 7, 2012 15:00:14
Hi guys
now that we have a new viewport and all that fanciness
I'm wondering if this is possible
if I have a selection and switch to top view using space+2 my view
shows all the visible elements in my scene, and then I have to press space+g to home into where I was, if I go to side view, same thing.
so, is there a way to stay focused on the selection?
added a video to better explain my point.
http://www.screencast.com/users/varomix/folders/Default/media/9da7e1aa-fa85-4e43-8bad-48ab158fe306 [
screencast.com]
thanks a bunch
pbowmar
March 7, 2012 16:14:49
Related: Houdini should remember that you want Link Ortho Views on all the time. IMO
varomix
March 8, 2012 18:19:44
ok, silence, sooo
let's say I want to put this functionality into a tool in the shelf and then add a shortcut to that.
something like
command will be
pseudo code:
viewport.right()
viewport.homeSelection()
it's that possible?, I know hou.GeometryViewport.homeSelected() exists but how to I change to the right, top, persp cameras?
thanks
varomix
March 8, 2012 18:56:20
alright!! I solved it !!
I did this on the shelf then added a shortcut to it
viewtype -t ortho_top varomix01.panetab1.world
viewhome -s varomix01.panetab1.world
line 1 changes to top ortho view
line 2 homes the selection
make another tool for right, persp, and even uv if you like
power to HScript, python meeeh (This feature is not yet implemented) hehehe
just gotta replace that desk name with the current one
nice progress, cooool
cheers!!