OpenGL Vertex Colors

  Рет қаралды 20,384

Jamie King

Jamie King

Күн бұрын

Пікірлер: 25
@CJBurkey
@CJBurkey 6 жыл бұрын
You just taught me in 7 minutes what I struggled to grasp for half a year. Thank you.
@ayodeledavidoluwatobi6760
@ayodeledavidoluwatobi6760 4 жыл бұрын
THANKS ALOT..... The concept is more clear to me now
@inzomnia100
@inzomnia100 11 жыл бұрын
Really enjoy these tutorial
@JamieKingCS
@JamieKingCS 11 жыл бұрын
Thanks. Share with your graphics buddies.
@srinathkumar1452
@srinathkumar1452 8 жыл бұрын
So glad I found your videos. Thanks a lot
@Lynxdom
@Lynxdom 7 жыл бұрын
Your videos are wonderful! Thank you!
@androidpronet
@androidpronet 4 жыл бұрын
You are the best really ❤️
@maticmale4183
@maticmale4183 9 жыл бұрын
Great videos. Thank you!
@abdlwahdsa
@abdlwahdsa 11 жыл бұрын
Thanks for the effort. :)
@JamieKingCS
@JamieKingCS 11 жыл бұрын
And thank you!
@koungmeng
@koungmeng 5 жыл бұрын
9:35 saved me!!! i switched the layout of the vertex attribute and i put the position at the 1 index and it all mess up and turn black. And i watch this video and found out that opengl think the 0 index is the position. so i need to write shader to tell opengl
@my0punk535
@my0punk535 4 жыл бұрын
I wanted to ask but, how does OpenGL know to that the element array buffer is pointing to indices in the vertex buffer?
@TheEternalHermit
@TheEternalHermit 11 жыл бұрын
How come we don't want to use sizeof(float)? Would sizeof(GLfloat) be better or is sizeof() no good in general? Or is it best to just put in the actual number?
@reishin4346
@reishin4346 10 жыл бұрын
First of, never would it be better to put in actual number. float today means 32bit but maybe on day in future it will mean 64bit and so on.. (for example int in the old days was 16bit) GLfloat is for a similar purpose, it's a portability deign. This way the GL library can make sure the float you use is a 32bit float, even say when you switch to a 64bit compiler.
@derf6060
@derf6060 7 жыл бұрын
GLfloat is simply a type def for float so you can use either or.
@ghostbusterz
@ghostbusterz 9 жыл бұрын
Shouldn't it be sizeof(GLfloat) instead of sizeof(float)?
@JamieKingCS
@JamieKingCS 9 жыл бұрын
+ghostbusterz Yep! Good catch!
@pranaykarani4465
@pranaykarani4465 9 жыл бұрын
+ghostbusterz Not needed actually, since GLfloat is just typdef to actual float. /* in glew.h */ typedef float GLfloat; Seems deceptive and stupid, but i guess its something related to support for different platforms/compliers.
@JamieKingCS
@JamieKingCS 9 жыл бұрын
Pranay Karani If the typedef changed in different versions for whatever reason, my code would break. sizeof(Glfloat) is more robust.
@pranaykarani4465
@pranaykarani4465 9 жыл бұрын
+Jamie King hmm.. makes sense.
@KadiNamamato
@KadiNamamato 7 жыл бұрын
why stride was zero before if there 2 floats from begging of first to beginning of second point? point = { +0.0f , +0.0f, //first +0.0f, +0.0f, // second };
@JamieKingCS
@JamieKingCS 7 жыл бұрын
If you only have one attribute that is tightly packed, no stride necessary. Corner case. Weird I know.
@KadiNamamato
@KadiNamamato 7 жыл бұрын
WOW, thanks for quick reply. I was still watching it. I understood it. Great tutorials, by the way.
@JamieKingCS
@JamieKingCS 7 жыл бұрын
No prob.
OpenGL Vertex and Fragment Shaders
8:16
Jamie King
Рет қаралды 39 М.
OpenGL Element Array Buffers
13:40
Jamie King
Рет қаралды 26 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Next.js 15 Tutorial - 80 - Delete Server Action
3:32
Codevolution
Рет қаралды 619
OpenGL Sending Triangles in Parts Using glBufferSubData
18:30
Jamie King
Рет қаралды 13 М.
OpenGL glDrawElementsInstanced
17:49
Jamie King
Рет қаралды 12 М.
The Rust Survival Guide
12:34
Let's Get Rusty
Рет қаралды 178 М.
An Engineering Fairy Tale: Cascade Failure at the Super Kamiokande
22:21
Alexander the ok
Рет қаралды 695 М.
OpenGL Buffer Data
13:17
Jamie King
Рет қаралды 50 М.
OpenGL Compiling GLSL Shaders
12:28
Jamie King
Рет қаралды 22 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19