BearFlag
BearFlag
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Scale, MatchSize, Transform to fit dimension. March 12, 2010, 2:34 a.m.
I think this will work…
Im not 100% sure how it works, but that is why I am learning right?
Thanks
Im not 100% sure how it works, but that is why I am learning right?
Thanks
Scale, MatchSize, Transform to fit dimension. March 12, 2010, 1:27 a.m.
I am sure this is is painfully simple, but I just can't figure out a reasonable way to do this in houdini. I've even tried hacking around in parameters but I can't find what I am looking for even though it looks like I am staring right at it.
What I have:
Geometry that I have brought in from another app.
It is sized in a particular way call it Ox, Oy, Oz. The aspect is correct, but the entire object needs to be uniformly scaled to match a certain height Ay without destroying the aspect of the x, y, z relationship.
The height of the incoming object is assumed to be random(ish), but we know what we want it to be. So I need to normalize it to some known value like 1 so that I can scale it to the proper size.
In houdini I can easily create a reference box with a known size, but if I use MatchSizeSOP I cant seem to find a way to only pass the “y” data, so if I feed it a 1x,1x1 box my model is horribly distorted. The various aspects of the imported object are assumed unknown, but correct before import.
I “could” use transformSOP or edit or whatever, but I can't seem to find a parameter to extract the Ox, Oy, Oz data from the geometry, instead I only seem to be able to get the point cloud data, for each fo the thousands of vertexes. So useless. I can use the BOunding Box SOP but still I can't exxtract a proper “height” “width” “depth” from it…. if I right click on it, i can see these numbers. but after hours of reading Houdini's tech support I can't find how to access that infor thru expression.
So in simple…. how is this done?
It has to be easy.
What I have:
Geometry that I have brought in from another app.
It is sized in a particular way call it Ox, Oy, Oz. The aspect is correct, but the entire object needs to be uniformly scaled to match a certain height Ay without destroying the aspect of the x, y, z relationship.
The height of the incoming object is assumed to be random(ish), but we know what we want it to be. So I need to normalize it to some known value like 1 so that I can scale it to the proper size.
In houdini I can easily create a reference box with a known size, but if I use MatchSizeSOP I cant seem to find a way to only pass the “y” data, so if I feed it a 1x,1x1 box my model is horribly distorted. The various aspects of the imported object are assumed unknown, but correct before import.
I “could” use transformSOP or edit or whatever, but I can't seem to find a parameter to extract the Ox, Oy, Oz data from the geometry, instead I only seem to be able to get the point cloud data, for each fo the thousands of vertexes. So useless. I can use the BOunding Box SOP but still I can't exxtract a proper “height” “width” “depth” from it…. if I right click on it, i can see these numbers. but after hours of reading Houdini's tech support I can't find how to access that infor thru expression.
So in simple…. how is this done?
It has to be easy.
Collapse Groups to Single Primative March 10, 2010, 4:33 p.m.
I think I fixed it. My normals were flipped on half of my model. FacetSOP was unable to resolve the discontinuity until I fixed that.
Thanks for the help.
Thanks for the help.