Join us on Twitter and IRC (#ludumdare on Afternet.org) for the Theme Announcement!

Thanks everyone for coming out! For the next 3 weeks, we’ll be Playing and Rating the games you created.You NEED ratings to get a score at the end. Play and Rate games to help others find your game.We’ll be announcing Ludum Dare 36’s August date alongside the results.

New Server: Welcome to the New (less expensive) Server! Find any problems? Report them here.

I’ve been roaming in the wonderful world of OpenGL and I’m super close to making a really nice library that I’ll be able to use for the compo!

However, I am in need of some help. If anyone has experience with LWJGL/OpenGL and some free time, I’d really appreciate it.

I’ve been having problems using Vertex Buffer Objects. because the system throws an exception saying “Cannot use offsets when array buffer object is disabled” whenever I try to call glPointer operations. (See line ~845)

I’m clueless as to what this means, being that there is no GL Enum called ARRAY_BUFFER_OBJECT. Any help on what it might mean or what I’ve coded wrong would be nice.

Also, I’ve been having problems with FrameBuffer objects. They never seem to render to anything at all. The class is at line ~1355

I’m pretty sure it’s within the Three.GL.FrameBuffer class, but I can’t seem to find the problem.

Yes, the class is called “Three” until I can think of something better.

To use the library, just copy the class file into your game, create a class that implements Three.GameObject, then call create(params), defineGameObject(GameObject), and start() to begin.

Three.GL houses all kinds of shortcuts for OpenGL, Three.AL does the same for OpenAL, and Three.Util is a little module I’ve created for containing anything that I might find useful.

This entry was posted
on Wednesday, August 21st, 2013 at 7:35 pm and is filed under LD #27.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.

3 Responses to “Help! (Code) [Urgent]”

I have no idea really, I only did Opengl in school. But i remember a project I was working on where I needed to call glBindBuffer before i did something with VBOs, vague i know.. but I wish I could help more.