News for hackers. Stuff that matters.
Re:Thoughts on Modern C++ and Game Dev by AnIdiotOnTheNet on Friday January 04, 2019 @09:41AM (#18824299)
That's just piling on even more abstraction! You may as well use a hex editor and create a single line BMP, then "run" it with any image viewer.
Re:Thoughts on Modern C++ and Game Dev by slezyr on Friday January 04, 2019 @01:23PM (#18826337)
"more abstraction"? It's just one to be cross platform, you can't use OpenGL without it.

No need to go full shit ape and creation of 3D images in bmp is excellent exercise you should try.

https://github.com/ssloy/tinyrenderer

Re:Thoughts on Modern C++ and Game Dev by AnIdiotOnTheNet on Friday January 04, 2019 @03:16PM (#18827246)
My point is, if you're allowing arbitrarily deep abstraction you can make almost any task trivial by just using something that basically already does what you're trying to do. The point the parent was making was how, with almost no abstraction at all, you could do graphics on an Amiga in a few lines, but to do the equivalent on a modern system at the lowest reasonable level of abstraction takes a lot more effort. Comparing that to a giant abstraction layer is missing the point.

> you can't use OpenGL without it.

Yes you can. You can't even pretend that coding once against SDL will absolve you of having to deal with platform issues, it just helps a lot.

> and creation of 3D images in bmp is excellent exercise you should try.

I'm a hobbiest game dev who almost exclusively uses software rendering (albeit to a framebuffer that gets pasted onto the screen with OpenGL as the path of least resistance). I've also written image libraries. None of this has anything to do with the parent comment.