AndEngine icon indicating copy to clipboard operation
AndEngine copied to clipboard

Is it possible to exend andengine for 3D use

Open kameronbrooks opened this issue 10 years ago • 2 comments

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?

kameronbrooks avatar Oct 02 '14 23:10 kameronbrooks

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" [email protected] 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.

nicolasgramlich avatar Oct 02 '14 23:10 nicolasgramlich

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" [email protected] 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 .

kameronbrooks avatar Oct 03 '14 16:10 kameronbrooks