Тёмный

Broccolis and Spinning Balls 

Chris Choy
Подписаться 175
Просмотров 116
50% 1

Stanford Interactive Graphics HW1
Broccoli is generated using L-system. Broccolis are independently generated in parallel using POSIX Thread.
Also the plane, ball, trees are saved in Vertex Array Object according to OpenGL3.3 syntax.
Balls are drawn using the same vertex buffer object. Balls are scaled by their index. i.e. first ball is of size 1, 100th is of size 100.
L-system function is recursively called (plus random perturbation for natural looking branching angles) to generate whole tree.
X window created using GLFW3.
Screen captured using ffmpeg + libpng
Reference
L-system : en.wikipedia.or...
GLFW3 : www.glfw.org/do...
pthread : computing.llnl...
Code implemented in C++/OpenGL 4.1/GLFW3
Source code : chrischoy@bitbucket.org/chrischoy/broccolis_and_balls.git

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
3 Hours vs. 3 Years of Blender
17:44
Просмотров 4,8 млн
ДОМИК ДЛЯ БЕРЕМЕННОЙ БЕЛКИ#cat
00:45
Пришёл к другу на ночёвку 😂
01:00
3D Perception with Sparse Tensors
48:23
Просмотров 1,4 тыс.
How I Beat The Password Game
39:53
Просмотров 35 тыс.
Cursor Is Beating VS Code (...by forking it)
18:00
Просмотров 8 тыс.
[CVPR 2020 Oral] Deep Global Registration
4:56
Просмотров 2,7 тыс.
KITTI Dense Correspondence
0:41
Просмотров 542
Don't Learn Machine Learning, Instead learn this!
6:21
ДОМИК ДЛЯ БЕРЕМЕННОЙ БЕЛКИ#cat
00:45