I love how simple it is to create games with Cocos2d. I know it is a 2d engine but I have started to wonder if it would not be possible to actually include 3d models etc in Cocos2d (like done i fx New Super Mario Wii and many other games).
I have seen a few forum topics covering methods to use 3d in Cocos2d but I did not really understand fully what would make it difficult to do 3d in the draw method of a CCNode or similar as it gives access to the GL Context.
Now, if I want to start adding my 3d assets to a cocos2d game I need to know exactly how the GL context is set up and of cause how to reset state it again to ensure proper functionality of cocos2d. Can anyone explain what is actually needed to efficiently enable 3d drawing? What flags are set per default in Cocos2d v2.0 (I assume the depth buffer is not enabled and that orthographic projection is used). Is this true?
Hope to have some pointers from more experienced users :)