DE version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
100% Positive
Analyzed from 147 words in the discussion.
Trending Topics
#sliders#view#frustum#matrix#perspective#graphics#math#here#great#maybe

Discussion (5 Comments)Read Original on HackerNews
I've used that when teaching short "Graphics 101" (not in the first session though) and the math comes out more intuitive than the usual "here's how to calculate a perspective matrix, don't ask where these numbers come from" version.
Maybe consider clipping the ball properly on the edges of the sides of the view frustum ?
Similarly the near and far could also be clipped; i know this is not true of the math necessarily but is the expected result in 3d graphics applications.