1 year, 3 months ago Edited by people on Feb. 16, 2017, 11:18 a.m.
I know Casey likes to find bugs independently but seeing all that math just work when the card ray was properly included in the camera ray equation was too exciting to not post. I find it amazing when a whole bunch of abstract math becomes concrete and useful :)
I understand that mouse camera rotation direction is a preference, but it seems to me that if you imagine a sphere centered on the world you would have a preference for either rotating the world by attaching the mouse to the side of the sphere closest to you or attaching the mouse to the side of the sphere furthest away from you. At the moment the orbit is being controlled as if the mouse is attached to the far side of the sphere, but the pitch is being controlled as if it attached to the near side of the sphere. Maybe some people like to mix them together, and if this is intentional please ignore this, but if not, attaching both axes to the near or far side of the sphere might be a good idea.
Anyway, happy birthday and thankyou for the incredible effort of producing this series. Before handmade hero started I was lost in the caked layer of bull**** that seems to be inherent to the internet's view of the programming world.