Showing only posts tagged optimization. Show all posts.

You find that these functions are slow. That's normal.

From: https://www.opengl.org/wiki/Common_Mistakes#glGetFloatv_glGetBooleanv_glGetDoublev_glGetIntegerv

I am sorry, Oculus. But I’m not going to use you SDK Rendering and will invest another 30-60 hrs trying to replicate the ovr distortion myself.

Oculus SDK OpenGL Rendering saves most states of gl twice every frame. I didn’t …

EpicRay: Multi-Threaded Rendering

Recently I added multi-threaded rendering support to my open source java raycasting game engine.

The last few weeks, I was pretty busy with university stuff. If I did anything else, I optimized EpicRay. After the drop to 8fps (due to floor and ceiling textures), I optimized the rendering to go …

World optimization (lvl 1): Bugs

Okay, here are a few bugs in order of appearance:image0

It wouldn’t bother if you could only look at the world from above, but… imagine a mountain looking like this! (I also like how you can see the different layers of block types ;) )

image1

(You can see exactly how high …

World optimization: level one

One of my last posts was about back face culling. This was because of my performance problem while trying to render 130 000 blocks smoothly. I also said I was going to optimize the world data a little bit before applying shaders (I didn’t know I was already using …