3D Snake - skylar durst
About
My final project was to create a variation of Snake but played on a 3D sphere.
Features
Some included features in the game:
- The camera locks onto the cube during normal play
- The lighting gradually changes through several colors
- The point-pyramids have several different materials that interact in the monochromatic lighting in variuos ways
- The cube is overlayed with a "cross" texture. i left the texture un-shaded because it makes the snake pop-out more.
- Other object use basic phong shading
- Every few points, the snake grows and the velocity increases (up to a limit)
- The snake's additional body parts follow and try to slither behind the "head" in a realistic fashion
Improvements
With additional time, there's some changes i would make:
- The snakes current follow behind the previous cube by a fixed number of degrees. This makes it really cramped at the poles, but very wide at the equator. It'd look better if the degrees changed depending on the latitude of the cube
- Adding a shadow below the snake
- Adding collision to the head of the snake with its body. i didn't include that because it was really cool to get really large and slither around (it's also very difficult to actually collide with yourself on a sphere, which i didn't anticipate during initial design)
Pictures
Texture for Snake:
Early game with only a few cubes:
Multiple cubes from a few different angles:
Snake pivoting/snaking around the cube:
3rd Person view so you can see the textures:
References