Okay, does setting the when the drawable is shown give you enough control over when the object is drawn, or is there a case where that doesn't suffice?
https://www.sidefx.com/docs/houdini/hom/hou/SimpleDrawable.html#show [www.sidefx.com]
Found 15 posts.
Search results Show results as topic list.
Technical Discussion » hou.GeometryDrawable not displaying in /obj
- lfranceschini
- 72 posts
- Offline
Technical Discussion » hou.GeometryDrawable not displaying in /obj
- lfranceschini
- 72 posts
- Offline
oh sorry, your post says GeometryDrawable, but my brain read it as SimpleDrawable! If you need a quick workaround, the SimpleDrawable should currently work at the obj level. Thanks for the bug report.
Technical Discussion » hou.GeometryDrawable not displaying in /obj
- lfranceschini
- 72 posts
- Offline
How are you providing the geometry to the drawable? The geometry drawable needs to get it's geometry from a sop node, so you need to make sure that you pass it the geometry from the sops inside of an object and not from an obj node.
Houdini Lounge » Keep Texture color after PolyExtrude
- lfranceschini
- 72 posts
- Offline
This should work with the default settings of Polyextrude (except for setting the zscale attribute to control distance, of course). I've attached an example. If you are still having trouble with this, please attach your hip file so we can take a look at what might be going wrong.
Technical Discussion » Issue with simple VEX attributes and Polyextrude
- lfranceschini
- 72 posts
- Offline
I think this should give you what you're looking for. On ramp_extrusion_values:
On polyextrude1:
- set “Run Over” to Points
On polyextrude1:
- set “Extrusion Mode” to Points (and Existing for the second dropdown that appears when you set it to Points)
- turn off “Ouput Back”
- turn on “Output Front” and “Output Sides”
Technical Discussion » alternative fuse vex function
- lfranceschini
- 72 posts
- Offline
The type error happens because vex tries to be smart and figure out all the types before it runs. The type returned by the function can only be determined when the code runs though, so vex gets confused because point can return a single float or a float array. The cast to float that vusta recommends is the right way to fix that. You are basically telling vex that you promise the point function will return a single float value.
However, if all you want is a regular fuse that keeps the highest density value between fused points, you can use the Attributes to Snap parameter on fuse to choose the maximum density value.
point
However, if all you want is a regular fuse that keeps the highest density value between fused points, you can use the Attributes to Snap parameter on fuse to choose the maximum density value.
Technical Discussion » Position object along curve based on ramp position
- lfranceschini
- 72 posts
- Offline
If you look at the python docs for a ramp python object [www.sidefx.com] you will see a values method which will return the values of the ramp points. Each value in the values tuple corresponds to a key in the key tuple.
Technical Discussion » Position object along curve based on ramp position
- lfranceschini
- 72 posts
- Offline
Correct me if I'm wrong, but I think the goal was to have multiple points on the curve at once? Here is an example where each point on the curve corresponds to the x position of the ramp point.
Technical Discussion » Stuck on a solution for circle
- lfranceschini
- 72 posts
- Offline
You could always just read the point positions in from a circle SOP. Set the Arc Type to Open Arc, and the Arc Angles to 180. This way you can just reference the point positions in a wrangle directly, no trigonometry needed! : )
Edited by lfranceschini - 2020年1月29日 09:56:33
Houdini Indie and Apprentice » Voronoi fracture causing visual artifacts on geo surface
- lfranceschini
- 72 posts
- Offline
Disable the Create Interior Surfaces parameter on the voronoi fracture. From the docs [www.sidefx.com]:
Creates faces on the interior of the geometry when performing the cutting. This should typically be disabled when fracturing open surfaces, or to create a thin shell from a solid object.
Technical Discussion » Paint tool in Houdini18.0.287
- lfranceschini
- 72 posts
- Offline
You should be able to use the new Attribute Paint tool, which replaced the old Paint in 18.0
Technical Discussion » Pcfind very slow?
- lfranceschini
- 72 posts
- Offline
Try setting the “Run Over” parameter to “Detail (only once)”. When it is set to “Points” you are do the work for each point in the second input, for each point in the first input (which is 10,000 times!).
Technical Discussion » Please help me understand why I can't bevel some edges with polybevel
- lfranceschini
- 72 posts
- Offline
The “Unique Points Along Seams” setting on your boolean subtract may be the issue, it creates disconnected geometry where one surface comes from the original geometry and another surface comes from the cutting box. You can see this effect by appending an explodedview node after your boolean. See if unchecking that option on boolean gives you the result you want.
Technical Discussion » polysplit behavior fixed distance
- lfranceschini
- 72 posts
- Offline
Currently the only way to use the polysplit sop this way is with an expression, as you've mentioned. But this would be a good thing to submit an RFE for (Support>Report a Bug/RFE).
Houdini Lounge » Font tool and generated numbers....
- lfranceschini
- 72 posts
- Offline
I think you are looking for sprintf [www.sidefx.com]. You can use to get a string representation of the floating point number f rounded to two decimal places, padding the right with zeroes if necessary. There is more information on the formatting available in the printf [www.sidefx.com] documentation.
sprintf("%.2f", f)
Edited by lfranceschini - 2017年11月10日 17:26:53
-
- Quick Links