OpenGL 3D Game Tutorial 36: Instanced Rendering

Publié le: 02 janvier 2016
sur la chaîne: ThinMatrix
49,399
695

LWJGL tutorial series on how to create a 3D Java game with OpenGL!

The final particle effects tutorial, this week about instanced rendering!

storeMatrixData() Code:

vboData[pointer++] = matrix.m00;
vboData[pointer++] = matrix.m01;
vboData[pointer++] = matrix.m02;
vboData[pointer++] = matrix.m03;
vboData[pointer++] = matrix.m10;
vboData[pointer++] = matrix.m11;
vboData[pointer++] = matrix.m12;
vboData[pointer++] = matrix.m13;
vboData[pointer++] = matrix.m20;
vboData[pointer++] = matrix.m21;
vboData[pointer++] = matrix.m22;
vboData[pointer++] = matrix.m23;
vboData[pointer++] = matrix.m30;
vboData[pointer++] = matrix.m31;
vboData[pointer++] = matrix.m32;
vboData[pointer++] = matrix.m33;


Support the series on Patreon:   / thinmatrix  


Upcoming tutorials:

Random Terrain Generation
Shadows
Post processing
Geometry shader


Future Tutorial Series:

Game Audio
Multiplayer
Advanced Game Dev Concepts
OpenGL Optimizing Techniques


Previous tutorial topics:

Display
VAOs and VBOs - Rendering a quad
Rendering using glDrawElements
Shader introduction
Coloring using shaders
Texturing
Matrices, moving and rotating
Loading 3D OBJ models
Lighting I
Lighting II
Optimizations
Transparency
Fog
Multitexturing
Player Movement
3rd Person Camera
Mipmapping
Terrain Generation
Terrain Collision Detection
Texture Atlases
GUIs/HUDs
Multiple Light sources
Point light attenuation
Skybox
Day/Night
3D Mouse Picking
Water
Cel Shading
Normal Mapping
Rendering Text
Signed Distance Field Fonts
Particle Effects

Tumblr:   / thinmatrix  
Facebook Page:   / thinmatrix  
Instagram:   / thin_matrix  
Twitter:   / thinmatrix  
Check out my game on IndieDB: http://www.indiedb.com/games/socuwan

Contact me: thinmatrix@gmail.com

End of video music- Kai Engel, "Waking Stars":

http://freemusicarchive.org/music/Kai...


Sur cette page du site, vous pouvez voir la vidéo en ligne OpenGL 3D Game Tutorial 36: Instanced Rendering durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ThinMatrix 02 janvier 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 49,399 fois et il a aimé 695 téléspectateurs. Bon visionnage!