Luke Benstead
5b05039dfd
Add a sample demonstrating the zclipping issue
2018-05-31 19:34:55 +01:00
Luke Benstead
4a154d9c4e
Add a near-z line clipping function in preparation for implementing near-z clipping
2018-05-31 09:38:34 +01:00
Luke Benstead
9167869633
Add gluOrtho2D, ortho2d example and fix glOrtho
2018-05-29 19:39:27 +01:00
Luke Benstead
101f260ce6
Add nehe06
2018-05-29 17:18:01 +01:00
Luke Benstead
a8d5d2f506
Add NeHe lesson 3, and a Vertex Array version of lesson 2
2018-05-29 17:02:57 +01:00
Luke Benstead
ac43344666
Add placeholder so that the romdisk folder stays around
2018-05-29 15:41:42 +01:00
Luke Benstead
fc14c9fa9a
Remove unnecessary files from git
2018-05-29 13:16:11 +01:00
Luke Benstead
b6b1591010
Add the first nehe sample and make it work
2018-05-29 13:12:38 +01:00
Luke Benstead
f9809ec2b7
Make the containers C++ compatible
2018-05-28 08:52:44 +01:00
Luke Benstead
0e48a3824b
Fix Accumlation buffer error in lxdream
2018-05-28 08:52:35 +01:00
Luke Benstead
fef6387120
Move the initial capacity definition to the header file
2018-05-28 07:16:50 +01:00
Luke Benstead
a08ce4a06c
Fix crash if glTexParameter was called when no texture bound
2018-05-28 07:16:40 +01:00
Luke Benstead
c363a37e30
Fix the containers to compile on C89 and C99
2018-05-26 19:17:42 +01:00
Luke Benstead
2f014f55b6
Fix compiling on OSX
2018-05-25 21:08:39 +01:00
Luke Benstead
b9a2351f0a
Add .a files to .gitignore
2018-05-21 20:28:52 +01:00
Luke Benstead
ae1bb2869b
Build out to libGLdc.a to avoid confusion with libGL
2018-05-21 19:55:20 +01:00
Luke Benstead
51d02ae489
Stub out some of the ARB_framebuffer_object extension
2018-05-20 21:29:04 +01:00
Luke Benstead
1c6bb24b86
Create LICENSE
2018-05-20 19:51:36 +01:00
Luke Benstead
f3339e1868
Implement gen/delete/bind framebuffers
2018-05-20 16:44:16 +01:00
Luke Benstead
8a4e53a9c7
Fix fog enable/disable
2018-05-20 16:37:45 +01:00
Luke Benstead
0021a1ca87
Update README.md
2018-05-20 16:25:37 +01:00
Luke Benstead
dd75ae3caf
Merge pull request #7 from Kazade/experimental
...
Complete rewrite of libGL, now called GLdc
2018-05-20 16:24:31 +01:00
Luke Benstead
396ea82856
Drop all of the old libGL files
2018-05-20 16:16:53 +01:00
Luke Benstead
1421736733
Remove another old file
2018-05-19 13:43:22 +01:00
Luke Benstead
23e564269b
Fix lighting bugs
2018-05-19 09:17:24 +01:00
Luke Benstead
cd71de76ee
Add a readme
2018-05-16 21:50:05 +01:00
Luke Benstead
9e54126de7
Remove some old code
2018-05-16 21:43:56 +01:00
Luke Benstead
278ba01538
Fix up the makefile
2018-05-16 21:41:12 +01:00
Luke Benstead
2d9c439490
Implement normal matrix calculation
2018-05-16 21:30:11 +01:00
Luke Benstead
f9cdefcd81
Replace the entire matrix stack handling to work towards fixing lighting
2018-05-16 21:00:41 +01:00
Luke Benstead
4218111ab8
Make things C89 friendly
2018-05-14 17:10:53 +01:00
Luke Benstead
de1fb05ac1
Fix bugs in immediate mode
2018-05-14 16:58:58 +01:00
Luke Benstead
4106206562
Implement glMaterialfv
2018-05-13 19:48:55 +01:00
Luke Benstead
2cef0cb25e
Implement glLightf
2018-05-13 09:34:44 +01:00
Luke Benstead
ab11a02056
Diffuse should be ignored if lighting is enabled
2018-05-13 09:00:38 +01:00
Luke Benstead
c76338b16f
Add glNormalX, remove more dead code
2018-05-12 21:20:26 +01:00
Luke Benstead
97f4e020ad
Rename experimental and update the Makefile
2018-05-12 21:06:22 +01:00
Luke Benstead
a09e05b01a
More lighting work
2018-05-12 21:01:51 +01:00
Luke Benstead
4b8991e45f
More immediate mode
2018-05-12 14:54:06 +01:00
Luke Benstead
146be442f4
Start reimplementing immediate mode and removing dead code
2018-05-12 14:39:20 +01:00
Luke Benstead
e96d379796
Stub out lighting functionality
2018-05-12 14:05:54 +01:00
Luke Benstead
62e001c288
Reimplement or refactor Texturing, State, and Drawing
...
Things working:
- glDrawArrays / glDrawElements et al.
- Texturing
- Blending
Things missing:
- Lighting
- Multitexturing
- Near Z-clipping
- Framebuffer extension
- Immediate mode
2018-05-11 15:39:28 +01:00
Luke Benstead
1356ae352c
Begin experimental new renderig code
2018-05-05 20:38:55 +01:00
Luke Benstead
493c078b19
Replace the texture linked list with a new NamedArray container type
2018-05-02 09:31:24 +01:00
Luke Benstead
42d2a1e091
Refactor glTexImage2D and associated enums
...
- Enums now respect GLs defined ranges
- Short formats are now correctly supported
- Duplicated (and incorrect) enums removed
- New conversions supported
- Fixes a number of bugs
2018-05-01 09:07:09 +01:00
Luke Benstead
4653957c85
Make things compile under c99
2018-04-29 08:32:06 +01:00
Luke Benstead
2bff44ce6a
Don't reset the client state when flushing arrays
2018-01-27 14:02:08 +00:00
Luke Benstead
bd80c9ae7f
Add build and link targets to the makefile
2018-01-18 19:52:54 +00:00
Luke Benstead
3f364c6a12
Disable auto sorting features of PVR
2017-09-15 19:14:21 +01:00
Luke Benstead
100e6980a5
Move to a dynamically resizing vertex buffer
2017-09-15 13:11:10 +01:00