Published : 004 – OpenGL Primitives and how to draw from Arrays

I just published a new Episode in my OpenGL & Vulkan Podcast:

004 – OpenGL Primitives and how to draw from Arrays.
In This Episode we introduce the OpenGL Primitives and how you structure your Arrays to draw from them.

http://opengl-trainer.de/podscats/folgen/004_OpenGL_Primitives_and_how_to_draw_from_Arrays.mp3


OpenGL Primitives :

 

gl-primitives

Simple drawing:

    ….
glBegin(GL_TRIANGLES);

glVertex3f(100.0f, 100.0f, 0.0f);
glVertex3f(150.0f, 100.0f, 0.0f);
glVertex3f(125.0f, 50.0f, 0.0f);

glEnd();
….
glBegin(GL_LINES);

glVertex3f(100.0f, 100.0f, 0.0f); // origin of the FIRST line
glVertex3f(200.0f, 140.0f, 5.0f); // ending point of the FIRST line
glVertex3f(120.0f, 170.0f, 10.0f); // origin of the SECOND line
glVertex3f(240.0f, 120.0f, 5.0f); // ending point of the SECOND line

glEnd( );

 

Drawing from a Array:


GLfloat vertices[] = {…}; // 36 of vertex coords

glEnableClientState( GL_VERTEX_ARRAY );
glVertexPointer( 3, GL_FLOAT, 0, vertices );

glDrawArrays( GL_TRIANGLES , 0 , 3 );

glDisableClientState( GL_VERTEX_ARRAY );


Find it on iTunes:

https://itunes.apple.com/de/podcast/opengl-vulkan-podcast/id1047136194?l=en

Use RSS Podcast link:
http://opengl-trainer.de/podscats/OpenGL_Vulkan_Podcast.xml

Published: 003 – Your First Window With OpenGL Context. With FreeGLUT & GLEW.

I just published a new Episode in my OpenGL & Vulkan Podcast:

003 – Your First Window With OpenGL Context. With FreeGLUT & GLEW.
In This Episode I give you a introduction on how to use FreeGLUT and GLEW to create your first Window.

http://opengl-trainer.de/podscats/folgen/003_FreeGLUT_and_GLEW_and_your_first_Window_with_OpenGL_Context.mp3


Find it on iTunes:

https://itunes.apple.com/de/podcast/opengl-vulkan-podcast/id1047136194?l=en

Use RSS Podcast link:
http://opengl-trainer.de/podscats/OpenGL_Vulkan_Podcast.xml

Published: 002 – What is OpenGL & how does it work ?

I just published a new Episode in my OpenGL & Vulkan Podcast:

002 – What is OpenGL & how does it work ?
In This Episode I give you a general overview on OpenGL and how it Works.

http://opengl-trainer.de/podscats/folgen/002_What_is_OpenGL_and_how_does_it_work.mp3


Find it on iTunes:

https://itunes.apple.com/de/podcast/opengl-vulkan-podcast/id1047136194?l=en

Use RSS Podcast link:
http://opengl-trainer.de/podscats/OpenGL_Vulkan_Podcast.xml

Published : 001 – Welcome to the 3D World

I just published a new Episode in my OpenGL & Vulkan Podcast:

001 – Welcome to the 3D World
This is the first Episode of the OpenGL / VULKAN Podcast. Let me introduce myselfe.

http://opengl-trainer.de/podscats/folgen/001_Welcome_to_the_3D_World.mp3

 

Find it on iTunes:
https://itunes.apple.com/de/podcast/opengl-vulkan-podcast/id1047136194?l=en

Use RSS Podcast link:
http://opengl-trainer.de/podscats/OpenGL_Vulkan_Podcast.xml

New OpenGL & VULKAN Podcast

Hi everybody,

i just started a new Podcast on OpenGL & Vulkan to give you something to listen to when you are on the road. I will cover Topics from beginners to advanced Users.

OpenGLVulkan

Following Topic i will try to cover:
– OpenGL in general,
– OpenGL ES,
– WebGL,
– Shaders,
– The Render Pipeline,
– Vulkan API,
– OpenCL,
– …
and many more.

Find it on iTunes:
https://itunes.apple.com/de/podcast/opengl-vulkan-podcast/id1047136194?l=en

Use RSS Podcast link:
http://opengl-trainer.de/podscats/OpenGL_Vulkan_Podcast.xml