Jump to content

Search the Community

Showing results for tags 'global'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 5 results

  1. Hi, It seems that generally when animating objects in scene/object level, you are only able to animate variables globally. I have a scene with a spinning propeller, and this spinning propeller needs to rotate around its own axis, while being placed in a certain spot in the scene. How is this achieved? All transforms in the scene are global space, so if you need to rotate the object 30 degrees on the X axis, the Y axis will not follow the local transforms and the propeller will spin sideways in circles. Followup question: I briefly had a teacher from Lost Boys school of VFX and he showed me how to properly load animation data into a dopnet. Unfortunately I was just starting out with Houdini as he showed me, so I did not catch the method. I gathered that this should not be done in sop-level ('Use deforming geometry'), and rather with motion / 'RBD keyframe active' operators in the dopnet -- how do I load in my animation data, so the velocities are correct with proper interpolation? Thank you,
  2. Global variable using python

    Hi guys Can you set global variables using python within an HDA? I have an ordered menu that is being populated by a python menu script. Is it possible to set a global variable from in there? Thanks!
  3. Hi Is it possible to modify, from inside a function, a variable that was declared outside that function? For example this code wont work: void functionX() { y = 5; } int y; functionX(); Is there a way to reference that variable inside the function?
  4. Hi What if I want to print in the textport (or read somewhere) the value of the $HDA_TABLE_NAME variable? Variables like that are not visible in the "Aliases and Variables" window...
  5. Hi all! I'm pretty noob with houdini so maybe this will be a silly question :-) As the title says, I can't find a "direct" way to access to global variables in point/attribute wrangle nodes( maybe it's not possible?). In my case I would access to $NFRAMES global variable to pass as parameter in fit() function to normalize frames count, but obvioulsy as reference guide say: Now I found a workaround: I create an attribute(with attributeCreate node) with $NFRAMES as value and then I can access in the wrangle code snippet. It works but I don't like this method because: for now I have just a bunch of points and the memory footprint is relatively low but what if I crank up the value for thousands of points? if I'm not wrong, integer values are handled as C small int so 4bytes*100.000 points will increase the memory footprint( I know that are just of bunch of KB but I'm "obsessed" with time/space performance). There are some "clean" way of get global variables? Thanks in advance
×