nicolasgramlich / AndEngine

Free Android 2D OpenGL Game Engine
http://www.andengine.org
Apache License 2.0
3.18k stars 1.35k forks source link

Is it possible to exend andengine for 3D use #261

Open kameronbrooks opened 10 years ago

kameronbrooks commented 10 years ago

All my attempts to add depth to andengine have been in vain. I was wondering If there was a way to extend the functionality to 3 dimensions. I noticed by default there are no depth bits requested in the EGLConfig, But simply requesting depth bits gives me a black screen.

Is there a way to do this?

nicolasgramlich commented 10 years ago

There surely is. Biggest thing to change is touch handling which is going be much more complicated. On Oct 2, 2014 4:40 PM, "Kameron Brooks" notifications@github.com wrote:

All my attempts to add depth to andengine have been in vain. I was wondering If there was a way to extend the functionality to 3 dimensions. I noticed by default there are no depth bits requested in the EGLConfig, But simply requesting depth bits gives me a black screen.

Is there a way to do this?

— Reply to this email directly or view it on GitHub https://github.com/nicolasgramlich/AndEngine/issues/261.

kameronbrooks commented 10 years ago

Thanks for the quick reply. I have already extented the spritebatch class to accomodate 3D vertices. My main issue now is enabling depth testing. Was there a specific way that you intended for open GL Depth Testing to be used with andengine?

I searched through the library looking for a way, but could not figure it out.

Your help would be greatly appreciated.

Thanks

There surely is. Biggest thing to change is touch handling which is going be much more complicated. On Oct 2, 2014 4:40 PM, "Kameron Brooks" notifications@github.com wrote:

All my attempts to add depth to andengine have been in vain. I was wondering If there was a way to extend the functionality to 3 dimensions. I noticed by default there are no depth bits requested in the EGLConfig, But simply requesting depth bits gives me a black screen.

Is there a way to do this?

— Reply to this email directly or view it on GitHub https://github.com/nicolasgramlich/AndEngine/issues/261.

— Reply to this email directly or view it on GitHub https://github.com/nicolasgramlich/AndEngine/issues/261#issuecomment-57728789 .