Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

ikoon last won the day on May 6

ikoon had the most liked content!

Community Reputation

283 Excellent

About ikoon

  • Rank
    Houdini Master

Contact Methods

  • Website URL

Personal Information

  • Name
    Jiri Miratsky
  • Location
    Czech Republic

Recent Profile Visitors

5,247 profile views
  1. Show shot name at Network Editor Top

    That text is generated by the nodegraphtitle.py file in the install directory: C:\Program Files\Side Effects Software\Houdini 19.0.622\houdini\python3.7libs\nodegraphtitle.py You can copy that file into the custom python3.7libs directory (any of your active packages or here C:\Users\info\OneDrive\Documents\houdini19.0\python3.7libs\nodegraphtitle.py ) and edit the source code.
  2. Do I need to Learn Python?

    This masterclass helped me to find my way to python in houdini: https://vimeo.com/14612897 That video is quite old, but it still should be valid. If you want to learn the new way of creating the "python states" in houdini, then I recommend this course: https://ambrosiussen.gumroad.com/l/pythonstatesforhoudini
  3. Scale Bullet Collisions

    Btw the @mass attribute of RBD objects should be also nice way to affect the movement. You can disable the Compute mass on the RBD Packed Object DOP and set your @mass attribute in sops.
  4. Scale Bullet Collisions

    Hi James, you could increase the Bounce (Physical parameter) on the collider. bullet bounce - v00.hiplc
  5. Set the template flag ( with CTRL ) in python

    Hi, it is called Selectable hou.nodeFlag.Selectable https://www.sidefx.com/docs/houdini/hom/hou/nodeFlag.html
  6. If you need exact number of random points, you could use Sort SOP (Point Sort: Random) and then Blast the right amount of points: This code removes approximate percentage: float thr = 0.15; float rand = rand(@ptnum + 0.654); if ( rand < thr) { removepoint(0, @ptnum); }
  7. What is wrong with my code

    Or maybe you wanted this? if (@P.y > 0) { v@Cd = set(0,1,0); }else { v@Cd = set(1,0,1); } if (v@Cd == set(0,1,0)) { v@N *= 5; // this line changed }
  8. What is wrong with my code

    Hi Gabor, it seems to work as expected. You can assign v@N = 5, but when doing so, you are abusing the syntax a bit. Houdini casts that 5 into a vector {5,5,5} Did you want something like this? if (@P.y > 0) { v@Cd = set(0,1,0); }else { v@Cd = set(1,0,1); } if (v@Cd == set(0,1,0)) { v@N = {0,5,0}; // I changed this line }
  9. I believe, that you could send particles along the surface (or smoothed expanded surface by SDF functions). A particle would act as a head of snake. As in this tutorial, you need two vectors ... tangent and cross: https://vimeo.com/162213251 At first, those particles will read the tangent direction of the circle (or the line) and you can add a bit of cross vector. Later, they will read mainly the cross vector (and swirl more and more around the surface). At the very end, you could let the "heads" go far from the surface. To make the snakes "pack up" over each other, you will probably need a sop solver and feed the polywired trail into the SDF. Depends on how much realism is needed.
  10. @makah21803 to color an input dot of a hda, colour the inputs inside that hda:
  11. Animatrix thank you very much for the OTL! Five years passed and I am thinking ... now that we have many new Attribute nodes, is this feature inbuilt in Houdini somewhere?
  12. Hi Brandon, what code do you use? I tried this and it prints the contents of the sop solver. Important thing is, that the editable part of the sop solver is in the /d/s sub network. I am on version 18.5.408 node = hou.node('/obj/geo1/solver1/d/s') node.asCode(recurse = True, brief = True)
  13. Table Import Sop might help: https://www.sidefx.com/docs/houdini/nodes/sop/tableimport.html
  14. Hi HIroki, you have to cast v@tangent like this: @N = v@tangentv; Without v@, Houdini considers only first float of @tangent and casts it into other components. For example tangent {-0.520081 , 2.20691e-08 , 0.854117} becomes N {-0.520081, -0.520081, -0.520081} You may check the Geometry Spreadsheet. By the way @N or @v or other common attributes work without v@, just because they are so common that SideFX saved our time so we don't have to type it EDIT: You may read more about the "Non-float attributes with known types" here in the docs: https://www.sidefx.com/docs/houdini/vex/snippets.html
  15. Camera Offset X & Y

    Screen window X/Y It is camera parameter, value 1 is 100%