Jump to content

sherlockHound

Members
  • Content count

    6
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

1 Neutral

About sherlockHound

  • Rank
    Peon

Personal Information

  • Name
    David Thomas
  1. Attach Camera to Boat

    Hey All - I have an ocean in Houdini with a boat floating on it. I'd like to attach a camera to the mast, but can't figure out how to do it. Any ideas? Thanks!
  2. Get polygon and normals in Python

    Hooray! I got it! Since the type is already hou.Polygon, I just needed to treat it as such. No casting required. I think I love Python.
  3. Get polygon and normals in Python

    Hey all- I have a simulation running that is controlling the position and orientation of a grid that comprises just a single square polygon. Trying to use python to output the normal and center point of that grid. I can access the first hou.Prim, but I can't figure out how to get the polygon to get the normal. How do I do that? Thanks! Dave
  4. Generate Text File out of Houdini

    Thank you, Dennis! I looked into that on your recommendation, but I can not find a float array to use. Any ideas? I am very new to this, despite having used Houdini for many years!
  5. Generate Text File out of Houdini

    Hi All - I used the attribute_dump.hipnc file as a guide and it works great, but I would like to save out as just floats (not vectors) Does anybody know what I need to do in the code to change that? Right now I have: for (int i = 0; i < @numpt; i++) { vector pos = point(0, "P", i); float h = pos.y; append(v[]@point_colors, h); } But that writes a vector where all three values are h for each line. I'd like to just write a float to save space and time. Any ideas? Thanks!
  6. Generate Text File out of Houdini

    This is great! Thank you! Does anybody have any idea how to Dump automatically every frame?
×