Skip to main content
GameDev.net gamedev.net
🔒 Locked

billboarding a vertex array

Started by penetrator Aug 31, 2003 at 5:17 PM 1 replies 350+ views
Original Post
penetrator
penetrator
i''ve done billobarding with simple quads, but can you give me some hints on how i could billboard the following vertex array ? for (int zvar = 0; zvar < MAP_Z-1; zvar++) { glDrawElements(GL_TRIANGLE_STRIP, MAP_X * 2, GL_UNSIGNED_INT, &g_indexArray[zvar * MAP_X * 2]); }
PM
PM
To billboard something you just need to change the matrix, don''t you? And why are you trying to billboard a vertex array, btw?
PM Times change... Excuse my poor english!
Leyder Dylan
Leyder Dylan
Check on my website, I''ve the example for you. You just modify the code and it will be cool for you

========================
Leyder Dylan (dylan.leyder@slug-production.be.tf
http://www.slug-production.be.tf/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.