I stumbled across the classic Stanford Bunny data set the other day, and it's been a bit of a fun hacking on it...
Unzip the bunny.png image for the probably-easy-to-understand source. It could need a bit of porting to your favourite graphics extension.. and then you can do your own hacks on it.
I even managed to render it on my Commodore 64! (program for that included as well)
A few more screenshots while the code was being developed...
Anthony Lewis
These two examples worked with just the vertices, and was sorting those according to Z, and then rendering the points from the rear to front (i.e: lazy Z-buffering). Gave a neat effect.
Isaiah King
how are you supposed to unzip an image? tried changing the name to bunny.ZIP and then using unzip on it, apparently it's part of a larger file
Joshua Young
What is the stanford bunny.
Michael Torres
*?
Andrew Roberts
rename it to rar instead
Wyatt Butler
Codemonkey killed embedding files in images a while ago.
Carter Baker
Save the "original filename" link, not the md5hashorwhateverthefuckitis link.
Dylan Phillips
Added surface normals calculation to the code, giving a quick and dirty fuzzy effect.
Wyatt Mitchell
Also, I realized there was no way to make tkinter set individual pixels, so I added a screen buffer and write it out to a PNG at the end.
Thomas Evans
now add a neural network to simulate its brain
Luke Cooper
lookit the pretty pictures I'm making with computer softwares
(btw, forgot to mention the new code is embedded in )
Landon Richardson
My code now handles fuckhuge data sets without going O(e^n))...
> NO GOYIM YOU DO A 200 HOUR PROJECT IN X WINDOWS USING ONLY THE STANDARD LIBRARY CALLS
Nolan Murphy
AND YOU ONLY HAVE ACCESS TO BLACK&WHITE X TERMINALS LIKE THE GOYIM YOUR ARE
Jack Powell
Wooooooooooooow look at this nazi
Benjamin Evans
Just get a good computer graphics textbook (look for what experts recommend and good schools use), and work through that.
Thomas Gomez
I fucking did, that's where I found out about the teapot, bunny, et.al. Computer Graphics was an interest since high-school.
Self-learning got you nowhere when the subject was grading you on how many times "XErrorHandler old_handler = XSetErrorHandler (BadWindow_ehandler);" appeared in your code.
Jeremiah Perry
Do you even know where you are?
This is Hate-Chan
Jaxson Brooks
I recognize that bunny.
David Thomas
which book did you get?
Bentley Allen
Computer Graphics: Principles and Practice in C (2nd Edition) by Foley & Van Dam. amazon.com/s?search-alias=stripbooks&field-isbn=9780201848403 ... It was the text for the course, and a good book/bible... that the fucking worthless Israeli teacher made absolutely no reference to. Since 1st year I was make good use of the Uni library as well, and I must've borrowed everything related that wasn't boring.