Jump to content

Search the Community

Showing results for tags 'Variable'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 6 results

  1. Dynamic Vex Variable Names?

    Hi there! Is it possible to dynamically declare variables in a for loop with the index in the variable name? Current problem: I want to store primitives with similar normal angles into an array. The maximum number of arrays would be 4 (cardinal directions) but in most cases the normals head in only one direction. Thanks in advance. Cheers
  2. Hi all ! I'm struggling with an addpoint function, I'd like to use a variable to declare a point but it seems that's not allowed… What is the proper way to do this ? My code in a pointwrangle : float height = fit(rand(@seed, @ptnum), 0, 1, 0.4, 0.55); addpoint(0, {0,height,0}); if I put a 1 instead of "height" it creates the point perfectly well :/ Thank you for your help !
  3. Hey guys, first post here. I'm extremely noob at Houdini and I've got a very basic question. I've got a particle system going, and after the POPs system in the Source Particles SOP it creates, I'm trying to use the Y position of each particle to drive a Blend Sequence that is copied onto the particles with a Copy SOP. What I haven't been able to find is how to query the Y position of my particles. I can find their positions with the Geometry Spreadsheet, but the name of the attribute it gives me is "P[y]", and typing that into an expression doesn't seem to work. I had thought it might be "@P.y" but that errors out as well. I think one of the problems is that I'm not telling Houdini WHAT to find the Y position of. But again, not sure how to find that. I've googled and did a cursory search of the forums here but all the posts I've found are way more advanced than this simple thing I'm trying to find Can you fine gentlemen/ladies point me in the right direction to find how to query this sort of basic data? wk2_copy.hipnc
  4. Hi guys, I'm building a DA where the user is allowed to paint Cd values from 0 - 1 onto a mesh. Later I have a poly wire sop that should allow the user to either type in a radius by hand or use his painted values. $CR works just fine until I create an interface for the DA and drag that "radius" parameter to the interface. When I now type $CR or use point() expression (which errors out too) it won't work. As I'm quite new to building DAs I'm sure this is just a beginner's fault and easy to fix. Thanks I attached a small example scene. polyWire.hipnc
  5. Hello all, I'm creating an attribute in point VOP and exporting it using bind. I'm also using add attribute within the point VOP to give the attribute a local variable name. I'm also specifying the class as "Detail" Later, I'm adding a node (any node it doesn't matter) to this and in one of the channels I'm trying to reference my attribute by using $MYATTRIBUTE However the result returns as 0, when the value should be 1.0 (it is 1.0 for every point) What am I doing wrong? Thank you.
  6. Animated Viscosity by Attribute (FLIP)

    Hey guys, I just managed to make a viscosity by attribute to work (thx to Rafael Santos e Eetu M.), but now i would like to make it animatable in order to make melting stuff. The problem is that the particles get the viscosisty properties on the 1st frame only. How can I keep updating it based on my attribute vop? My attribute vop setup is pretty simple. I'm just using Hue Shift to change the points color from white to black. Here's an image of my setup: https://www.dropbox.com/s/z67d620mcp9bgdk/varViscosity2.jpg?dl=0 And the file: https://www.dropbox.com/s/rnsoxgmj225ka33/FLIP%20-%20ViscTransfer3.rar?dl=0 Best and thx in advance. Alvaro