Commit Graph

133 Commits

Author SHA1 Message Date
Luke Benstead
02b4b2d438 Fix clipping errors when multiple strips submitted 2018-07-31 09:32:55 +01:00
Luke Benstead
a113722d82 Update the zclip_trianglestrip sample to show glitches 2018-07-16 17:25:30 +01:00
Luke Benstead
720206810d Use a smaller near plane value (for now) 2018-07-16 09:01:11 +01:00
Luke Benstead
60c49f708e Clip using the w coordinate 2018-07-16 08:42:15 +01:00
Luke Benstead
0d921c3504 Tweaks to clipping 2018-07-15 21:27:15 +01:00
Luke Benstead
8ef63c75af 'Fix' compiling on platforms other than the DC 2018-07-15 20:44:43 +01:00
Luke Benstead
9191c93cf6
Update README.md 2018-07-15 20:03:50 +01:00
Luke Benstead
7874f7862a
Merge pull request #16 from Kazade/near-z-v2
Implement near-z clipping
2018-07-15 19:54:34 +01:00
Luke Benstead
cdef5972f5 Fix bug when clipping triangle strips 2018-07-15 19:48:56 +01:00
Luke Benstead
81b52e7a18 Finish initial pass at a zclipping implementation 2018-07-14 21:54:43 +01:00
Luke Benstead
2067115385 Handle multiple triangle strips with single-vertices behind the plane 2018-07-10 20:27:15 +01:00
Luke Benstead
5387734e6c Implement z clipping for the single-vertex case 2018-07-10 19:48:25 +01:00
Luke Benstead
ab13ed4747 Merge branch 'refactor-submit' 2018-07-09 19:01:13 +01:00
Luke Benstead
e90b5e424a Fix up triangle strip rendering 2018-07-09 19:00:50 +01:00
Luke Benstead
030cbead7b
Merge pull request #14 from Kazade/refactor-submit
Large refactor of vertex submission
2018-07-09 08:59:23 +01:00
Luke Benstead
ae335eeff1 Large refactor of vertex submission
This should be much faster as matrix loading is now minimized. Also splits transform from perspective divisionn
to lay the groundwork for near-z clipping. This also fixes GL_POLYGON submission.

Lighting can be made faster, this doesn't change the lighting algorithm, but the matrix changes should speed things up.
2018-07-09 08:57:01 +01:00
Luke Benstead
a246c70c47 Update gitignore 2018-06-26 08:32:52 +01:00
Luke Benstead
b29956af84 Fix a minor issue in the lerabot sample 2018-06-09 16:44:11 +01:00
Luke Benstead
e70922ebb7 Fix various problems with the lighting calculations 2018-06-06 21:23:17 +01:00
Luke Benstead
a4be2fdaea
Merge pull request #12 from lerabot/master
Adding lerabot01 example.
2018-06-05 19:53:00 +01:00
Luke Benstead
e4311c5d0b
Update Makefile 2018-06-05 19:52:01 +01:00
lerabot
ecccfe9d55 Merge branch 'master' of https://github.com/Kazade/GLdc
Conflicts:
	samples/Makefile
2018-06-05 12:17:21 -04:00
lerabot
7c60a2b0db adding lerabot sample 2018-06-05 12:16:38 -04:00
lerabot
f1c58fe901 lerabot example 2018-06-05 12:16:10 -04:00
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