Jump to content

animatrix

Members
  • Content count

    216
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    15

animatrix last won the day on August 18

animatrix had the most liked content!

Community Reputation

187 Excellent

7 Followers

About animatrix

  • Rank
    Initiate

Contact Methods

  • Website URL
    http://www.pragmatic-vfx.com

Personal Information

  • Name
    Yunus

Recent Profile Visitors

3,210 profile views
  1. Hi Katosaori-san, You have to put OnCreated.py under your Houdini user folder: C:\Users\username\Documents\houdini18.0\scripts Something like: print kwargs["node"]
  2. Force Directed Graph OpenCL

    Yes that happens when you copy paste code and even Sublime seems to mess up indents sometimes especially if you don't edit the code in Python syntax. But my idea was to model your network using the OpenCL force directed graph, solve it using the OpenCL SOP in the BG, and then copy the positions in animated form
  3. Force Directed Graph OpenCL

    You can use this to layout your nodes in the network editor
  4. When you have complex ocean spectra layered together using masks with varying speeds, and even animated timescales, retiming them while keeping the same approved look becomes a technical challenge. In this lesson you will see how to achieve this as a procedural post-retime operation, without having to modify any ocean spectra individually.
  5. Weathering texture tool

    Super cool Konstantin! I love seeing this kind of very unique and original ideas. Would be a great tutorial I can imagine a dozen uses just off top of my head!
  6. iterate over certain points

    No, 1 will become (1,1,1). I just posted an example. He should be able to adapt it to his needs.
  7. iterate over certain points

    I tried it before posting, it works fine. Can you post what error are you seeing? 1. {} is not needed in my code. Look here for similar C style syntax rules: http://www.cplusplus.com/forum/beginner/180452 2. You don't need to provide a vector type. VEX will automatically cast 0 into a vector.
  8. iterate over certain points

    Hi, You can do it using a detail wrangle: int pts [ ] = array ( 1, 3, 4 ); foreach ( int pt; pts ) setpointattrib ( 0, "P", pt, 1 );
  9. Hi, This is a common feature request but it's not possible. Only think you can do is a hack where you create a for loop network with Iteration Method set to Count with 1 iteration. That way all the nodes inside would only execute once, just like having no loop. The downside is it might confuse other people.
  10. Pragmatic VEX: Volume 1 [4K] [H18]

    Subdivision surfaces are piecewise parametric surfaces defined over meshes of arbitrary topology. It's an algorithm that maps from a surface to another more refined surface, where the surface is described as a set of points and a set of polygons with vertices at those points. The resulting surface will always consist of a mesh of quadrilaterals.
  11. Get prim attribute value via python

    Hi Saori-san, You need to access the geometry on your hou.Node instance. For example: hou.node("/obj/GEO_model/null1").geometry().attribValue("name")
  12. Pragmatic VEX: Volume 1 [4K] [H18]

    We have already seen how to apply gradient ascent, descent and contour lines to heightfield like planar geometry. The same concept can be applied to heightfields. Because heightfields are volumes, getting the gradient is very easy by using the volumegradient function. The normal of a heightfield is (0, 1, 0) if the heightfield is an XZ volume, meaning facing up. Getting the cross product of both of these vectors will give you the contour lines.
  13. how to change HDA node color?

    Hi, You can put this code in Scripts > Python Module: def setNodeColor(kwargs): this = kwargs['node'] color = hou.Color(1, 0, 0) readmode = this.evalParm('readmode') if readmode == 1: color = hou.Color(1, 0.8, 0) elif readmode > 0: color = hou.Color(0.6, 1, 0.2) this.setColor(color) Then call it in the parameter's Callback Script parameter like this: hou.phm().setNodeColor(kwargs)
  14. Hi, I don't think that's possible.
  15. Pragmatic VEX: Volume 1 [4K] [H18]

    Now that we know about gradients, there is another concept that's related to them that can be acquired quite easily, and that concept is contour lines. A contour line (also isoline) of a function of two variables is a curve along which the function has a constant value, so that the curve joins points of equal value. There are very interesting relationships between the gradients and the contour lines.
×