Jump to content

Search the Community

Showing results for tags 'tree growth'.



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
  • 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 1 result

  1. Hi, i'm currently working on a tree growth system without solver (just transforms). and i'm stuck ! In this system, I import a tree skeleton from external file (curves), which I cannot edit. My goal is to create a slider that grows all the branches, keeping their position onto their parent branches. To be more specific : when I import the tree, I have the branch level attribute, and the parent branch for each branch as well, and a gradient attribute. With these three attributes, i'm trying to get the current position of each branch on their parent, and if it moves, then the children stay at the same pourcentage value... In my file, I've got 3 levels : level 0 is the trunk, level 1 is branches from the trunk level 2 is branches from level 1's branches. In my loop, I'm taking each primitive, and I get their parent. I'm using a curvesect to get the intersection between parent and child, then I'm keeping only the root part of the line. Then, I use a carve to change the length, and with a vex expression, I stick the branch onto the last point of the carve. My problem comes from my "for loop" setup, which is working, but it doesn't take the transformations of the previous level. So my question is : is there a way to get the transformations of the previous level inside the for loop ? -> For each level, I want the branches to be sticked to their parent at their relative position, even if they are moving (if the branch is at 45% of the curve, then if I'm carving the parent, it stays at 45%) . Maybe it's possible directly in VEX ? but my knowledge is quite limited, i'm starting coding vex... but any help would be appreciated Thanks ! tree_growth_help_001.rar
×