Surface: Difference between revisions

177 bytes added ,  30 November 2018
Some stuff
m (Failed to create reference properly, minor fix.)
(Some stuff)
Line 1: Line 1:
Every surface in Super Mario 64 is made up of triangles. Every triangle falls into 1 of 3 categories:a floor triangle, a wall triangle, or a ceiling triangle. Weirdly enough, a triangle doesn't store what category it is. Instead, its category is determined based on the y component of the triangles normal vector. Simply putting it, if y component > 0.01, then it's a floor. If the y component < -0.01, then it's a ceiling. Otherwise, it's a wall. <ref> [https://www.youtube.com/watch?v=UnU7DJXiMAQ], All information came from UncommentatedPannen's video "Walls, Floors, & Ceilings." </ref>
{{stub}}
Every surface in Super Mario 64 is made up of triangles. Every triangle falls into one of three categories: a floor triangle, a wall triangle, or a ceiling triangle. However, a triangle does not store what category it is. Instead, its category is determined based on the y component of the triangle's [[wikipedia:normal vector|normal vector]]. If y component > 0.01, then it is a floor. If y component < -0.01, then it is a ceiling. Otherwise, it is a wall<ref>https://www.youtube.com/watch?v=UnU7DJXiMAQ</ref>.
==Walls==
The majority of walls in the game are perfectly vertical, but not all. [[File:Non-Vertical Wall.png|300px|right|thumb|This wall in [[BoB]] is not quite vertical.]]
'''hitbox stuff'''
==Floors==
==Ceilings==
==References==
<references />