Game Engine Programming 026.4 - Camera movement for the WPF 3D mesh renderer | C++ Game Engine

preview_player
Показать описание
Previously, we started visualizing the 3D geometry that we got from content tools, the last step of which was being able to move the camera around the object. So, today I'm going to add this functionality to the geometry viewer. But first I'm going to briefly explain a bit about spherical coordinates which we'll be using for camera movement.
(Green Episode)

Big thanks to my patrons:
---- shaman ---
Eearslya Sleiarion

00:00 - intro
00:45 - spherical coordinate system
04:14 - writing MoveCamera() function
11:23 - check UV coordinates by using textures
19:55 - check if segmentation is correct

keywords: mesh, geometry, vertices, asset pipeline, spherical coordinates

by Arash Khatami
-------------------------------------------------------------
#PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries
Рекомендации по теме
Комментарии
Автор

In 3:07, the first coordinate, the x = r * cos(\theta) * cos(\phi) is right? I think it is the x = r * sin(\theta) * cos(\phi), in Sphere Coordinate wiki, it also defines the latter formula.

x-wg
Автор

Wow man... how much programming experience you have?

larkton
welcome to shbcf.ru