We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

"Arcs" as "path" in parametric morphing? (3d pie chart radial growth)

Home Forums Graphics / Blender "Arcs" as "path" in parametric morphing? (3d pie chart radial growth)

Viewing 5 posts - 1 through 5 (of 5 total)
• Author
Posts
• #20963
GlifTek

hi
I’m delving into experimenting with the interactive parametric objects feature in Verge3D.
Making interactive parametric models with Verge3D, Blender, and WebGL

I’m enthusiastic about it’s potential for creativity!
One thing i thought that this may serve as a solution to a challenge we have is making the object grow along a CURVE or “arc” ..RADIALLY instead of a straight line’s path..
i see the objects in demos and the video above be animated strictly on a certain axis or another, but i’d like to have something grow in a CIRCULAR path, if you follow..

it would be as if you took HALF of an outline of an object, (say a chess pawn) and lathed it 360 deg to have a final product of the 3D chess pawn.
another simpler example would be a growing 3D “pie chart” that is animated from one slice.. all the way around to like 270 degrees.
while the outer edge stays smooth along a curved path.

i’d think one solution would be making a cylinder and making it 360 sides around, then derive ONE side’s worth as a pie slice.. 1/360
one edge at 0 one at 1, one in the center of the cylinder’s face (or pie center)
save that as key shape
flatten both outer edges to 0 (so it’s just a line)
save that as a key shape (or base)
then possibly multiply the morph between the flattened and the slice shape morph times 360?? using offset?

but is this method able to be interactive? …

EDIT: just tested and this method as described (so far) .. doesn’t work, as i thought, the vector between the two shapes (flat and pie slice) is a straight line, and as i push the amount of morph on the shape key slider in blender, it just keeps growing in that one 2 (set of vertices coords) vector.
also the max amount is a factor of 10 (in blender, haven’t tried in Verge3D though..) regardless, need to set it to reproduce the effect along a coord, requiring 3 repeatable vector coords (shapes)…hmmm

EDIT: going to investigate the SCREW modifier for modeling radially..

I’m brainstorming here but also wondering if there’s a simpler, more dynamic route I’m unaware of possibly with modifiers/ constraints to an empty’s path or something before i delve into experimenting with it.

thanks!

• This topic was modified 9 months ago by GlifTek.
#20975
GlifTek

So in trying to animate a radially growing pie chart,
I’ve tried the “spin” edit mode operator, the “skrew” modifier..
Finally had success with taking a subdivided rectangle cube(100 sections) and flattening it on the Y axis, then applying the “bend” modifier around an “empty” at the flattened rectangle’s 0,0,0 end.

I created 36 shape keys of the bend modifier, and animated them properly
To get the animation I want, a pie chart animating from 0 degrees all the way around it’s circumference to 360 degrees. used a drag rotate puzzle on it which rotates an invisible “empty” which told the animation to play it’s frames according to that empty’s rotation and VOILA!

just leaving this little learning experience here for anyone else trying to solve the same challenge.

#21880
Yuri Kovelenov
Developer

3D Verger, the CEO

#21923
GlifTek

Welp…
That was working, except for this error with it…

So I’m using a radial animated mask now, which is less objects and more reliable, but doesn’t have the cross section geometry…

EDIT: I’ve implemented dual mirrored rotating clip maps of the silhouette of the object that matches with the inside of the leading edges to “cap them”… Looks great.

• This reply was modified 7 months, 3 weeks ago by GlifTek.
#22472
GlifTek

The second attempt I did was using the”warp” tool. (It’s ridiculous that you can’t keyframe it…OR the SPIN TOOL!, or that the SCREW modifier doesn’t provide caps at the end.)..but you can make multiples and change them with them then apply them as shape keys after…

The warp attempt provided bad results in Verge (fine in blender)
…so the BEND is the only way…
(There IS no “spoon”, Neo)

This is a modality that would be ESSENTIAL to the type of. 3D illustration of products Verge 3D would excell at.

It’s been discussed on the forums.
Cut-aways / cross-sections / technical 3 quarters drafts etc…

I’ve found the only way blender can do this (appealing to verge3d’s current limitations) is via the BEND modifier.(Simple Deform, Blend option)

(Which is a ridiculous work around as you must make a long, multi sliced extrusion (in a different app if your piece has loose parts)

And you must center it just to one side and minimize its width so slightly, to then fan it around an. Axis…

There needs to be an add on written for this.

• This reply was modified 7 months, 1 week ago by GlifTek.
Viewing 5 posts - 1 through 5 (of 5 total)
• You must be logged in to reply to this topic.