Closed
Description
if a camera is situated in point e, we want to render in the frame (e, x',y',z') and not (c, x',y',z') as stated here:
https://github.com/ssloy/tinyrenderer/wiki/Lesson-5-Moving-the-camera#let-us-create-our-own-glulookat
As an aftereffect you move to -center
instead of -eye
as gluLookAt would do:
https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluLookAt.xml
But I want to say that this is a really cool and useful lecture that you have put together.
I came up with a similar idea to warm my students up with python and opencv. However, I stopped at flat-shading and thus things are far less impressive - but thats at about 10 lines of python/ opencv:
https://www.rojtberg.net/1709/fast-wire-frame-rendering-with-opencv/
Metadata
Metadata
Assignees
Labels
No labels