Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.
Search the Community: Showing results for tags 'expressions'.
Found 4 results
I've been trying to write an expression which will hold a value and change every specified number of frames. I have a point jitter, and an animated seed so the point will change position every timestep, my goal is to have an expression where the the point will stay in the same position for 8 frames and then change position, and remain in that position for another 8 frames and so on. I've attached a very basic scene file if its any easier for you to use that, any help is greatly appreciated, Thanks! PointJitter.hip
jonp posted a topic in ScriptingAfter a bit of light testing it seems that if I import a Python module when loading Houdini, using pythonrc.py, I cannot later use it directly in a parameter expression. Instead I have to import it into the expression again, which could make the expression string more complicated and error-prone (multiple lines or semicolons). Is this really the case? I feel like I must not be doing something correctly.
Hello!!! I have a question regarding how to map the scale of a UV Project node (or any other value for that matter) using the bounding box of an object. I'm still getting used to the way the Houdini expressions work, so I would really appreciate a lot any input hta you could get me. I'm using an image sequence to trace some geometry, but I would like to have that traced geo to have the UV's properly projected since it is changing its form. One way that I tought of working this out is linking the UV SCALE values to something like this: UV Project SCALE X = bbox(myObject, sizeOfTheBoundingBoxInX) SCALE Y = bbox(myObject, sizeOfTheBoundingBoxInY) SCALE Z = bbox(myObject, sizeOfTheBoundingBoxInZ) I tried using the $BBX and $D_SIZEX but the UV Project node throws me an error and the scale gets evaluated in 0. Thanks a lot four your time guys!!!