Thank you for your reply, but I did check and all segments are bezier().
I also tried changing the segments to cubic() and then back to bezier(). When cubic(), the handles (minus the acceleration handles) appear everywhere, but the moment I switch back to bezier() the handles disappear again.
Found 6 posts.
Search results Show results as topic list.
Technical Discussion » Problem with Animation Editor & Bezier Handles
- socratica
- 6 posts
- Offline
Technical Discussion » Problem with Animation Editor & Bezier Handles
- socratica
- 6 posts
- Offline
I created a sphere with 5 position keyframes (on the sphere, not the geo node.)
When I go into the Animation Editor, I noticed that I only see 2-sided Bezier handles for the first keyframe, and 1-sided handles for the 2nd and last keyframes. All intermediate keyframes have no handles at all.
However, if I change all curve segments to “cubic”, then each keyframe has a 2-sided handle.
I did notice that if I add keyframes from within the Animation Editor, rather than using the “K” shortcut in the Scene View, then 2-sided Bezier handles will start to appear, but never for the final segment.
Is this a known bug? Or am I missing something obvious?
NOTE: In the preferences, I did set the “Auto Function” to “bezier()” for the “Animation” preferences. Still no luck.
Help!!
~Michael
When I go into the Animation Editor, I noticed that I only see 2-sided Bezier handles for the first keyframe, and 1-sided handles for the 2nd and last keyframes. All intermediate keyframes have no handles at all.
However, if I change all curve segments to “cubic”, then each keyframe has a 2-sided handle.
I did notice that if I add keyframes from within the Animation Editor, rather than using the “K” shortcut in the Scene View, then 2-sided Bezier handles will start to appear, but never for the final segment.
Is this a known bug? Or am I missing something obvious?
NOTE: In the preferences, I did set the “Auto Function” to “bezier()” for the “Animation” preferences. Still no luck.
Help!!
~Michael
Edited by socratica - April 14, 2020 20:14:04
Technical Discussion » Finding primitives by name
- socratica
- 6 posts
- Offline
Thanks! I need to leave my Python comfort zone and really learn vex since speed is a focus of mine.
Technical Discussion » Finding primitives by name
- socratica
- 6 posts
- Offline
I was going to use a group, but I read on the Node name docs [www.sidefx.com] that names are more efficient than groups. So I was hoping to get used to using names for a lot of my computations in Python nodes.
My gut tells me I'm prematurely optimizing… But I'm still curious if there's a method that will return all primitives with a given name.
My gut tells me I'm prematurely optimizing… But I'm still curious if there's a method that will return all primitives with a given name.
Technical Discussion » Finding primitives by name
- socratica
- 6 posts
- Offline
Hello everyone,
I've looked through the documentation thoroughly, and I can't find a simple way to find all primitives with a specific name.
Using Python it can be done with a short list comprehension:
(bracket) prim for prim in geo.prims() if prim.attribValue(“name”) == “michael” (closed bracket)
But this loops over every single primitive.
Q: Is there a faster way to do this rather than looping over all prims?
(My hope is that Houdini indexes things by name for super fast lookup.)
Thanks!
~Michael
I've looked through the documentation thoroughly, and I can't find a simple way to find all primitives with a specific name.
Using Python it can be done with a short list comprehension:
(bracket) prim for prim in geo.prims() if prim.attribValue(“name”) == “michael” (closed bracket)
But this loops over every single primitive.
Q: Is there a faster way to do this rather than looping over all prims?
(My hope is that Houdini indexes things by name for super fast lookup.)
Thanks!
~Michael
Edited by socratica - July 14, 2019 19:16:17
Technical Discussion » Question about Variance in POP Sources
- socratica
- 6 posts
- Offline
My background is math/cs. I started learning Houdini a few months ago and absolutely love it!
I'm currently learning about particles and have a question about the randomness of the velocity of new particles. At first I assumed the “variance” in the velocity was the variance of a normal distribution. But that doesn't seem to be the case. I generated several thousand random values for the velocity and looked a plot for their distribution, and the values are, by default, bounded in .
But they aren't uniformly distributed.
Q: Does anyone know what random distribution is used to generate the velocities of each particle?
Thanks!
~Michael
I'm currently learning about particles and have a question about the randomness of the velocity of new particles. At first I assumed the “variance” in the velocity was the variance of a normal distribution. But that doesn't seem to be the case. I generated several thousand random values for the velocity and looked a plot for their distribution, and the values are, by default, bounded in .
But they aren't uniformly distributed.
Q: Does anyone know what random distribution is used to generate the velocities of each particle?
Thanks!
~Michael
-
- Quick Links