HN Books @HNBooksMonth

The best books of Hacker News.

Hacker News Comments on
Flights of Fantasy: Programming 3d Video Games in C++/Book and Disk

Christopher Lampton · 3 HN comments
HN Books has aggregated all Hacker News stories and comments that mention "Flights of Fantasy: Programming 3d Video Games in C++/Book and Disk" by Christopher Lampton.
View on Amazon [↗]
HN Books may receive an affiliate commission when you make purchases on sites after clicking through links on this page.
Amazon Summary
The first and only book to reveal the secrets of writing 3-D game applications for C++ programmers. Flights of Fantasy takes programmers behind the scenes and reveals how to develop and produce commerical quality, real-time, 3-D animations. Using Borland C++ compiler and BASM assembler as a programming platform, this is for intermediate level programmers interested in producing 3-D games. (via goodreads)
HN Books Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this book.
When I was a teenager who wanted very much to make videogames and demoscene productions (in the pre-ubiquitous-internet era of Wolfenstein), I had worked up through basic, and pascal, and finally arrived at c++ for speed. The C++ books dealing with graphics were all using really cheesy and slow libraries, totally inappropriate for games.

The one book that really made everything come together was "Flights of Fantasy" https://www.amazon.com/Flights-Fantasy-Programming-Video-Gam...

This covered how to write a simple flight simulator in C++ on the hardware of the time. It also gave a really good practical primer on the linear algebra needed for 3d graphics. Inline assembly and a bunch of fun algorithms for quick and dirty approximate math were there too.

That book, along with the free time and obsession that a 14 year old can muster, was probably what started me on my (in my opinion) successful hacking and optimization trajectory.

It's a bit dated now that most CPU's have amenities like built in floating point math but not too long ago I was doing embedded audio synthesis on an 8bit AVR micro and Bresenham's line drawing algorithm was just what I needed to efficiently generate saw waves.

Jun 26, 2018 · flukus on Massacring C Pointers
Didn't some of the C++ books have to be crappy in some ways due to limitations of free (as in beer) compilers with arbitrary limitations? One I vaguely remember was a ridiculously (even for the time) limited stack size, so a lot of examples had to do unnecessary allocation just so readers could compile.

I think it was this book (https://www.amazon.com/Flights-Fantasy-Programming-Video-Gam...) that taught me 3D programming better than anything else. The code was readable, the maths was well explained and it included sections on how to do things without those newfangled maths co-processors. I'd love to buy a copy now just to see if it really was a good book or if it led me astray.

HN Books is an independent project and is not operated by Y Combinator or Amazon.com.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.