Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You need to look through the short course notes in the wiki of the page to understand the full quality of this repository.


Yes, I did and that's much more interesting than the code itself. But the title is still misleading and emphasizes the code, which isn't terribly spectacular.


If it's looked purely from educational point of view it's quite hard to find graphics code that is this clear and concise.

The author modifies this short code to implement various shading techniques with code that is as pithy and understandable as any.

You have to recall that 40 years ago even texture mapping was a scientific publication quality material.

This code makes several non-obvious things obvious - and simple! I don't think that's a light achievement.


Let me cite one thing:

https://github.com/ssloy/tinyrenderer/wiki/Lesson-6:-Shaders...

"Recall that all my source code here is meant to be compared with yours. Do not use my code, write your own. I am a bad programmer."

If you want to improve the text, the wiki is open. If you want to improve the source code, fork -> code -> pull request




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: