Загрузка страницы

Backface Culling A Rotating Dodecahedron On An 8bit AVR + OLED

This is pretty much a rehash of a video I already posted (Vector Rotation of a Cube) but after coming across a post on the AVRfeaks forum about Blackface-culling (They called it Z-culling) I couldn't resist giving it a go.

The brain is an Atmel ATMega88 running at 4Mhz.

Program takes up ~60% Code & ~90% Data space & written in Assembly.

Display is an OLED 1.3" 128 x 64 SSD1306 (similar to SSD1308) using SPI (Bit-Banged) (Adafruit have something similar available).

All running at 3.3V

The technique involves determining the direction of each face by calculating a vector that is perpendicular to the plane the face is on (Surface Normal) then comparing it to the viewer's vector.

Because my view of the dodecahedron is down the Z-Axis this made the mathsss much easier.

All better explained here:
http://content.gpwiki.org/index.php/Backface_culling

The wireframe is perspective (depth) adjusted.
IXIBA

Видео Backface Culling A Rotating Dodecahedron On An 8bit AVR + OLED канала DigitalPhage
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
17 августа 2013 г. 12:49:33
00:01:04
Яндекс.Метрика