| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The projection matrix uniform was being used before the shader program
was being used. This caused nothing to get rendered until a window
resize.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The FMD (Faqe Model Data) format is a format designed for faqe. It
stores vertex, element and material information and mesh information.
This patch provides the basic implementation and use of this format.
This patch also implements perspective projection, depth testing and
view and model matrices.
An example fmd file is provided.
|
| |
|
| |
|
| |
|
|
|
|
| |
Replace all of GLFW3 with SDL2 for future benefits.
|
|
|
|
|
|
| |
The project has been renamed to faqe.
The logic for this name: quake -> fake quake -> faqe
|
|
|
|
|
|
|
|
|
|
|
| |
m4 has been removed, loadgl.c.in is now gl.c, gldefs.h and loadgl.h.in
have now been merged into gl.h. loadgl.m4 has been transformed into
glfunc.h which is being used in the way of a bie index file to
generate information at 3 places.
lgl_load is now gl_load and doesn't return anything, the jongjmp.h
method of error handling was pre-emptive and for now this much simpler
system will suffice. This means that lgl_strerror is no longer neede.
|
| |
|
| |
|
|
|
|
|
| |
Shaders are now stored in a bie flat archive and indexed via assets.c
and assets.h.
|
| |
|
| |
|
| |
|
|
|
|
| |
Add gl_uni_loc and gl_uni_set* functions to loadgl.
|
| |
|
|
|
|
|
| |
glprog provides a simple interface to loadign OpenGL program objects
and getting their uniform locations.
|
|
|
|
| |
gl_strerror takes an OpenGL error enum and acts like strerror.
|
|
|
|
|
| |
The loadgl interfaces, loads and functions are now generated with m4 so
that all the information can be stored in a single place.
|
|
|