News for hackers. Stuff that matters.
Re:Build Your Own Flight Sim in C++ by ilimilku on Saturday September 02, 2023 @12:19PM (#37362904)
I remember having this book. I was probably 14 or 15 years old, and I was just getting into aviation after being given my first flying lesson. I had a copy of MS Flight Simulator, and I had taught myself some C++, but of course the content of the book was a bit beyond my capacity at the time. It's nice to relive the excitement of getting this book with the idea of being able to make my own flight sim. Of course, the sim they make in the book, IIRC, was nigh unplayable!
Re:Build Your Own Flight Sim in C++ by NikkiA on Saturday September 02, 2023 @01:12PM (#37363392)
There was another similar book, that predated C++ / OOP popularity, that made a big fuss on the cover about how it taught quaternions.
Re:Build Your Own Flight Sim in C++ by TuringTourist on Saturday September 02, 2023 @05:44PM (#37365800)
Do you happen to recall the title of that book? Or what it was about?
Re:Build Your Own Flight Sim in C++ by tonyarkles on Saturday September 02, 2023 @07:06PM (#37366252)
Re:Build Your Own Flight Sim in C++ by TuringTourist on Saturday September 02, 2023 @08:03PM (#37366543)
That is actually an earlier version of the book in the OP, they renamed it between editions.
Re:Build Your Own Flight Sim in C++ by myth_drannon on Saturday September 02, 2023 @09:08PM (#37366838)
Oh, didn't realize there was a second edition to Flights of fantasy. Looks like they added a shading chapter and more sound code.
Re:Build Your Own Flight Sim in C++ by chromatin on Sunday September 03, 2023 @08:14AM (#37369779)
Oh! I had the original version ("Flights of Fantasy") and that's where I learned as a teen about matrix multiplication to represent translation and rotation!
Re:Build Your Own Flight Sim in C++ by NikkiA on Sunday September 03, 2023 @08:28AM (#37369874)
No idea sadly, I remember getting it from the university library in probably '91 or '92, and reading through it, but the title evades me, and searching on google and ddg brought no clues.
Re:Build Your Own Flight Sim in C++ by MathMonkeyMan on Saturday September 02, 2023 @01:27PM (#37363572)
A contemporary explanation of near and far pointers on page 16. Today I learned.
Re:Build Your Own Flight Sim in C++ by dang on Saturday September 02, 2023 @04:24PM (#37365198)
Comments moved to https://news.ycombinator.com/item?id=37358063, which was posted a bit earlier!