hi Buki– thanks for the response. I bet that is a much better alternative for what I'm doing, but I'm really interested in the basic mechanics of getting pscale upstream in a really straight forward way. I've gave up on Houdini a few times because of this (relatively simple, I think) gap in knowledge.
I attached my .hipnc if that helps.
After I figure this out I'll try your way :] Cheers!
Found 2 posts.
Search results Show results as topic list.
Houdini Indie and Apprentice » First Steps Webinar -- Taking the Tree Example Further
- Escape--Goat
- 2 posts
- Offline
Houdini Indie and Apprentice » First Steps Webinar -- Taking the Tree Example Further
- Escape--Goat
- 2 posts
- Offline
Hey guys– appreciate the webinar, amazingly clear direction compared to some other learning materials I tried. Looking forward to more.
I have a question about taking the example with the trees one step further. I'd like the trees to be thicker based on pscale but I'm having a hard time making it work.
First I changed my L-System geometry type to ‘Tube.’ In the Tube tab I see there is an input for Thickness but I am having a problem getting the pscale value “back up the flow.” I tried going in the Copy node to the Stamp tab and creating a new Variable called trThick. For the Value I put .1 as a placeholder. Then in the L-System's Thickness input I put stamp(“../copy1”, “trThick”, 0).
So this works, obviously all the trees are a consistent .1 thickness. My next step was to put pscale in the Value for trThick and everything disappeared. I get error an error message “Unable to evaluate expression.”
Can someone point me in the right direction? I'm assuming I have to use $PT somehow, to find pscale for each point, but I can't figure out the right syntax. Thank you!!
I have a question about taking the example with the trees one step further. I'd like the trees to be thicker based on pscale but I'm having a hard time making it work.
First I changed my L-System geometry type to ‘Tube.’ In the Tube tab I see there is an input for Thickness but I am having a problem getting the pscale value “back up the flow.” I tried going in the Copy node to the Stamp tab and creating a new Variable called trThick. For the Value I put .1 as a placeholder. Then in the L-System's Thickness input I put stamp(“../copy1”, “trThick”, 0).
So this works, obviously all the trees are a consistent .1 thickness. My next step was to put pscale in the Value for trThick and everything disappeared. I get error an error message “Unable to evaluate expression.”
Can someone point me in the right direction? I'm assuming I have to use $PT somehow, to find pscale for each point, but I can't figure out the right syntax. Thank you!!
-
- Quick Links