- Viewing Profile: Reputation: zacaj
Community Stats
- Group Members
- Active Posts 420
- Profile Views 2,809
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
NY
User Tools
Latest Visitors
#4915044 Help with for loops and strings when loading files.
Posted by zacaj
on 20 February 2012 - 08:40 PM
#4905942 Multidimensional Arrays for a Rogue-Like Map?
Posted by zacaj
on 24 January 2012 - 06:03 PM
#4905206 OpenGL tutorials that aren't deprecated?
Posted by zacaj
on 22 January 2012 - 03:03 PM
#4875506 An efficient way to find a string in a file!
Posted by zacaj
on 22 October 2011 - 08:26 PM
#4868716 Putting Models on Terrain Surface
Posted by zacaj
on 03 October 2011 - 03:44 PM
#4850365 Best library for doing text in OpenGL
Posted by zacaj
on 17 August 2011 - 09:41 AM
EDIT: http://www.lighthouse3d.com/very-simple-libs/vsfl/
#4849999 Best library for doing text in OpenGL
Posted by zacaj
on 16 August 2011 - 01:36 PM
#4849673 Nub question about srand/rand
Posted by zacaj
on 15 August 2011 - 08:36 PM
#4845866 What are array indices? What's their advantage over vertex array data?r
Posted by zacaj
on 07 August 2011 - 01:19 PM
#4845847 What are array indices? What's their advantage over vertex array data?r
Posted by zacaj
on 07 August 2011 - 11:52 AM
for instance:
With glDrawArrays:
vertices:
-1,-1
-1,1
1,1
1,1
1,-1
-1,-1
glDrawArrays(GL_TRIANGLES,0,6)
With glDrawElements
vertices:
-1,-1
-1,1
1,1
1,-1
indices:(unsigned int[6])
0,1,2 ,2,3,0
glDrawElements(GL_TRIANGLES,6,UNSIGNED_INT,indices);
The indices correspond to the numbers of the vertices
#4845835 What are array indices? What's their advantage over vertex array data?r
Posted by zacaj
on 07 August 2011 - 11:19 AM
#4845550 To goto or not to goto?
Posted by zacaj
on 06 August 2011 - 03:23 PM
#4842741 Selecting OpenGL Version (Windows VC++ 2010)
Posted by zacaj
on 30 July 2011 - 10:44 PM
#4842400 OpenGL Cubes
Posted by zacaj
on 29 July 2011 - 08:18 PM
http://www.sea-of-memes.com/LetsCode1/LetsCode1.html
Much of the slowdown youre getting is probably coming from call overhead. Although the games draw alot more triangles than you are, they draw them in bigger batches, so theres not as much superfluous data going around. You might want to try to implement geometry instancing, it should help a lot with the frame rate. Are all your cubes textured the same? How many calls are you doing per cube?
#4839617 Loading different texture formats
Posted by zacaj
on 24 July 2011 - 09:28 AM
- Home
- » Viewing Profile: Reputation: zacaj

Find content