Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

2 Neutral

About hampuseh

  • Rank

Personal Information

  • Name
  1. Align primitive orientation

    I knew there was a simple solution for this, I just couldn't get my head around it! Many thanks
  2. Greetings! I have a little issue. I have several 2d planes. Some of them are reversed. How would I go about to make them all point towards to same direction? Without manually selecting each primitive and using the reverse sop. Here is the pic:
  3. Skipping node if empty

    Ah that does make sense. I did find another solution to my problem but this will come in handy in the future. Thanks!
  4. Greetings! I am working on a tool to generate buildings. I have different blast nodes within the tool to separate primitives to groups before I pack and instance them. However, some blast nodes will be empty since not all buildings have the same primitive groups. So what happens is that even if a blast node contains nothing the pack node still packs the empty node and creates a instance point(containing nothing). This creates a render error with redshift. My question is; is there a way to look at node and if it doesn't contain any points/primitves then the network just stops or gets output to a null?
  5. Greetings! I am currently creating a digital asset in which I want to be able to create x amount of folders with the exact same options. The thing that differs is the source file path for each folder, but the same settings/options will apply. My question is; How do I keep the references of the inputs in each folder so it corresponds to the same index of the folder? If that makes sense..
  6. Ah very nice toadstorm. Yes this made much more sense, I was trying yesterday with Python but couldn't get my head around it really. What I am trying to do now is to make a list automatically of the source library so I don't need to manually type in every single variation of the object. I added a operator path as the source input of the wrangle: string paths[] = {"`chs("source")`/"}; That makes me able to choose any object I desire, but the issue is I am not getting the whole list of available objects in the source. So this will be todays little fiddle!
  7. Thanks for directing me to the video. It would seem that I lack the coding expertise to actually do my own version of the script. The script from the video is doing way more than what I would need. As all I would need is to be able pick the source library via a directory input in the python and then "simply" scatter the objects randomly across the points in which are input to the python node. I will try to work something out during the day. Thanks!
  8. Greetings! I was wondering if there is a way with a Python script to be able to choose the source geometry library in Houdini (not from disk) and then choose the geometry randomly and copy to the points. To clarify, I have a source of multiple geometries. Geo1, geo2, geo3, etc, which contains a different version of said object. So in this case I have 12 geometry nodes each with a different variation of a oak leaf. I know I can do this with for loop sops and such but I feel that having a script to do this would be quite nice.
  9. Greetings! I have a asset that generates trees. I can choose how many different variations of the tree I want based on the parameters on the asset. So lets assume I have 3 different variations of this tree: oak1, oak2, oak3. My question is, how would I be able to create 3 geometry nodes(amount is based on # of variations) with a object merge inside each that is linking to one each of the oak instances with python. So lets say, this script would require me to direct it to the source where I have the variations of the tree and then create geometry nodes with a object merge based on the amount of variations. These geometry nodes will of course be outside of the asset source. Sorry if it doesn't make much sense. Cheers
  10. Hello and greetings! I have a large amount of curves(branches part of a tree). I then use a polywire to create the thickness of the tree based on some attributes. I am currently using the intersection stitch sop and then a fuse sop to combine my curves into one by fusing the intersecting points. I then put down a resample sop and get a nice even looking geometry. However this process takes about 2 seconds, which isn't too much but I assume I can get this done faster by using vex, but alas I am not very good at vexing. My question is; how would I merge intersecting curves with vex?
  11. Thank you, that worked perfectly!
  12. Greetings! I have a system that creates an x amount of layers, I also apply a integer attribute value to each layer. 0-x For example I may have done a 10 layer thing. which will give me 0-9 attribute. My question is; How do I procedurally always delete the last layer with the highest attribute value?
  13. Polywire uvs

    Greetings! I have a tree made out of curves. I use a resample sop to make the curves symmetrical in distance between points. I then use a polywire. I see that you can also create vertex textures with the polywire. This is what I've got at this time: So this looks quite nice.. HOWEVER the uv's are done per segement. So my question is; how do I normalize the uvs made from a polywire?
  14. Moving points based on displacement

    Thanks for the reply! Your method is one way to do it, however it doesn't really work when you have altered the displacement texture in the shader. It would be better if I could export the displacement data from the shader-material itself. Otherwise the only way would be to copy all the data changes done in the shader and apply it to the texture in the pointvop, but that isn't a very nice workflow
  15. Hello and greetings! I am currently scattering some grass on a terrain surface. The issue I am having is that the terrain geometry is using displacement and tesselation in the shader. The displacement values are high enough to either cover my grass or leave them floating above ground. I know how to move points based of a black and white texture, however that wont get me too far when the displacement is being used in a shader and the values getting altered. So a more detailed question is; Is it possible to export data/texture image from within a shader? The data I want would be the displacement data and later add that to my points and move them.