# 3d Pyramids tutorial bugged?

**URL:** <https://forum.kirupa.com/t/3d-pyramids-tutorial-bugged/142198>\
**Category:** Uncategorized\
**Created:** [March 26, 2005, 11:35am UTC](https://forum.kirupa.com/t/3d-pyramids-tutorial-bugged/142198 "2005-03-26T11:35:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chriz74](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@Chriz74](https://forum.kirupa.com/u/Chriz74)\
**Post date:** [March 26, 2005, 11:35am UTC](https://forum.kirupa.com/t/3d-pyramids-tutorial-bugged/142198/1 "2005-03-26T11:35:01Z")

</div>

Hello. I’m trying to make my own logo with back culling of faces and checked this tutorial:

[http://www.kirupa.com/developer/actionscript/solid\_pyramids.htm](http://www.kirupa.com/developer/actionscript/solid_pyramids.htm)

the code should generate two different pyramids using two different ways to hide back faces… the problem is that it really generates only one (the one which uses the swapdepths system) while the one which uses the ifvisiblebetween system doesn’t show up. Can anyone find the bug in the code? I need to use the ifvisiblebetween system in my own code but nothing shows up.
