Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How is OpenGL formed

Name: Anonymous 2010-12-16 23:27

is the switch from fixed rendering pipeline to VBOs & shaders a big one in terms of performance? Also will it be hard to comprehend coming from doing only fixed rendering pipeline methods?

Name: Anonymous 2010-12-18 9:32


scene_render = GL11.glGenLists(1);
       
GL11.glNewList(scene_render, GL11.GL_COMPILE_AND_EXECUTE);
GL11.glLineWidth(1);
Map.render();
GL11.glEndList();
       
GL11.glDeleteLists(scene_render,1);


So i was experimenting with display lists and my result was a lost of ~20 fps vs no displays. Is that suppose to happen like that?

Also for doing window -> world coordinates would making a ray from:

GLU.gluUnProject((float)(x), (float)(y), 0f, modelview, projection, viewport, posOrg);
GLU.gluUnProject((float)(x), (float)(y), 1f, modelview, projection, viewport, posEnd);


work and then do some collision code?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List