Webgl renderer possible?


Re: Webgl renderer possible?
#4
I haven't worked with webgl, but here are just some general OpenGL pointers you might find useful.

Don't worry about hiding bricks whom are blocked by others, let the OpenGL Z-Buffer handle that for you. This because OpenGL does the calculations anyway. Testing brick visibility yourself would probably be even slower as a result of the overhead.

Doing your own visibility tests is only useful when working with HUGE models, in such engines you could do pre-processing using frustum culling, in order to eliminate whole submodels (located behind the camera etc) before sending them to OpenGL.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Webgl renderer possible? - by Einar Öberg - 2012-01-20, 23:20
Re: Webgl renderer possible? - by Roland Melkert - 2012-01-21, 20:24
Re: Webgl renderer possible? - by Steffen - 2012-01-22, 1:13

Forum Jump:


Users browsing this thread: 1 Guest(s)