|03 March 2013||#1|
BA (Hons) Computer Games Animation
Evesham, United Kingdom
Maxscript Help - Final Year Project:- Voxel Explosion
Hi there guys,
I'm new here and definitely a newbie when it comes to MAX Scripting. I'm current undertaking my final year in University and require assistance for my required script to help me animate my Final Major Project.
My protagonist is chased, as as he flee's the environment around him combusts into voxels, similar to the deaths in "Disney's TRON".
See here: http://www.youtube.com/watch?v=twEiQxxEyog @ 1:30
The environment is build out of hundreds cubes and thus I require each cube to explode into miniature cubes. Here is my proposed idea but i'm not sure how to go about scripting it:
Create a box
Name that Box "ParentBox"
Create 30 boxes inside of "ParentBox"
Name those Boxes "ChildBox_n" where n = PreviousBox + 1
/Eg. Childbox_14 = ChildBox_13 + 1
Animate ParentBox to Shrink for 50 frames
Animate ChildBoxes to Translate, Rotate and Scale in X,Y,Z Axis for 100 Frames
Translate = 0 +/- 30 Units
Rotate = 0 +/- 360 Degrees
Scale = 0 +/- 2 Units
Delete ChildBoxes after 100 Frames
Any help or advice would be much appreciated and credited appropriately in my animation. (Unless you want to remain anonymous)
Ryan a.k.a. StripySniper
|03 March 2013||#2|
Jonathan de Blok
I think you can do this easier, unless using maxscript is a requirement, you can fill a volume (your environemt objects) with small cubes using particle flow and then just set a wind force in the middle of it all to a high value and cubes will fly around..
If you want correct physics you can use particleflow as well, if you on subs (or wait for max2014 to become availabe) you can use mParticles to create a physical correct animation as seen in the end of your example where it all falls to the floor. Things like this: http://www.youtube.com/watch?v=pEmNDj3QljM are quite an easy thing to do actually.
(edit: So your quickly swap your solid environment with the filled voxel volumes at time of explosion.)
And check scriptspot.com, there are numerous voxel scripts around there to get some inspiration from.
The GPU revolution will not be rasterized! - http://www.jdbgraphics.nl
Last edited by jonadb : 03 March 2013 at 07:11 PM.
|03 March 2013||#4|
Thread automatically closed
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|