Jump to content

Search the Community

Showing results for tags 'constriants'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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 2 results

  1. I have a constraint network built with a connectadjacentpieces sop from multiple geometries. Each geometry part has a name with its own naming scheme(Apieces_000, Bpieces_000, etc.). every primitive in the constraint network has two points each with a name attribute that matches a packed prim with the same name. some of the primitives have points with names from the same geo. These have similar names. pt0 name=Apieces_000 pt1 name=Apieces_001 some of the primitives have points with names from the different geo And have name attributes with different naming schemes. I want to remove the primitives from the constraint network whose points have name attributes from the same scheme by comparing the first character in the name and removing the prim if they are the same. here's what i have but it'n not working correctly and i don't quite understand the code i've written. string name0; string name1; i[]@primPts = primpoints(0,@primnum); foreach(int i; @primPts){ name0 = point(0,"name",i-1); name1 = point(0,"name",i); if( name0[0] == name1[0] ){ removeprim(0,@ptnum,1); } } allow me to try and explain. primpoints stores both points from each prim in the primPts array. then it loops through the points and assigns the name attribute of each point to a variable. so far so good i think. then it compares the first letter of each sting var and if they are the same i want to remove the prim to which the points belong. however this does not happen. If someone could point out where I've gone wrong or show me a better way to do this. I would be grateful. Thanks
  2. I am trying to create a simple scene where balloons are tied together to an object using wires.(like in the movie “UP”).. Im having balloons as packed RBD object and the parent point(where balloons are tied) as a separate rbd object. and having wires also into the DOPnetwork as wire object.. Initially I dint simulate the wires but used the wire lines as a constriant network from SOP and made a spring constraint between balloons and parent using the wires as a constraint net, And It worked Perfectly. Now I am turning the wires into wire object and trying to constraint the top of the wire to the balloons and bottom to the parent object, I am having matching @anchor_ids on wires and balloons.. But It doesnt work properly. If someone can explain how to constraint wires with rbd , It will be very helpfull for me.. And if someone already have a scene file for related to this please share it , Thanks a lot in advance..
×