rlsw – Raylib software OpenGL renderer in less than 5k LOC
1–10 of 100 posts
Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#2Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#3*OpenGL-style.
In a similar way, this implements just enough so Raylib's OpenGL backend can run! It was done so you can use the library without external graphics dependencies if you really want to.
Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#4Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#5Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#6Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#7How many lines to implement OpenGL 2.0 (non ES) ?
Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#8*OpenGL-style.
Congrats for only reading the header ;) It's actually a pretty decent OpenGL 1.1 software implementation, obviously not complete and spec-correct though. It's more like those MiniGL drivers back in the day, implementing just enough of the spec so the game can run ;) In a similar way, this implements just enough so Raylib's OpenGL backend can run! It was done so you can use the library without external graphics depend…
Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#9> OpenGL 1.1-style implementation on software How many lines to implement OpenGL 2.0 (non ES) ?
You also need to implement multitexturing (probably the easy part) but also all the texture combiner stuff too. This one is not hard but also a good chunk of code...
All in all, at least 40K if you ask me, but that's a very lowball estimate.
Of course if you don't care about implementing the full spec, you can get away with a lot less.
Re: rlsw – Raylib software OpenGL renderer in less than 5k LOC
#10Earlier quoted context omitted.
Congrats for only reading the header ;) It's actually a pretty decent OpenGL 1.1 software implementation, obviously not complete and spec-correct though. It's more like those MiniGL drivers back in the day, implementing just enough of the spec so the game can run ;) In a similar way, this implements just enough so Raylib's OpenGL backend can run! It was done so you can use the library without external graphics depend…
That's an extremely snarky reply given the post is just a direct link to the header.