fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

Implement a surface with access to the GL API #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Idea taken from http://code.google.com/p/forplay/issues/detail?id=15

Implement a surface which can be manipulated with GL draw calls to make it 
possible to add 3D content.

I aggree that this would only experimental because this API wouldn't be 
supported on all platforms. The things learned could later be added to the core 
to support 3D Primitives on all platforms.

Ideas:
* Implement this in component seperate from the core to keep the core clean
* OpenGL API containing the common subset of GL3, GL2 and GLES2 (GL2ES2)
* Support for Android, Desktop and HTML

Original issue reported on code.google.com by johannes...@googlemail.com on 30 Nov 2011 at 4:35

GoogleCodeExporter commented 9 years ago
Again accepted, though of course the devil's in the details as discussed on the 
linked issue.

A good first step (which would be useful independently of a public API) would 
be to implement LWJGL on the Java platform, then unify the slightly-divergent 
WebGL/AndroidGL rendering layers with the new Java one. Then we could expose 
that API directly, at least as a first-step experiment.

Original comment by jgw@google.com on 30 Nov 2011 at 6:09

GoogleCodeExporter commented 9 years ago
The clutter project (http://www.clutter-project.org/) used in Gnome3 has a 
GL/GL:ES abstraction layer called 'cogl'. Maybe a nice place to get some 
inspirations. 
Not sure if they work on a webgl implementation for the javascript version of 
gnome3.

Original comment by Seb.Szcz...@gmail.com on 1 Dec 2011 at 8:46

GoogleCodeExporter commented 9 years ago

Original comment by m...@samskivert.com on 22 Apr 2012 at 10:57