Jump to content

hampuseh

Members
  • Content count

    17
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

1 Neutral

About hampuseh

  • Rank
    Peon

Personal Information

  • Name
    Zupmah
  1. Picture below is of a branch. How would I make it so my normals are aligned along the primitive? The center of the branchs normals have the right direction. At the moment I am using polyframe texture UV style to get somewhat close to what I am looking for.
  2. Thank you for your reply. I tried your method and it does what it is supposed to. Thanks a lot sir!
  3. Greetings! I am currently scattering points on a area that I then copy objects to. In this case the area is the trunk of a tree and the objects copied to the points are bark pieces. My question is, is there a way for Houdini to measure the Trunk area and then measure the bark pieces to then count how many bark pieces are needed to cover the whole trunk? At least a rough estimate would be wonderful as a start for the points scattered. I am using pscale for the bark pieces so if there is a way to count that in.
  4. Greetings! I have a float @width attribute that goes from 0 to 1. How would I go about using my width attribute for a mountain sops falloff? I tried using a point attribute expression but the value I get is static. So I think I did something wrong. The object I'm working on is a cylindrical object. The mountain details starts off strong but then gets lowered the higher it goes.
  5. Thanks for that! Much appreciated
  6. Hello! I have a question regarding deleting points based of the proximity of specific groups. In the picture below there are two curves, group 1, group 2. The points marked red(group 2) are the points I want to remove by proximity to the group 1's points. Group is the curve in the middle going upwards. How would I do this? Thanks !
  7. Removing neighbour prims

    Thanks for your reply I forgot to mention that these curves are not something I made, these have been imported from other software. So I can't really do that approach. So they get imported with 1-4 branches each. But I think I got some sort of idea of how to do it, mostly just trial and error at this time though.
  8. Greetings! I have branches that are made up of 1-4 curves. The first curve is always the main branch that the other curves are attached to. My question is: How do I go about to only keep my first curve and delete the other ones connected to it? Or if it's possible; Would it be possible to merge each branch of curves into one prim? In the picture below you see a branch that consist of multiple primitives. I have many iterations of these. I want to keep the start section of the prim and delete the others.
  9. Thank you for your reply! I looked into using for loops and I am pretty sure this is the way to go, however I am uncertain how to get more control of whats going on in the for loop. In the picture I have a couple of primitive groups that gets looped. Trunk, Group_1, Group_2, Group_3, Twigs. What I want now is to use Ray Sop to fuse the groups in order. Group_2 fuses with Trunk. Group_3 fuses with Group_2. Group_4 fuses with Group_3. Twigs fuses with Group_4. So I thought all I had to do was to delete the Trunk group and then insert to the Ray Sop to get the order I wanted. But it doesn't work.
  10. Greetings! I have a number of layers consisting of a certain amount of primitive curves. Level_1, Level_2, Level_3, etc. So it's kind of like a tree. I have promoted these primitive curves to point groups with same the name. I then grouped the first point of each curve on all layers to a point group called “start”. So what groups I have is: Level_1, Level_2, Level_3, Start. What I want to do and need help with is to fuse these curves together procedurally as they are disconnected. As the groups are layered the fusing has to occur layer by layer aswell. So I want the “Start” group of Layer_2 to fuse together with any points on Level_1. Then the “Start” group of Level_3 to fuse with any points onLevel_2. So only the starting points will fuse with the underlying layer. Manually this is easy but since the layer amount will change it's not a solid option. Hopefully I made myself somewhat clear. Have a nice day! Picture below shows and example of how I am thinking. Level_2's start points gets fused to Level_1's curve.
  11. Adding value from existing attribute

    Thank you! That worked perfectly!
  12. Hello! I am working on a project that consist of different layers of primitives. Layer_1, Layer_2, etc. What I have done is to create a attribute called “Level”. I then base the value of the Level attribute from its Layer_# name. Example: Layer_1 will have a Level attribute with a value of 1. Layer_2 will have a Level attribute with a value of 2. The problem I have is that with the file there comes other named primitives aswell. In this case all I want to do is to have the “Twigs” attribute to always have the highest value. Even if I were to have 100 layers. So in this case I want the Twigs to have a value of 4. How would I do these procedurally? Thanks! Here is what it looks like:
  13. Thanks alot you two! I got it working with both of your help
  14. Sorry for not being specific enough. What I mean with "named" is the objects objname file path. Looks something like this: /stuff/stuff/stuff/stuff/Thing_0. But maybe if I could convert the path obj filepath to a singular name your approach would work aswell? Thanks for your reply.
  15. Thanks for your answer! I don't think I was clear enough when I tried to describe my problem. How I want to do it is to first assign a attribute value to each respective primitive named "thing_0 = value 0, thing_1 = value 1 etc" I then know that I can partition and create groups by that attribute value. However I don't know how to assign that attribute value to my primitives procedurally. At this time I have made 4 different attributecreates and manually assigned value 1-4 and then grouped them with the partition sop. This works but not procedurally.
×