Pie chart blend space#1652
Conversation
|
This will need a license and an example app. |
Example app should be in a different PR or can be on the same PR ? |
|
Same PR would be best, I think. |
|
Added a simple testcase for the new piechart blend space, i hope everything is clear. |
|
Idk why this happens : |
|
The build failure seems to be due to a transient dns glitch in the wrapper-validation-action used by the CI workflow. See : The build script is locked to v1, should probably be bumped to 1.0.4 to improve stability against this. |
|
I'll re-run the GitHub jobs in the hope of more successful checks. I've upgraded wrapper-validation-action in the "master" branch at 5820393 . |
|
Can you please explain what is the use case for a pie chart blend space? How it is different from the default blend space in JME? And how many actions we are supposed to blend with this blend space? Thank you |
Hello @Ali-RS , 1) BlendSpaces in general : they are mathematical spaces used to adjust the value of the
|
|
I think i will have to make another testcase |
|
Thanks @Scrappers-glitch I am fine with the max 2 limit. Edit: You can copy/paste this example and modify it if you like. |
|
Thanks for your reply, it actually points us to an important part, which is liberating the |
I plan to do some special use cases on another PR for the new Animation system including how to build your own blend space, using base actions to fire events on some moment of time in seconds and I will include this interesting testcase of using both linear and piechart blend spaces on Jaime. |
|
@Ali-RS Alright, you could check it now, added blending between more than 2 actions, but the user has to alter the slider on which 2 actions to play (use |
|
I have nothing else to add on this, please continue reviewing it. |
|
As requested, a very simple representation for this function : Parameters that alter the function :
Both of which will calculate the blendStep which is the user's sector area with respect to the unit circle area. For users :
|
|
Note: as you've written the diagram, you essentially have EDIT: for visual clarity, the superscript4 was way smaller than I anticipated |
the the final value is Why |
|
But that still begs the question "why?" What problem are you trying to solve that has an intuitive model in terms of |
Do you want it in a single step ? I think being in multiple steps makes you understand better. It's just a scaled sector area...notice that r is a fraction between zero and one so the |
|
I will close this feature, since no response from the community. |

An
Enhancementto the new animation system :blendWeight, using a pie chart area and a pie chart sector.