Jump to content

HundredsofBears

Members
  • Content count

    2
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About HundredsofBears

  • Rank
    Peon

Personal Information

  • Name
    Mike
  • Location
    Toronto
  1. Noise on ramp transition (edge)

    Bumping this old thread in case anyone else finds themselves in a similar boat where they're drawing a blank on this technique and end up googling "Houdini noise transition". The trick is to first form your gradient using a value, in this case the x position along a grid... ...and then add noise to that value. For a deeper dive into this kind of thing, definitely check out this series of classes by Main Road Post and this brilliant page by Kiryha. Hope this helps.
  2. Working with primintrinsics in VEX

    Hey all, I'm attempting to find the number of unique values across the intrinsic:typename attribute for incoming geometry, but I'm having no luck in getting the uniquevals() function to detect any intrinsics. Originally I assumed that this was just a limitation of the function, but I then realized that the docs explicitly state that you're able to provide the name of 'any attribute (or intrinsic) to read.' For context, let's say I've got a polygonal box and a NURBs curve, which both have unique values for their typename. If I try and access those values in a wrangle, I just get an empty array. I've tried setting the attribute class to 'primintrinsic' instead of 'prim', I've tried removing the 'intrinsic:' prefix from the attribute name, and any number of other gotchas that come to mind. I get the same results when trying to use nuniqueval() and uniqueval() as well. It isn't the end of the world since there are ways to do something similar in python, but if anyone's got some secret sauce to get these VEX functions in particular to play nicely with intrinsics, I'd appreciate the help. Thanks in advance.
×