Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

3 Neutral

About Luijee

  • Rank

Personal Information

  • Name

Recent Profile Visitors

942 profile views
  1. Cool I haven't seen that before, thanks for the example As for where I was going wrong, Matthew mentioned that he recreates the polygon from scratch to have control over the vertex order
  2. Hey all, Saw this interesting tool on deleting geometry smoothly based on normals, had a go recreating it (hip below). My understanding of it is to interpolate along triangle edges based on the point normals and create new geometry precisely where dot(normal, delete_direction) < delete_angle Geometry positions are correct, but recreating the primitive in the correct order is difficult. On some primitives (ones with only 1 point removed) the winding order becomes CCW and therefore the face normal inverted. deleteByNormalsSmooth_v05.hip helpful article: http://geomalgorithms.com/a06-_intersect-2.html If anyone has a clue on how to approach this, or any resources for similar topology problems I would love to know. Cheers!
  3. Can't help much without seeing your code / hip
  4. I haven't seen a function for this inside HOM but there is in hscript, which you can call from python. http://www.sidefx.com/docs/houdini/commands/viewerstow.html This should work: import toolutils def viewName(viewer): ''' Returns the Scene viewer name in a hscript compatible format ''' name = { 'desktop' : viewer.pane().desktop(), 'pane' : viewer.name(), 'type' :'world', 'viewport': viewer.curViewport().name() } # special case for floating windows - they don't belong to desktops if name['desktop']==None: name['desktop'] = '*' else: name['desktop'] = name['desktop'].name() return '{desktop}.{pane}.{type}'.format(**name) viewer = toolutils.sceneViewer() hscriptViewer = viewName(viewer) cmd = "viewerstow -t open -b open -l open -x open -m open -c open -d open %s" % hscriptViewer hou.hscript(cmd)
  5. Q for project

    Use Ray SOP Grid in first input, triangle in second input Direction set to vector (0, -1, 0)
  6. Sorry I don't follow what you're suggesting but I don't think it would be that. I'm looking for an automated way to promote a node's parameters to another. Currently the only way I know how to do this successfully for ramp parameters (or any multi-parm parameter) is through the UI with these steps: - select a given parameter to promote from a node's parameter dialog window - drag selected parameter into a different node's parameter interface window - the different node will now have a copy of the selected parameter, with channel references to the original parameter that will update when you add new control points to the ramp. I would like to achieve the same with a script. Currently for other parameters I can setup a channel reference simply by doing hou.parm.set( [hou.parm object of parameter I want to link to] ) but this fails for ramp parameters.
  7. Scaling Cached Volumes

    When you scale a volume you must invert the scale on the density (only on volumes named density from what I remember) E.g Transform SOP uniform scale 10 Volume wrangle: f@density *= 0.1; If its still not looking as good it as before, if you have lights in the scene their scales would need to be adjusted too
  8. You can do this with the rivet node. It will require some way to work out the coordinate system of your cart, you'll need 2 axis' stored as a point attribute on the geometry Rivet will access. Here's a simple scene setup: parent_transform.hip
  9. Hello, Is it possible to promote a ramp parameter (retaining channel links) via python (or even hscript)?
  10. Hi Odforce, As others have asked, it would be useful to have a Solved / Unsolved state on a thread. This would then allow users to filter search results by them. It would be nice to easily search through unsolved posts to attempt to help them, as they tend to get unanswered and hidden by newer threads. You could take this further by ranking unsolved posts by demand (whether its views, amount of times searched, category etc) and then have this as an option to tie into a rewards system to encourage solving them. Cheers
  11. Vex_Question

    Hey Flavio, It's a bit tricky to understand what you want to do. Which 2 vectors do you want to compare? Can you clarify what you mean by 'same vector'? It would be great to have an example hip or drawing
  12. Hi, Can anyone shed some light on how to use the gasBlendDensity microsolver? I haven't seen a working example of it anywhere. Here is an example scene with the fields setup, trying to blend between 2 volumes. gas_diffuse_blend_example.hip Cheers
  13. Hey Fay, I would recommend building a solid foundation in general computer graphics and mathematics. From there I found exploring other people's HIP files extremely helpful. This site is filled with loads of cool examples and easy to understand gifs http://www.tokeru.com/cgwiki/index.php?title=HoudiniGettingStarted There's always interesting topics on here and the sidefx forums too, just dive in.
  14. getting a pulsing shape to randomly pulse

    Create an attribute that varies on each primitive, set the extrude to use that variable in the local control tabs. Here's the file pulsing_shape_fix.hip
  15. Hi all, I'm trying to recreate avalanche behaviour with flip fluids, where the fluid is initially sourced at the top, flows down and grows on collision with snow. How can you continuously expand a fluid based on certain events (e.g. collision, temperature) while maintaining it's density. I imagine it could work doing sourcevolume of the simulation output itself and then masking it but that creates a circular dependency