Page 1 of 1

Not exactly related to quake but VBO's

Posted: Wed Dec 01, 2010 10:59 am
by revelator
small tut here http://kickingdragon.com/2006/07/25/ope ... -tutorial/

which shows just how ;)

Posted: Wed Dec 01, 2010 4:50 pm
by ceriux
http://www.songho.ca/opengl/gl_vbo.html

i didnt know what it was so i looked. apparently there's PBO as well ?

Posted: Wed Dec 01, 2010 6:29 pm
by revelator
yap :P

Posted: Thu Dec 02, 2010 5:58 am
by r00k
I have looked at fbo, vbo etc a little lately trying to learn about shadowmapping. I get a little overwhelmed thinking about each dynamic light source creating a shadow on all things :|

I know DarkPlaces uses these extensively.

Posted: Thu Dec 02, 2010 8:37 am
by revelator
thats one thing i actually had going through the ol bean.

mh used player position to calculate the vert data for bumpmapping
cutting calculations down to allmost nothing :)

that same code could probably be used for shadowmapping :D

also i had sortof a wild idea based on some code mh made for parsing the color out of textures to create underwater fog.

imagine this instead of using those colors for fog we use them for light ?!?

Posted: Thu Dec 02, 2010 10:08 am
by mh
DirectQ uses VBOs (the D3D equivalent) for everything and RMQ makes extensive use of VBOs too. RMQ also used PBOs for lightmap updates for a long time, but I ended up removing the code as it was adding an extra layer of complexity for what amounted to zero performance gain.