Friday, 29 April 2016

Crash Test

In the Vivid 2016 installation - PTOLEMi; I have been assigned the role of making animations for the AR (augmented reality) part of this project.

The main criteria/options for this AR project are:
- Geo-location based animations
- Animation projected above structure
- Point cloud of animated objects within structure

My first task is to have an animation projected above structure and my first idea is to have objects falling on to the structure and have the object shatters into bits using Rayfire and 3DS Max 2016













Crash test
Drops object on the structure and shatter the object upon collision
1. Import Structure and draw plane and sphere (or any other geometry)
2. Under Create press Rayfire > Rayfire > Open Rayfire Floater
3. Highlight sphere and under Objects > Dynamic/Impact Objects; click Add
4. Highlight plane & structure and under Objects > Static&Kinetic Objects; click Add
5. Under Fragments > Choose any Fragmentation Type and click Fragment (this splits any objects under Dynamic/Impact Objects into bits)
6. Under Physics; click Preview to preview the animation
7. Adjust time scale,time range, gravity to respectively adjust the speed of animation, time range of animation and pull force acted upon the object
8. If the objects shatters but moves through the plane instead of landing on the plane; lower the collision tolerance.
9. Once satisfied with the animation; click Bake




Exporting as FBX into Unity
Assuming you have already started a Unity project:
1. Export > name animation > save as FBX file > choose file location under Assets in Unity Project
2. Do as shown below as click OK






































3. Open Unity Project and click the FBX file
4. Rename Take001(i.e. crash001) and click apply
5. Drag animation into the scene
6. Under Components > Miscellaneous > Click Animation and the Animation tab should show up on the right side of the screen 
7. Next to Animations should say 'None (Animation Clip)'
8. Click on the drop down and select your animation (i.e. crash001)
9. Under Rig > Animation Type; change Generic to Legacy and click Apply
9. Press Play and Wah lah!

!!! The final animation will have the structure itself removed from the AR realm so the falling AR objects will interact with the physical structure

FadeOut
1. Haven't figured that out yet

Apply textures
1. Haven't figured that out yet

Conceptual objects instead of basic spheres
1. Not there yet (probably will use grasshopper for complex shapes)

Export as DAE into Unity
1. Haven't figured that out yet