Skip to main content

Timeline for Interleaving Arrays in OpenGL

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Oct 12, 2012 at 21:08 comment added Maximus Minimus Interleaving arrays is neither complex nor premature optimization. Also, for the general case, it is actually the faster path and has been since the introduction of hardware T&L. If you need special case handling then you shouldn't compromise the general case for it, IMO.
Oct 12, 2012 at 18:06 history tweeted twitter.com/#!/StackGameDev/status/256818077965111296
Oct 12, 2012 at 17:44 vote accept Benjamin Danger Johnson
Oct 12, 2012 at 17:38 answer added House timeline score: 8
Oct 12, 2012 at 17:24 comment added Benjamin Danger Johnson @Byte56 unfortunately no, I have not tried gDEBugger, I've just been using the standard VisualStudio2010 debugger and running error checking with a combination of the glGetError and glut's getErrorMessage methods.
Oct 12, 2012 at 17:23 comment added Benjamin Danger Johnson @JariKomppa yep, I mentioned in the question that it was working fine with multiarrays (aside from a small lighting issue) but when I modified the code to what I think would work for interleaving, I'm coming up blank. The only modifications are to the code shown.
Oct 12, 2012 at 17:21 comment added House Have you tried gDEBugger? It's fairly nice for debugging openGL issues.
Oct 12, 2012 at 17:21 comment added Jari Komppa Did you have it working without interleaving first?
Oct 12, 2012 at 17:19 comment added Benjamin Danger Johnson @JariKomppa well I can't exactly bench mark this because it is not working to begin with. I realize this can be inefficient in some cases, but the goal is just to get it working for now and worry about optimization later.
Oct 12, 2012 at 17:17 comment added Jari Komppa Why are you trying to interleave arrays? You shouldn't complicate your code unless you have a clear reason for it. I assume you're doing it for some potential speed improvements; you should only do things like this if you can benchmark that it actually speed things up.. In fact, in certain environments, interleaved arrays actually make things slower.
Oct 12, 2012 at 16:42 review First posts
Oct 16, 2012 at 13:47
Oct 12, 2012 at 16:40 history asked Benjamin Danger Johnson CC BY-SA 3.0