Git Product home page Git Product logo

gls3d's Introduction

OpenGL For Stage3D

This project provides an experimental implementation of the OpenGL API for use in the Flash Player. Behind the scenes all of the OpenGL APIs are implemented ontop of the Flash Player's GPU accelerated Stage3D rendering API. The implementation is intended to be used by existing C/C++ code compiled with flascc to target the Flash Player.

Demos

  • Neverball: (http://neverball.org/) is currently the showcase application for this project as it renders well and has good performance
  • Quake2: renders almost perfectly, but due to its use of old-school immediate mode OpenGL it doesn't map very well onto Stage3D so the performance isn't great at this time (Might be a good test case for VBO support if there are patches to the Q2 code to support them).
  • Quake3: renders correctly if lightmaps are disabled as they require multi-texturing to work correctly. Performance is better than Quake2 due to the use of vertex arrays)
  • cube2: (http://sauerbraten.org/) Not yet rendering correctly as the engine requires multi-texturing at the very least.

TODO

The project should be considered experimental at this point and still has many features that need to be implemented. In descending priority order I would say that the next things that need to be done are:

  • implement multitexturing.
  • implement support for VBOs.
  • integrate the glsl2agal project so we can support GLSL.
  • migrate more of libGL.as into the C code.

License

The Adobe written portion of this project is provided under the MIT license. The headers for OpenGL come from the Mesa project. The examples are all licensed differently, please check carefully before reusing any of their code.

gls3d's People

Contributors

alexmac avatar fungos avatar tepgithub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.