Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

[Episode 20] OpenGL Math 2 - Matrix Transformations (with GLM code demonstration) - Modern OpenGL

Автор: Mike Shah

Загружено: 2022-10-29

Просмотров: 4562

Описание:

►Full OpenGL Series Playlist:    • Introduction to OpenGL  
►Find full courses on: https://courses.mshah.io/
►Join as member to get perks:    / @mikeshah  

►Lesson Description: In this lesson I continue to show you a little bit more of how to use the glm mathematics library by showing you 4 of the special matrices we use in computer graphics: identity, scale, translation, and rotation (which has 3 versions). I'll also provide a little bit of intuition as to why we need a 4x4 matrix due to the use of the 'w' coordinate. If you can remember w=1 when working with points, that will be useful, and w=0 for working with vectors, that will get you quite far. Eventually you'll want to derive these matrices yourself as an exercise, but hopefully the intuition after this lesson is there.

00:00 Introduction and recap
1:21 Representing a point in 3D with glm::vec4
3:00 The 'w' coordinate
4:55 Vectors have a '0' for w. points have w=1
6:30 Creating a 'model' matrix to transform from local to world space.
7:55 What is a matrix
11:20 Reading a matrix
12:20 Scale, translation, and rotation matrix references
13:49 First code example -- scaling using glm::scale
16:04 Trick for printing out matrices neatly
17:20 model * vertex (transforming a vertex to world space)
18:40 glm::rotate example
21:57 glm::translate example
23:20 Applying multiple transformations (right-to-left) - ORDER MATTERS!
26:44 Review of what we covered
27:35 Conclusion

►Please like and subscribe to help the channel!
►YouTube Channel:    / mikeshah  
►Join our free community: https://courses.mshah.io/communities/...

[Episode 20] OpenGL Math 2 - Matrix Transformations (with GLM code demonstration) - Modern OpenGL

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

[Эпизод 21] OpenGL — Собираем всё вместе (SDL2+glad+glm) — Современный OpenGL

[Эпизод 21] OpenGL — Собираем всё вместе (SDL2+glad+glm) — Современный OpenGL

[Episode 19] OpenGL Math 1 - Vectors, Dot Product, and Cross Product (with code demonstration)

[Episode 19] OpenGL Math 1 - Vectors, Dot Product, and Cross Product (with code demonstration)

Вейвлеты: математический микроскоп

Вейвлеты: математический микроскоп

В видеоиграх игрок никогда не двигается

В видеоиграх игрок никогда не двигается

Math for Game Developers: Why do we use 4x4 Matrices in 3D Graphics?

Math for Game Developers: Why do we use 4x4 Matrices in 3D Graphics?

How do Video Game Graphics Work?

How do Video Game Graphics Work?

Каково это — изобретать математику?

Каково это — изобретать математику?

[Episode 24] Projection Matrix and glm::perspective

[Episode 24] Projection Matrix and glm::perspective

Рисование пейзажа с помощью математики

Рисование пейзажа с помощью математики

Моделирование столкновений зданий: введение в компьютерную графику

Моделирование столкновений зданий: введение в компьютерную графику

An introduction to Raymarching

An introduction to Raymarching

[OpenGL Эпизод 25] Матрицы вращения (с использованием glm)

[OpenGL Эпизод 25] Матрицы вращения (с использованием glm)

Scaling Transformation  // OpenGL Tutorial #8

Scaling Transformation // OpenGL Tutorial #8

[Эпизод 18] OpenGL Math — Введение в библиотеку GLM — Современный OpenGL

[Эпизод 18] OpenGL Math — Введение в библиотеку GLM — Современный OpenGL

Perspective Projection Matrix (Math for Game Developers)

Perspective Projection Matrix (Math for Game Developers)

Matrices and Transformations - Math for Gamedev

Matrices and Transformations - Math for Gamedev

Buffers in OpenGL | How to Code Minecraft Ep. 2

Buffers in OpenGL | How to Code Minecraft Ep. 2

Краткое объяснение больших языковых моделей

Краткое объяснение больших языковых моделей

Учебное пособие по современному OpenGL — вычислительные шейдеры

Учебное пособие по современному OpenGL — вычислительные шейдеры

How to Rotate Shapes in p5.js (translate, rotate, push, pop)

How to Rotate Shapes in p5.js (translate, rotate, push, pop)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]