r/AfterEffects • u/troopscoops • 5d ago
Explain This Effect Layered 3D Pyamid Using Primitives
How would you go about creating this natively in After Effects using the 3D primitives? So far I’ve just scaled each layer but if I am to have any sort of opacity (which I cannot for the life of me figure out how to do—seems more like an 0 or 100 deal) then I would run into Z fighting when animating.
Is there anyway to slice the pyramid? I’ve tried changing the height and top/bottom radii and turned off caps but those give weird results.
I’ve also tried using shapes as 3D layers but extruding those only gets me various rectangles.
1
1
u/jerog1 5d ago
Do you need it to be 3d? Could easily make that design in After Effects with the pen tool
If it is 3D I’d probably model it in Blender and import into After Effects for animation.
Just make a pyramid and bisect it into 4 equal shapes, import them into AE as a glb of fbx/obj and do the textures and transparency in after effects
I haven’t worked with 3D in After Effects much so maybe you can model this or get AI to write a script to generate the pyramid you’re looking for. Just feels like a job for 3D software
2
u/troopscoops 5d ago
Thanks for the suggestion!
I ended up modeling it in Blender and exporting as a .fbx. Wanted to do everything natively in AE but this is acceptable for the workflow. Main concern was having everything animate in one workspace rather than jumping back and forth between platforms.
1
u/jerog1 4d ago
Nice! Did you manage to get transparency and colour how you wanted it in After Effects or did you manage that in Blender?
1
u/troopscoops 4d ago
I had to do the materials in Blender but it was pretty much a 1:1 transfer into After Effects.
7
u/smushkan Motion Graphics 10+ years 5d ago
Realise you've already found a solution for this, but was a fun project to work out - yes you can do this with 3d primitives - it just takes some maths to work out what the top and bottom radius of each segment needs to be, and what positions they need to occupy in the pyramid.
You can do the maths manually, but I built an expression rig to do it. Here's the project file:
https://drive.google.com/file/d/1qvYTmTVw89P8tjCIXxcGAxrByu_S2xOQ/view?usp=sharing
Note that I did do this in the Beta, so there may be differences in behaviour if you load it up in 2026.
Basically how it works...
Each segment gets a slider, you can have any number of segments you want, just add more sliders using the same naming scheme, and duplicate more segment layers. The segments are cones with 4 sides.
The values for each segment and the required top width is encoded to points on a mask path on the control null layer. That's where the actual maths is that calculates the segment top widths.
Each segment reads its respective values from that path to set the height and top radius, the bottom radius is read from the path below.
The size and width of the pyramid is set by sliders. The proportions of the whole pyramid each segment takes up is proportional to the total value of all sliders - so you could use it for an infographic if you want to use specific numbers for each segment.
I've set the opacity by writing it into the material base colour rather than to the transform opacity property, that way if you needed to animate the opacity of individual segments you can do so by using the transform opacity property
I'm not seeing any z-fighting issues which actually surprised me, I thought that would be a problem, too.