Тёмный

Introduction To Tessellation // OpenGL Tutorial #47 

OGLDEV
Подписаться 10 тыс.
Просмотров 5 тыс.
50% 1

In this video we use the Tessellation feature in OpenGL 4.0 in order to render a Cubic Bezier Curve.
This video is based on the "OpenGL 4 Shading Language Cookbook" 3rd edition by David Wolff (pages: 299-305).
Timecodes:
00:00 Intro
01:03 Overview
02:30 The Patch
03:58 The role of the Vertex Shader
04:39 Tessellation Control Shader
06:30 The Tessellator (TPG)
08:07 Tessellation Evaluation Shader
09:15 Creating a Bezier Curve
12:27 Code review
16:14 Outro
Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at • OpenGL for Beginners
Please visit ogldev.org to see more of my tutorials on modern OpenGL.
Link to source: github.com/emeiri/ogldev/blob...
If you want to get the same version of the code that was used in the video checkout the tag 'TUT_47_BEZIER_CURVE'
OpenGL 4.6 specification: www.khronos.org/registry/Open...
Feel free to comment below.
Email: ogldev1@gmail.com
Instagram: @ogldev1
Github: github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): ogldev.org/donate.html
Patreon: / ogldev
Credits:
Images:
* By Maurizio Pesce from Milan, Italia - Elon Musk, Tesla Factory, Fremont (CA, USA), CC BY 2.0, commons.wikimedia.org/w/index...
* Mr Beast - en.wikipedia.org/wiki/MrBeast...
* The Terminator by Gerhard Janson from Pixabay
* NVIDIA by Nana Dua from Pixabay
* Smartphone by 巻(Maki) from Pixabay
* Renault Logos from logowik.com
* Renault by Günther Schneider from Pixabay
* Renault by Emslichter from Pixabay
Videos:
* Circuit board by Tomislav Jakupec from Pixabay
* Blending functions by William McDonald from Pixabay
Music:
* Track: Calypso - Next Route [Audio Library Release]
Music provided by Audio Library Plus
Watch: bit.ly/3RSDTNI
Free Download / Stream: alplus.io/calypso
* Sound effects from zapsplat.com
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials

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

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@OGLDEV
@OGLDEV 8 месяцев назад
Clone the sources: git clone --recurse-submodules github.com/emeiri/ogldev.git If you want to get the same version that was used in the video you can checkout the tag 'TUT_47_BEZIER_CURVE'. Build on Windows: Open the Visual Studio solution: ogldev\Windows\ogldev_vs_2022\ogldev_vs_2022.sln Build the project 'OpenGL Tutorials\Tutorial47_2DTess'
@ph4nt0m33
@ph4nt0m33 9 месяцев назад
I really love that you care to turn these topics into easily digestible video format. looking forward to next videos!
@OGLDEV
@OGLDEV 9 месяцев назад
Thanks! Please send me your email to get a supporter perk (my email is in the vid desc).
@ph4nt0m33
@ph4nt0m33 9 месяцев назад
Thanks I sent it :)
@kgnet8831
@kgnet8831 9 месяцев назад
TOP Video 👏👍 (as was to expected^^). Please do more Tessalation (especially with tries / quads). In the meantime I will try to add this to my vulkan playground 🙂.
@OGLDEV
@OGLDEV 9 месяцев назад
Thanks! Will do! They will probably be interleaved with other material as well.
@kepcukhusamettin9400
@kepcukhusamettin9400 9 месяцев назад
Thanks!
@OGLDEV
@OGLDEV 9 месяцев назад
Welcome!
@topg3067
@topg3067 8 месяцев назад
your videos are great. I would love a tutorial on lighting that looks good. Some kind of global illumination.
@OGLDEV
@OGLDEV 8 месяцев назад
I hope to do a video on that sometime in the future. Please note that global illumination is kind of an umbrella term for a group of algorithms. I do have an article on my website about ambient occlusion.
@topg3067
@topg3067 8 месяцев назад
@@OGLDEV I think its a good tutorial to make as there are not many resources on the internet for it. Especially compute shaders and tracing etc. Hope you will do it one day!
@Test-iv4pm
@Test-iv4pm 28 дней назад
Is the idea with terrain that the entire terrain is a quad of just 4 vertices, and then the tessellation shader will add new subdivisions to the quad depending on the camera's position?
@OGLDEV
@OGLDEV 27 дней назад
A single quad for the entire terrain might be a bit limiting and if the terrain is large it may not be enough, even on a high tessellation level. So you should tune the size of the patch and the number of patches to get a nice resolution decline from the position of the camera down to the horizon.
Далее
Optimize Your Meshes! // OpenGL Tutorial #48
19:41
Просмотров 5 тыс.
Introduction to shaders: Learn the basics!
34:50
Просмотров 304 тыс.
Smart Sigma Kid #funny #sigma #comedy
00:26
Просмотров 9 млн
Modern OpenGL Tutorial - Tessellation Shaders
7:59
Просмотров 18 тыс.
An introduction to Shader Art Coding
22:40
Просмотров 944 тыс.
how to draw text opengl c++ ?  part 1
23:57
Просмотров 1,3 тыс.
I Created a Game Engine Just to Optimise This
4:50
Просмотров 980 тыс.
Giving Personality to Procedural Animations using Math
15:30
Heightmaps // Terrain Rendering episode #1
20:20
Просмотров 13 тыс.
All OpenGL Effects!
30:21
Просмотров 58 тыс.
My 2 Year Journey of Learning C, in 9 minutes
8:42
Просмотров 574 тыс.
Basic Texture Mapping // OpenGL Tutorial #16
22:01
Просмотров 34 тыс.
Introduction to Signed Distance Fields
9:00
Просмотров 24 тыс.