GLdc: an OpenGL implementation for the SEGA Dreamcast
Go to file
2018-05-16 21:50:05 +01:00
containers Replace the entire matrix stack handling to work towards fixing lighting 2018-05-16 21:00:41 +01:00
GL Implement normal matrix calculation 2018-05-16 21:30:11 +01:00
include Replace the entire matrix stack handling to work towards fixing lighting 2018-05-16 21:00:41 +01:00
kos
.gitattributes
.gitignore
gl-api.c More immediate mode 2018-05-12 14:54:06 +01:00
gl-api.h Start reimplementing immediate mode and removing dead code 2018-05-12 14:39:20 +01:00
gl-cap.c Start reimplementing immediate mode and removing dead code 2018-05-12 14:39:20 +01:00
gl-clip-arrays.c
gl-clip.c
gl-clip.h
gl-error.c Reimplement or refactor Texturing, State, and Drawing 2018-05-11 15:39:28 +01:00
gl-fog.c
gl-framebuffer.c
gl-light.c Replace the entire matrix stack handling to work towards fixing lighting 2018-05-16 21:00:41 +01:00
gl-light.h
gl-pvr.c Add glNormalX, remove more dead code 2018-05-12 21:20:26 +01:00
gl-pvr.h Reimplement or refactor Texturing, State, and Drawing 2018-05-11 15:39:28 +01:00
gl-rgb.c
gl-rgb.h
gl-sh4-light.S
gl-sh4.h
glu-texture.c Refactor glTexImage2D and associated enums 2018-05-01 09:07:09 +01:00
Makefile Remove some old code 2018-05-16 21:43:56 +01:00
README.md Add a readme 2018-05-16 21:50:05 +01:00

GLdc

This is a partial implementation of OpenGL 1.2 for the SEGA Dreamcast for use with the KallistiOS SDK.

It began as a fork of libGL by Josh Pearson but has undergone a large refactor which is essentially a rewrite.

The aim is to implement as much of OpenGL 1.2 as possible, and to add additional features via extensions.

Things left to (re)implement:

  • Fog
  • Near-Z clipping
  • Spotlights and point lights
  • Framebuffer extension

Things I'd like to do:

  • Use a clean "gl.h"
  • Define an extension for modifier volumes
  • Support GL_ALPHA_TEST using punch-thru polys
  • Add support for point sprites
  • Optimise, add unit tests for correctness