Skip to content
/ TinyGL Public

An extension of Fabrice Bellard's TinyGL project

License

Notifications You must be signed in to change notification settings

hydexon/TinyGL

Repository files navigation

TinyGL

a 3D render of multiple gears floating in empty space, one red, one blue, and one green.

An extension of Fabrice Bellard's TinyGL project.

The goal is to bring TinyGL up to full OpenGL 1.1 compatibility, along with a suite of GLU (and maybe GLUT) functions.

Original versions (in .tar.gz format) can be found in the "legacy" folder.

See examples/ui.c for an example of implementing TinyGL under SDL2.

Todo

  • Port examples to platform-agnostic window system
  • Remove BeOS code
  • Remove GLX & NGLX
  • Fix memory leaks in original code
  • Clean up syntax where necessary
  • Implement more GLU functions
  • Implement areas of OpenGL 1.1 and 1.2 that are missing
  • Fixed-point math
  • Native 8bpp renderng with predefined palette

License

MIT License

Copyright (c) 1997-2022 Fabrice Bellard

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An extension of Fabrice Bellard's TinyGL project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages