Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About X0RD

  • Rank

Personal Information

  • Name
  1. Hello everybody, Im looking into the "find shortest path" node to create road like the image below; And now i have find a particular piece of text in the help of "find shortest path" node that could help me creating it; "For example, you could penalize edges with steep slopes." This would require using "Custom Edge Cost" and expression, that you also can find in the "find shortest path" help as wel (in the bottom). Now I have tried multiple expressions, but it only once that works for me are the $ + expression with unwanted results and no divination of how steep a slope can be. If somebody could help me out, that would be great.
  2. Real life lava simulation

    Thanks for your tip. Im going to try it out
  3. Real life lava simulation

    Hey Everybody, Im currently trying to create a lava simulation in real world scale. Im struggling with the surface as well with the simulation. Here are some of the issues that im facing: A surface that is very rough and there are some planes floating in the air Once the partials are hitting the ground it looks like it is loses density. If somebody could give me a direction or advice it would be much appreciated.
  4. Round off numbers

    Thanks for your input, im able to do this by writing mine first python node = hou.pwd() geo = node.geometry() # Add code to modify contents of geo. # Use drop down menu to select examples. for point in geo.points(): #print 'My Number: %s' % point.number() yPosition = point.position()[1] print yPosition aPosition = round(yPosition, 3) print aPosition step = 1.1 bPosition = aPosition / step print bPosition cPosition = round(bPosition, 0) print cPosition dPosition = cPosition * step print dPosition point.setPosition((point.position()[0], dPosition, point.position()[2]))
  5. Is it possible to round off numbers, not only to hole numbers, but also a multiply of a numbers, for example 1.4, to the would snap on 1.4, 2.8, 4.2, 5.6, ect.? I could like to be able to snap curves to a current height, like this:
  6. Thanks, acey195, for replying I will see what i can do with that.
  7. Sorry to be so unclear, I'm currently trying to create a landing of a staircase out of one simple line without changing the beginning point or the end point. It would also be nice if the angle of the line between point 2 & 3 and the line between point 1 & 0 also doesn't change. Only the line between 1 & 2 can move up and down along with an angle. I'm currently trying to come up with a new way to realizing this. Green = original line step 1 - red - add a straight line to the top and the bottom step 2 - blue - connect the top line with the bottom line step 3 - light blue - split it in half step 4 - black - find the shortest path to the beginning and the end of the original line With this I can adjust the length of the landing by adjusting the length of the red line and the height with the light blue line. Hopefully this is clear now. Do you think this is the way to go?
  8. Hey everybody, I'm currently stuck, I would like to create a flat piece in a curve that I can move up and down without that the angle of the curves changes. Right now it changes the angle when I'm moving the flat piece up or down.This is what I currently have, I feel like I'm not approaching it in a right way. If somebody could help me out or give a tip that would be awesome. flatPieceInACurve.hipnc