Recent Forum Posts
[Python State] Drag and Drop Jan. 20, 2020, 5:16 p.m.
Did you try different text files ? Maybe the one you are using contains some bad characters ? You can edit the demo and remove the validation step if you need to. What version are you using ?
Strange hou.GeometryViewportCamera.translation() values Jan. 12, 2020, 4:11 p.m.
AlanZAh sorry. Here's the answers:mabelzile
Some answers here [www.sidefx.com]
It seems I don't have access to the page? It says “403 Please login with an authorized account”
I'm using the hou.GeometryViewportCamera class to modify the camera, and I noticed that for example the .translation() member function doesn't seem to return world space values, is that correct?Translation for the viewport camera is applied after its rotation is, so it's basis is oriented by the camera.
Are some these functions work in some sort of camera-relative space? (The pivot() for instance seems to return world-space values)Pivot is the world space location of the pivot. Translation and pivot are the only methods there where the space matters. Most of the space change methods are on the GeometryViewport. GeometryViewportCamera is mostly just a parameter class, meant for stashing and applying later on.