Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How not to render 3D graphics: 40 ways to get a blank black screen (dmalcolm.livejournal.com)
41 points by AjJi on Aug 30, 2009 | hide | past | favorite | 6 comments


  You have a bug in your matrix library. The entire universe has collapsed to (0,0,0).
If God is a programmer, I wonder if he's hit on that kind of bug before. "Whoops, destroyed all of existence! Better start over..."


My experience with 3D engines doesn't extend much beyond an undergrad project I did, but even that was enough to read this list and smile knowingly at a good chunk of it.


> You're standing in front of a black wall.

That was the best one.


This is the perfect cheatsheet for a question I got during an interview at a major GPU company : "You write an OpenGL program displaying a colourful object, but you get a black screen when you launch it. What could have gone wrong in your code ?". I painfully thought about 3 or 4 of them and am now deeply embarrassed by my lack of imagination.


Missing one:

Your far-clip plane is too close.


I hate "n things" lists but that was pretty good.




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

Search: