HoudiniUserInterfaceTips: Difference between revisions

From cgwiki
Jump to: navigation, search
No edit summary
Line 1: Line 1:
=== the 9 group list hotkey (aka the joy of se(le)ct(ion) ===
=== the 9 group list hotkey (aka the joy of se(le)ct(ion)) ===


[[File:9_hotkey_tricks.gif]]
[[File:9_hotkey_tricks.gif]]

Revision as of 21:55, 12 January 2017

the 9 group list hotkey (aka the joy of se(le)ct(ion))

9 hotkey tricks.gif

That grid of points has a @cluster attribute, a random attrib called @noise, and some @path string attributes.

  1. Hit the 9 hotkey, you see a list of groups (make sure you're in the appropriate selection mode, so 2 hotkey for points, 3 for edges, 4 for prims)
  2. Select an entry in the list
  3. While your mouse is in the viewport, tab in a blast node. It will be created, and the group field will be filled out
  4. remove the blast, back to the viewport, this time go down to attributes. Here I select the cluster attrib which I made earlier
  5. can see the cluster listed and colour coded. You can hover over the list to see them highlighted, or hover over a point, and all points with the same cluster attrib will highlight
  6. put down a blast node, this time the group field will be pre filled out with the attrib syntax; @cluster=3
  7. remove blast again, this time shift select nodes in the viewport, blast node, it'll be filled out with the multiple cluster attribs
  8. remove blast, switch to displaying the path attrib
  9. blast again, there it is. super handy for material assignments!

d hotkey is context sensitive

'd' over the viewport brings up display options, while over the network view it brings up different options. Easy to miss.

use d viewport menu to change point display size

default is 3 pixels, but you can make them super tiny if they get in the way, or giant. d in the viewport, geometry tab, 'point size' slider in the lower left.

d hotkey will hide the display options too

all the time i was closing the window manually like a chump. just hit 'd' again, it'll go away.

tab menu auto completes on initials

Trying to put down a point wrangle sop? You don't have to type '<tab>p o i n t w' to find it; just type the first letter of each word, ie, '<tab> p w'. The tab auto complete is very optimistic in its matching, so you can even type the first few characters of the first word, then the first letter of the second, and it'll find it, eg '<tab>p o i w' will also directly find the point wrangle.

tab menu shift-enter will auto drop and append to current selection

In theory this is awesome, but it also moves the network view, which I hate. You might love it though!

viewport got doubled up geo? try making a new scene view

The houdini viewport is generally pretty good, but sometimes (especially when you're first learning it for some reason), some geo will be duplicated in the view, and won't go away. Its easy to think its something you've done wrong, but if you catch yourself in time, just make a new scene view (little plus button in the tabs above the viewport, scene view), see if the view is ok again

w hotkey

  • shift-w in the viewport to toggle wireframe overlay
  • w in the viewport to toggle solid/wire
  • shift-w in network view to open outliner

p hotkey

  • p in the network view toggles the parameters in the corner
  • p in the viewport toggles a floating parameter pane (but its behavior is strange; eg when inside a dopnet, pops up paraters for the dopnet itself)
  • alt-p toggles the timeline to swap between panes
  • alt-shift-p pops open a python prompt
  • ctrl-p in the viewport creates a sticky note


visually adjust pivot of transform sop

The pivot for a transform is normally at the origin; you can tap the insert key to move the pivot (its the same as keying in values for the pivot channels, but all visual n stuff)

1 and 2 to update display and render flags

I use this all the time, I think a hangover from using nuke too much. With the current node selected, hit 1 to set its display flag to here, 2 to set its render flag. This is often much faster than trying to hit that tiny blue rectangle.

Hitting 1 repeatedly cycles between the selected node and the last created node, handy for doing a quick comparisons (analogous to nuke and setting 1 to a node, 2 to another, and tapping 1 2 1 2 to compare them)

colour correction toolbar in viewport

Mentioned elsewhere on the wiki, very handy. Viewport top-right menus (where it usually says persp1 or cam1), 'correction toolbar'.

understanding viewport selection and point display

I remember this really frustrated me when I first used Houdini, doesn't bother me at all now. When you're in sops, its the maya equivalent of being in component mode all the time (ie, like you've hit F8). Thing is Houdini doesn't shout at you the way maya does, and you can be in sops and have selection disabled, which can be more confusing. So here's what to look for:

  • s hotkey in viewport enables selection mode
  • esc hotkey quits this mode and normally puts you into view mode. so if I consciously want to get out of select and back again, i'll be going s, esc, s, esc
  • in select mode, 1 2 3 4 choose obj, point, edge, face respectively. 1 will kick you up a level into /obj context which is annoying, but just hitting 2 or 3 or 4 will drop you back down again
  • in view mode, 1 2 3 4 choose the persp/top/front/right view. As before, normally I don't want or expect this, so I'll swear, hit 1 to go back to the persp camera, hit s, then 2 to choose points
  • the toolbar at the top of the viewport tells you what mode your in. in view mode, its blank. in select mode, you see icons for point/edge/face, with one of them highlighted for the current mode.
  • if you can see blue points, you're either in point mode, OR you've enabled 'display points' with the toolbar on the right of the viewport.
  • most of the time i want to stay in select mode, but not clutter my view with points. i've found the simplest way is to hit '4' to get into face mode, the viewport looks clean, but i can jump back to points whenever I want
  • another shortcut to swap to persp/top/front/right is to hold down spacebar and press 1/2/3/4.


the frustration of seeing blue points when you don't want them, or not seeing them when you do, drove me crazy for the first week or so. Keep an eye on the toolbar, all makes more sense.

geometry spreadsheet

Always have this open. ALWAYS. It should be a force of habit to see what attributes are on your geometry, otherwise you're flying blind.

The view dropdown menu on the geo spreadsheet is handy; put it into 'only show selected', then choose some points, its much easier to inspect data, get their point numbers and so forth.

If you have lots of point attributes, use the view menu, 'hide all attributes', then just enable the ones you want.

You can also use the attributes filter (the text entro to the right of the view menu. Eg, make it *id to only show attribs ending in 'id'. If you have lots of groups, you can hide them in the geo spreadsheet by using ^group* in the attributes filter.

You can sort by any column by clicking its title.

Houdini on a laptop, middle mouse button

It's nearly impossible to use Houdini without a middle mouse button. If you're a lazy slob like me who likes to mess around with houdini on a laptop while on the couch, this presents a problem.

My solution has been to map a key I rarely use to be a middle mouse button. On a Mac I use the right clover-key, on Windows I map the context menu key (the one between alt and ctrl on the right of the spacebar).

  • Karabiner lets you do this on OSX: https://pqrs.org/osx/karabiner/ (once its running, search for 'command middle', and enable 'Command_R to MiddleClick'
  • Autohotkey lets you do this on windows: https://autohotkey.com/ I have a .ahk file in my startup folder with the mapping "AppsKey::MButton"