4 Replies Latest reply on Feb 14, 2016 1:26 PM by CACraig

    Need help with 3D animation.

    CACraig

      Hello,

      I am currently working on a project in adobe after effects where I am trying to creating a 3D rubik's cube animation that will be used as a visualizer. However I am running into some hurdles and was hoping to find some tips and or advice on the forums. I am running into two issues:

      1. Parts of the rendered object don't completely render once all 27 cubes are in place. I am rendering it by creating a shape layer with a rectangle (100x100) using fill and stroke, then copying it 6 times and rotating about the x and y axes, then lastly pre-rendering into a new comp. I then duplicate pre composed image and edit the position to build the entirw rubik's cube. However in certain areas it seems parts of the pre-rendered cubes disappear?

      2. I have tried using parenting to get the animation to move like a rubik's cube, which works, but I can only rotate about one axis. I need to be able to rotate all the layers along both the x and y axis like an actual rubik's cube.

       

      Any ideas to help me with this project?

       

       

        • 1. Re: Need help with 3D animation.
          Mylenium Most Valuable Participant

          However in certain areas it seems parts of the pre-rendered cubes disappear?

           

          You are simply exhausting the resources of your hardware. Even a beefy graphics card can only take you so far.

          I need to be able to rotate all the layers along both the x and y axis like an actual rubik's cube.

           

           

          Impossible even in a 3D program. Well, not actually impossible, but you need like over 30 levels of nesting/ parenting, which is impossible to manage. A Rubik's cube has over one billion combinations, after all. The common approach is to animate a couple of steps and then freeze/ snapshot the current positions and start off fresh. There are scripts for this to help.

           

          Mylenium

          • 2. Re: Need help with 3D animation.
            CACraig Level 1

            Thanks for the input. I had figured these were/would be the issues I was facing. I jumped back on it this morning and was able to find a camera angle which rendered it properly, and simplified it. So I believe I have found a way around my obstacles, and although it won't be quite what I set out to do I am quite pleased with what I have done. I ended up going through the process of pre-rendering the layers individually with their rotation in either horizontal or vertical direction. Then taking the pre rendered animations and layering them together. Seems to work well and still can be used for what I want even though now I will have to manually edit the "movements" to the audio source rather than keyframing it.

            • 3. Re: Need help with 3D animation.
              Rick Gerard Adobe Community Professional & MVP

              By far the easiest and most efficient way to do a Rubik's Cube in AE is with this script: RubikCube - aescripts + aeplugins - aescripts.com

               

              Even my puny Mac Mini can build one in about 35 seconds and it has no problems rendering:

              Screen Shot 2016-02-14 at 12.33.16 PM.png

              More than worth the price if you need one.

              • 4. Re: Need help with 3D animation.
                CACraig Level 1

                Thank you, I will have to keep that in mind if I ever decide to go beyond what I have already done with the rubik's cube I was able to render out Just finishing up with the last set of vertical rotations.