Home › Forums › Graphics / Blender › Q; Animation in a CAD hierarchy not working as expected
- This topic has 17 replies, 4 voices, and was last updated 4 years, 4 months ago by robwu01.
-
AuthorPosts
-
2020-05-05 at 3:38 pm #27222robwu01Participant
Hi all,
I have a CAD model, that will explode a part outwards (and back in) into separate objects on a button click.
This all works fine in the puzzles for the code.I’m trying to get my animation over to Verge from Blender, but for some reason only my main objects show animation.
I have some keyframes set in Blender for moving the parts outwards & back in again
on a basic hierarchy:
-base model
–empty 1
— object 1
— object 2
— object 3
–empty 2
— object 3
— object 4
— object 5
Animation is set to the ’empty’ objects & and it’s children objects.
The empties move the hierarchy part outwards & the objects have their own little translation on top of that to get into the proper location.When I play this in Verge, the only animation I see is on the empties, the animation on the children objects is not there.
I tried every option in the Blender/Verge settings on the animated objects & render settings, but so far no luck.I’m triggering the animation in puzzles on ’emptie 1’and ’empty 2′, maybe that will not ‘see’ the animation of the underlying objects? Or do I need to trigger every separate object on click? Hope not…
Any tips are welcome, as I feel I’m overlooking something basic…
rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-05-06 at 6:01 am #27249Mikhail LuzyaninStaffPlease, attach an example file with not working animation.
Co-founder and lead graphics specialist at Soft8Soft.
2020-05-06 at 8:33 am #27253robwu01ParticipantI can zip the project & blendfile if you want.
Do you want a download link here, or via email or something?
thanks!
rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-05-06 at 9:27 am #27257Mikhail LuzyaninStaffDownload link here.
Co-founder and lead graphics specialist at Soft8Soft.
2020-05-06 at 10:01 am #27258robwu01ParticipantHi,
Thanks for wanting to look into this. The file can be found here:
-removed- (29Mb)
Temporary scene can be seen here: http://www.rowumedia.nl/clients/svv/index.htmlPlease let me know when you DL the file, so I can remove it again.
rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-05-08 at 12:40 pm #27409robwu01ParticipantHi Mikhail,
Did you had time yet to look at the file? I’m really curious what it can be….
Thanks,
rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-05-08 at 1:40 pm #27411Mikhail LuzyaninStaffSorry for late reply. To run animation in the engine youu need to play it using Play animation puzzle for each object that aniamted not only it’s parent. It’s also better to set a 1 frame for each object even if animation plays from 200 frame.
Attachments:
You must be logged in to view attached files.Co-founder and lead graphics specialist at Soft8Soft.
2020-05-08 at 3:19 pm #27415robwu01ParticipantAh.. That’s too bad to hear…..
For these kind of animations that will take a lot of extra work.
This demo has almost 50 separate elements, in two sets of animations.
This becomes almost unworkable if there’s even more small objects to be shown.
It will become a long list of elements in the play puzzle, and hard to control.It would be nice to have Verge look at the full hierarchy for all animated objects.
For now I will have to re-organize my hierarchy, join all sub-objects into one mesh, and re-do some keyframes.
I did a quick test and that seems to be working fine. A bit of extra work, but at least I can start finalizing my little test project :)Thanks for the answer!
rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-05-08 at 4:55 pm #27418Mikhail LuzyaninStaffYou can add all animated objects into one collection and put it into one plsy animation puzzle. No need tfor extra work.
Co-founder and lead graphics specialist at Soft8Soft.
2020-05-08 at 6:05 pm #27421robwu01ParticipantNice! That indeed would save a lot of time :)
Thanks for that again! Blender and Verge are a great combo!
rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-07-22 at 2:20 pm #30467doehlmaCustomerHello,
I followed your posts and I had some equal problem before some time.. and I got following tip from other user:
If you have the animation definded complete in timeline, select all parts which animate, then from the menus bake the animation (object/animation/bake action) with the “Visual Keying” option selected. This creates keyframes for the objects position on each frame, which Verge3d can interpret…
Maybe works also for you
For my interest is it possible robwu01 that I can get your model because I am very interested in the explode and cut modifications… ???
Best regards
Marcus2020-07-22 at 2:41 pm #30470robwu01ParticipantHi Marcus,
Forgot about this thread tbh, as we finished the project already.
You don’t have to bake anything. Just animate the ‘exploding’ on the elements hierarchy, and be sure to put all the animated connecting parts in a Collection, or Collections.
I had three in the end, one for the top part, one for the side and one for the bottom hierarchy.
In Verge puzzles you can then select each Collection and trigger the animation as a whole on all separate elements inside. Works just fine.For the Cut/Detail inside, we had a separate non-animated model in the same scene, which is hidden on startup. A menu button would hide the animated version and show the cut through model. And vice versa.
We also had see-through material options and some more things.Hope this helps.
And unfortunately I cannot share any models delivered by clients.rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-07-22 at 2:49 pm #30472Yuri KovelenovStaff2020-07-22 at 3:22 pm #30474robwu01ParticipantHi Yuri,
I’m a 3d freelancer based in Holland, and did this test for a company in Germany I often work with.
This one was their internal project to see how easily it would be to move from Softimage+Unity to Blender+Verge for interactive WebGL demos.
We are working on some other demo’s atm, I’ll see if I can post the weblinks here.
cheers,
rob
Below sea level: 52.213545 Lat, 4.422061 Long
2020-07-24 at 9:25 pm #30614doehlmaCustomerHello robwu01,
can you tell me the main steps in blender 2.83.. to create this exploded view
like in your presentation ?Would be great if it is possible for you
Best regards,
Marcus -
AuthorPosts
- You must be logged in to reply to this topic.