Code
WiiRayTracer is a simple implementation of a raytracer using the raw framebuffer and the guVector functions
Code
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! USE THE HOME KEY ON YOUR WII-MOTE TO EXIT !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
What's it do?
It paints silly bubbles on your screen.
What's the purpose?
I wanted to experiment with Wii development, and figured
something nice to start off with would be to port a
raytracing engine I had made earlier for university work.
What does it use?
The raw framebuffer + a shitload of vector functions.
Further info:
The book that I prefer when it comes to 3d-graphics programming:
"Fundamentals of computer graphics" (second edition)
by Peter Shirley
(the one with the big tiger up front)
Original java assignment this was based on:
http://www.cs.uu.nl/docs/vakken/gr/lab1.html
Feel free to contact me at tb [at] stuffplug.com
have fun poking around in the source code!
TheBlasphemer
Alles anzeigen