Not exactly related to quake but VBO's

Post tutorials on how to do certain tasks within game or engine code here.
Post Reply
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Not exactly related to quake but VBO's

Post by revelator »

small tut here http://kickingdragon.com/2006/07/25/ope ... -tutorial/

which shows just how ;)
ceriux
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Post 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 ?
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Post by revelator »

yap :P
r00k
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Post 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.
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Post 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 ?!?
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post 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.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
Post Reply