Indeed, I did not specifically needed sqrt. The problem is that not all of them are available. What I'm really worried about is when making custom expression functions specifically needed for conditions in L-Systems. Will it be able to use those ?
I'll see if I can make some time and create a test file.
Thanks for looking into this.
Frank
Found 6 posts.
Search results Show results as topic list.
Technical Discussion » L-System variables in expression functions
- afrank
- 6 posts
- Offline
Technical Discussion » L-System variables in expression functions
- afrank
- 6 posts
- Offline
Hello,
How can I use L-System variables in expression functions within rules ?
I can for example create a conditional rule like …
A(h) : `sqrt(4)` = 2 -> F …
But I can't use:
A(h) : `sqrt(h)` = 2 -> F …
Is there any way to do that ?
Thanks,
Frank
How can I use L-System variables in expression functions within rules ?
I can for example create a conditional rule like …
A(h) : `sqrt(4)` = 2 -> F …
But I can't use:
A(h) : `sqrt(h)` = 2 -> F …
Is there any way to do that ?
Thanks,
Frank
Technical Discussion » Recording Paint strokes
- afrank
- 6 posts
- Offline
Hello,
I would like to record position info of paint strokes on geometry into channels using the Record Chop. I have to start playback to record though. Is there any way to have the frame change one frame ONLY if there is any change in the paint stroke ? A way to trigger a “move one frame up if position on stroke changes” kinda system.
Thanks,
Frank
I would like to record position info of paint strokes on geometry into channels using the Record Chop. I have to start playback to record though. Is there any way to have the frame change one frame ONLY if there is any change in the paint stroke ? A way to trigger a “move one frame up if position on stroke changes” kinda system.
Thanks,
Frank
Technical Discussion » User parameter in LSystem
- afrank
- 6 posts
- Offline
If you add a parameter in the values tab using the +/- it will work fine. I was talking about adding a parameter using the “Edit Parameter Interface” of the SOP. That one needs opcook. The system under the Values Tab doesn't
When you use the “Values Tab” and add the param “w” you just have to write the rule:
X=&(w)FX
When you use the “Values Tab” and add the param “w” you just have to write the rule:
X=&(w)FX
Technical Discussion » User parameter in LSystem
- afrank
- 6 posts
- Offline
Well … I added “opcook -F .” to the Callback Script and then it worked. It's definitely a bug.
But yes … creating additional variables in the values tab is probably the right way to go.
Thanks,
Frank
But yes … creating additional variables in the values tab is probably the right way to go.
Thanks,
Frank
Technical Discussion » User parameter in LSystem
- afrank
- 6 posts
- Offline
Hello,
I'm using Houdini 10 on Linux.
I'm having problems using user defined parameter in my LSystem rules.
Here is a simple tryout:
Premise: FX
Rule1: X=&(`ch(“mytest”)`)FX
It is just a bending skeleton stick that uses the user defined parameter “mytest” as bending angle per generation.
If I set the parameter to a certain angle and write the rule, it picks it up fine. But when I change the parameters with it's slider or just enter a new value, the turtle does not update.
However, if I use one of the existing variables under the “Values” tab, it works fine.
Rule1: X=&(`ch(“varb”)`)FX
Anyone knows how to make this work ?
Thanks,
Frank
I'm using Houdini 10 on Linux.
I'm having problems using user defined parameter in my LSystem rules.
Here is a simple tryout:
Premise: FX
Rule1: X=&(`ch(“mytest”)`)FX
It is just a bending skeleton stick that uses the user defined parameter “mytest” as bending angle per generation.
If I set the parameter to a certain angle and write the rule, it picks it up fine. But when I change the parameters with it's slider or just enter a new value, the turtle does not update.
However, if I use one of the existing variables under the “Values” tab, it works fine.
Rule1: X=&(`ch(“varb”)`)FX
Anyone knows how to make this work ?
Thanks,
Frank
-
- Quick Links