Marc-André Belzile

mabelzile

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

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.

AlanZ
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”
Ah sorry. Here's the answers:

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.

Strange hou.GeometryViewportCamera.translation() values Jan. 12, 2020, 2:35 p.m.

Some answers here [www.sidefx.com]