Staglaitorno
If we can program in this editor, does that mean we can solve any problem? A cure-all?
Found 5519 posts.
Search results Show results as topic list.
Technical Discussion » If we can program in this editor, does that mean we can solv
- tamte
- 8597 posts
- Offline
Houdini Indie and Apprentice » Animated Solaris camera to OBJ network?
- tamte
- 8597 posts
- Offline
Houdini Indie and Apprentice » Deflate mesh to its original position
- tamte
- 8597 posts
- Offline
you need to be more specific if you want us to understand your exact workflow, there is many ways to even do inflate and how to deflate may depend on the specific way you are using
assuming you are doing your inflation in Vellum Constraint Properties DOP by animating rest length scale of your Pressure constraints
so to deflate decrease the Rest Length Scale of Pressure constraints back to 1
and if you really want the position to align with the original make sure to create Soft Pin constraints beforehand with 0 or very low stiffness and increase it gradually during deflating to force your geo points to return to their initial pos
assuming you are doing your inflation in Vellum Constraint Properties DOP by animating rest length scale of your Pressure constraints
so to deflate decrease the Rest Length Scale of Pressure constraints back to 1
and if you really want the position to align with the original make sure to create Soft Pin constraints beforehand with 0 or very low stiffness and increase it gradually during deflating to force your geo points to return to their initial pos
Technical Discussion » Copy 1st value of vertex array attribute to a point float
- tamte
- 8597 posts
- Offline
this should also work, since even float signature can read vector attribute, in which case it will return only the first component
f@u = vertex(0, "uv", @vtxnum);
Technical Discussion » Reading Packed Folder from Apex Edit Graph
- tamte
- 8597 posts
- Offline
you need to connect geoinput0 to Inputs/next port
then you can middle click and rename to whatever you want, like: geo
and on Apex Invoke add 1 Input Binding and check Bind To Geometry and type the same name
you can also additionally pass dictionary attribute with some values you want to have access in APEX
see example
then you can middle click and rename to whatever you want, like: geo
and on Apex Invoke add 1 Input Binding and check Bind To Geometry and type the same name
you can also additionally pass dictionary attribute with some values you want to have access in APEX
see example
Technical Discussion » how to create interactive point like topo_transfer?
- tamte
- 8597 posts
- Offline
it can be done using Python Viewer States
you can search for tutorial on that topic and also read through the docs
https://www.sidefx.com/docs/houdini/hom/python_states.html [www.sidefx.com]
you can search for tutorial on that topic and also read through the docs
https://www.sidefx.com/docs/houdini/hom/python_states.html [www.sidefx.com]
Technical Discussion » How import VDB into houdini?
- tamte
- 8597 posts
- Offline
https://www.sidefx.com/forum/topic/81580/#post-351400 [www.sidefx.com]
additionally you can also do File/Import/Geometry...
additionally you can also do File/Import/Geometry...
Edited by tamte - April 4, 2024 13:14:52
Solaris and Karma » if you can't do something in Houdini, you can't do it in any
- tamte
- 8597 posts
- Offline
you can also just make your peace with that phrase not being true and would be very naive thinking it is
but of course for any specific RFEs feel free to elaborate as Houdini for sure could use some improvements in many areas, like as any other DCC
but of course for any specific RFEs feel free to elaborate as Houdini for sure could use some improvements in many areas, like as any other DCC
Solaris and Karma » The "correct" way to set up overscan for Karma H20?
- tamte
- 8597 posts
- Offline
while this doesn't seem to be currently possible (or even historically with Mantra), and it's been always common to just believe the correct data is being rendered in overscan regions it would be definitely helpful to be able to see them in viewport and Mplay, so please submit RFE
Technical Discussion » Calculate slope for attribute
- tamte
- 8597 posts
- Offline
Attribute Remap SOP and remap your slope based mask to produce values only in areas you want
Technical Discussion » Trigger Python SOPs
- tamte
- 8597 posts
- Offline
papsphilip
How would you go about grabbing a detail attrib as well in this example? detail attrib does not change per workitem though so the for loop is probably not needed?
myDetailAttrib = geo.attribValue("myDetailAttrib")
The only for loop thats not needed is the one for list comprehension unless the detail attrib value is an array or dict and you want to process that further for example
You still need the for loop per geo_files
You can also probably just use Geometry Import TOP if the only thing you are loading is detail attribs per file and then you will get them as workitem attributes
Edited by tamte - April 2, 2024 15:57:21
Technical Discussion » Copy Cell Point Attributes (Voronoi Fracture)?
- tamte
- 8597 posts
- Offline
you can use it to copy attribtues from your second input points to the corresponding pieces
like if you have a custom index you want to later use to match piece to corresponding point, or simply just want to transfer any attribs
the dropdown menu may not list correct attributes (probably a bug of Attribute Copy SOP used internally which seems to list first input attribs instead of second), but you can type them in
like if you have a custom index you want to later use to match piece to corresponding point, or simply just want to transfer any attribs
the dropdown menu may not list correct attributes (probably a bug of Attribute Copy SOP used internally which seems to list first input attribs instead of second), but you can type them in
Edited by tamte - April 2, 2024 02:47:34
Technical Discussion » Why is Vellum Cloth not affecting my whole model?
- tamte
- 8597 posts
- Offline
make sure your geo is unpacked and converted to polygons before applying vellum constraints
Edited by tamte - April 1, 2024 14:32:16
Technical Discussion » Problem with curves Normal and Orientation
- tamte
- 8597 posts
- Offline
since your stadium is centered around 0, you can for example append Point Wrangle SOP after your polyframe1 node:
vector center = {0,0,0}; vector up = {0,1,0}; vector z = v@N; vector x = center - v@P; vector y = cross(x, z); if ( dot(y, up) < 0.0) v@N *= -1;
Technical Discussion » Scattered vellum object inflates on creation frame
- tamte
- 8597 posts
- Offline
you are most likely scaling down the grapes by having @pscale on your scatter points and because the grape constraints rest lengths are not scaled it will try to force them to inflate to their original lengths
try checking Update Rest State on your vellumunpack3
try checking Update Rest State on your vellumunpack3
Edited by tamte - April 1, 2024 14:01:48
Technical Discussion » Holding model parts together without constraints in RBD?
- tamte
- 8597 posts
- Offline
Technical Discussion » Holding model parts together without constraints in RBD?
- tamte
- 8597 posts
- Offline
yes, that should be correct
Voronoi Fracture should already compute constraints for you so you can also just connect RBD Configure (instead of Assemble) and RBD Constraint Properties after and pass both outputs from Voronoi Fracture through them
Voronoi Fracture should already compute constraints for you so you can also just connect RBD Configure (instead of Assemble) and RBD Constraint Properties after and pass both outputs from Voronoi Fracture through them
Edited by tamte - March 31, 2024 22:22:30
Houdini Indie and Apprentice » Resample problem along surface periphery
- tamte
- 8597 posts
- Offline
mgbakersorry, I meant Poly Cut SOP, where you can specify points at which to cut the curve (corrected the previous post)
but the poly split sop looks like exactly what I needed.
Houdini Indie and Apprentice » Resample problem along surface periphery
- tamte
- 8597 posts
- Offline
mgbakerif by problems you mean not keeping the corners sharp you may always have that issue if the corner is within a single curve primitive as resampled point may not land exactly on the corner
And now I understand also why I was having problems in the corners of some other curves -- the connect end points takes care of that problem as well.
to mitigate that you can for example split the primitives at the corners into multiple prims using Poly Cut SOP, the fact it seemingly works in your case just by by checking that Connect End Points is just a coincidence of divisions aligning with corners
Edited by tamte - March 31, 2024 22:15:26
Houdini Indie and Apprentice » Resample problem along surface periphery
- tamte
- 8597 posts
- Offline
it's because convertline2 converted your single curve primitive into curve primiteive per segment
fuse1 just fuses points but doesn't make them a single curve primitive again (and resample resamples per curve)
- replace fuse1 with Polypath SOP which will create a single polygonal curve out of all connected segmented curves and then resample would work
You can also experiment with Connect End points in case your points are not already fused
fuse1 just fuses points but doesn't make them a single curve primitive again (and resample resamples per curve)
- replace fuse1 with Polypath SOP which will create a single polygonal curve out of all connected segmented curves and then resample would work
You can also experiment with Connect End points in case your points are not already fused
Edited by tamte - March 31, 2024 17:23:57
-
- Quick Links