






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







^ ...or as a dynamically-allocated two-dimensional array drawnfrom a bitmap, or what have you. Each cell in your array willrepresent one “square” of the maze, and while the user mightmove around within a square, they cannot enter squares withwall in them.
SpaceSpace
much^ faster than poly-to-poly collision detection.
Each square of the mazemay be larger than the player,but it’s either passable or it’snot; test the array of data tosee if the player’s position islegal.^ Space = 0 Space Space
Space Wall Wall Wall
Wall^ Wall Wall^ Wall
Wall = 1
virtual canvas
. OpenGL
goes to a great deal of effort to paint every object in the sceneonto the canvas, pixel by pixel. In the end, the virtual canvas becomes the real-world screen. Instead of painting objects one-by-one, ray-tracing reversesthe question to ask, “who colored this dot on the canvas?” In ray-tracing a beam is fired from the eye (camera) through each pixel^ of the virtual canvas, then traced onwards to seewhat it hits.
Jamis Buck^ (1999) Docsity.com
Jamis Buck^ (1999) Docsity.com
Bunny , an Oscar-winning short film fromBlue Sky Studios (http://bunny.blueskystudios.com/)