# Search the Community

Showing results for tags 'transform'.

• ### Search By Tags

Type tags separated by commas.

### 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
• 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

• 0 Replies

• 0 Views

Found 16 results

1. ## transforming a Vex-built PolyLine

Hello to all! I am currently writing a wrangle-thing in which I'm hoping to generate a random "hair" on every point and make it face the normal of said point. The way I planned it is as follows: 1. create the hair w/ random params on 0,0,0 2. rotate the hair to Normal of the point that it's "generated on" w/ rotate(matrix,angle,vertex) function 3. Move the hair to @P I'm not a hero with vector math, otherwise I'd generate the whole hair thing along a normal. I wonder if I somehow can construct a identity matrix, like one would do with the ident() function, and use that to transform the prim. Is there a way to simply rotate a primitive using something simpler than extreme vector math? sgamhar.hip
2. ## How to transform a geo asymetrically

Could you help me transform a geometry like this?
3. ## pivot How to get pivot rotation

Good morning dear community As well as we can get a bbox boundaries and centroid using as well \$CEX, \$CEY, \$CEZ or centroid expression, exist the possibility to get "pivot rotation" related to world space? Tried conversion of acos to degrees using dot from Normal Vector but without successfully results. Take in mind it came from point deformed animation with constant shape (Menas bbox remain constant during the whole length animation) Thank you very much
4. ## exporting Houdini transform handles to Maya

Hi all, After researching for some days, apparently there is no way to export Houdini transform handles into Maya through the digital asset (correct me if i'm wrong). So one way i found to do this would be through the Maya connection editor between a locator and the Houdini asset. So, in Houdini i have a grid and a sphere and the sphere is controlling the grid extrusion by its position and scale attribute. It is a very simple setup with attribute transfer to test in Maya and everything is working fine except one thing. My goal is to control the sphere inside Maya with the traditional "transform handle" so i can control where the extrusion on the grid is happening by moving the handle instead of typing numbers. Once i imported the asset in Maya, i could attach the locator transform handle to the whole asset using the connection editor however, i cannot see the sphere transform node parameter from Houdini in the connection editor, only the main translation parameter that controls the whole asset. After that, the result that i got so far is the locator translation handle transforming the whole asset and not only the sphere inside the asset and therefore, i cannot move the extrusion around. That said, in this case, does anyone know how to connect the sphere transform parameters to the locator handle in Maya through the connection editor so i could control the extrusion on the grid? Any info would be appreciated. Thanks
5. ## Tranform falloff

Hi! I'm struggeling to create a "Cinema 4D mograph like effect." I have fractured a geo and I want them to rotate based on an effector. I have tried to pack it and or with a for each loop, bt I couldn't get it close to it. Can anyone help with it? Thanks!
6. ## Shrinking Pieces inside of DOPS

Hey guys, I am really stuck with this one. I was told it is impossible to change the scale of a piece inside of DOPS while it's simulating with the bullet solver. I have achieved something similar where the piece goes into dops, gets out of dops, gets transformed in the scale, and then goes back into the same DOPS sim in a loop. So it creates overtime shrinking. But now I need this to happen inside of DOPS. I´m pretty sure it´s possible. Does anyone have a clue.
7. ## Calculating / matching orientation

Hello all, Have been racking my brains/this forum on something seemingly quite simple, but not getting anywhere... Basically, I would like to match the scale/orientation of one set of points, based on another. Then be able to extract those 'transform' paramaters. For example, if i have a pointcloud A, with 10 points, which has been re-scalled/oriented to create Pointcloud B (in a separate process, I don't have access to those transf params). How would i then re-orient it to match? I have a photogrametry pc, which i am trying to match a tracked camera to. The issue is that the camera track is coming it at origin, so I need to transform to match the original pc. I have isolated 10 identically positioned (not identical ptnum) points from the pc & tracking data to use as 'calibrators', but can't figure out the best/most efficient next step in doing the re-orient/scale. Any help, tips, or pointers in the right direction for threads would be very much appreciated as always.
8. ## Editing non-uniform scaled bone transforms

EDIT : This may be something different. When parent bones have non matching scales to the current edited bone, this issue arises. Going to poke around, issue remains tho, on uniform scaled bones too. I'm not sure if this should be in the scripting forum or not... But I'm running into some issues with non-uniform scaled bone's becoming uniformly scaled when using the agent edit node. I'm specifically trying to edit the bones through vex at this point now. It seems to change a non uniform scale to a uniform scale after using the maketransform vex function. I'm noticing this issue when polar decomposition and transposing of 4x4 matricies being scaled by one of the scale's values when only modifying a position or rotation of the matrix. As tho, instead of scaling by {1.2, .8, 1.3} it scales by {1.2, 1.2, 1.2} or maybe its just the vector's length of the found eigenvalues. Like when using the agent edit node, it will change any edited bone's non-uniform scale to a uniform scale. Has anyone found a simple way to get around this, other than manually editing the matrix position W row and using dihedral math to rotate the bones?
9. ## [Solved] How does the pivot work in the Make Transform node

How does the pivot work when using the make transform Vop node? I am trying break down and figure out the function of the Make Transform node using python (Outside of any 3d software). The Translate is pretty basic as I can just place them into a matrix as they are x = m[3][0], y = m[3][1] and z = m[3][2]. For rotation I am using the following: def EulerToMatrix(Rotation): x, y, z = Rotation XM = M3([[ 1, 0, 0], [0, math.cos(x), -math.sin(x)], [0, math.sin(x), math.cos(x)]]) YM = M3([[math.cos(y), 0, math.sin(y)], [0, 1, 0], [-math.sin(y), 0, math.cos(y)]]) ZM = M3([[math.cos(z), -math.sin(z), 0], [math.sin(z), math.cos(z), 0], [0, 0, 1]]) return (ZM * YM * XM) I can then just pipe this information into the Matrix4. The problem I have now is that I cannot find any information that I can understand on how to apply the pivot to the matrix4. It's not as simple as just adding. I have attached a file that has the make transform that I am using to test against. The pivot seems to be linked to the rotation and so I am guessing it is related to the scale as well. Is there any way to break down how this pivot transforming works? MakeTransPiv.hip
10. ## transform handles for parameters

Is there a way to make the transform parameter on my subnet or HDA appear as a transform handle in the scene viewer?
11. ## replacing rbd fractured objects with transform pieces sop

Hi! I'm trying to replace some non packed pieces from a bgeo sequence to a hi-res version. I cannot simulate again so I need to find a workaround to "transform input geometry" in the dop import. I've tried the 'transform pieces' sop without success. Any suggestion? Thanks! transform_pieces.hip
12. ## Dynamically Modify Geometry

I take a sphere and then apply the mountain SOP to this sphere. Then I add a Copy node which is fed a point cloud from a sphere, IsoOfset, and scatter combination. Below the Copy I place a NULL node. In this Null Node I can see the total number of packed Primitives. What I would like to do is to be able to modify the Frequency Parameter on the Mountain Sop for each of the Primitives that are being Copied so that each one of the Primitives has a unique shape. I need a variety of moon rock to blast out. Without modifying them, they all look the same. Any thoughts on how I can accomplish the ability to dynamically create rocks of various shapes. Thanks in advance.
13. ## Xform pivot

Hi, I'm trying to learn, but I sometimes find it hard to get answers from the doc (real good doc tho). here is what I'm struggling with at the moment: I want the pivot of a transform node to to be placed relatively to another object (in the same geo node). I need the pivot to be at XMIN in x axis, 0 in y axis, ZMIN in z axis. Easy. But I need the XMIN and ZMIN of another object. Can someone help me with the syntax ? thanks !
14. ## Using Matrix to transform Geometry to origin

A while ago I used some very simple Matrix multiplications to bring geometry, that is positioned anywhere in space, back to the origin and from there, back to its original position. Maybe anybody here can help me remember? I think I created a world space transformation Matrix, called it myMatrix, and then multiplied it by its reverse to transform geo to the origin. In order to translate the geo back, I just multiplied by myMatrix...is that possible or am I getting something wrong? (Not in fromt of a Houdini right now) Anyway, how do I get the world space transformation matrix for an object positioned anywhere in world space, for example for some geo that came into my scene as an ABC from Maya? Lookattransform in VOPSOPs? Thanks for your hints and patience.
15. ## Transforms from low to high res

Hi, Whats the workflow for simulating with low res RBD Geo and then transferring the transform information to a high res model? example https://gyazo.com/fb3e02f47fd5efe2ea3196b2d04f6206 Then taking the movement of the geo and transferring it to a much more dense/complex model Thanks guys
16. ## Accessing ray_transform in ifd

Hi Is it possible to change camera ray_transform inside IFD using python? I can modify properties using tile script and filterCamera() function, but I can not access the transform of my camera. Thanks
×
• Donations