Advertisement

BSP(Quake III engine map) Loader

Started by February 02, 2003 12:34 AM
10 comments, last by Nukem 22 years, 1 month ago
Im going to be making a game soon. I already have all the model engines made. Now im onto the map engines. Im first going to try to figure out how to load a BSP file. Im looking around the net for diffrent tutorials/examples on how to do this. Since its for a game I need to find an example/tutorial that will show me how to make it for a game. Anyone have a good link for this? Thanks Nuke
--------------------------Nukemmsn: nukem996@hotmail.comaim: nukem996open source open mind
Game Tutorials has a tutorial on loading and rendering BSPs
"...."
Advertisement
Ive seen that one and it runs massivly slow. The problem is it draws the hole thing at once. The way the maps should be displayed(this is a little off since ive just started learning) is that it only displays the area the person is viewing on the screen. Ex. the person is looking down a hallway, all that will be drawn is the hallway infront of the player not the room down the hall on the left.
--------------------------Nukemmsn: nukem996@hotmail.comaim: nukem996open source open mind
Then you didnt read the BSP 3rd tutorial cuz it does implement frustum culling and pvs so I would take another look
Then why does it run so slow? I thought it was just in the tutorial not in the example. On opengl.org people said it is very slow and not optimized.
--------------------------Nukemmsn: nukem996@hotmail.comaim: nukem996open source open mind
also that tut has a bug when it comes to loading level geometry, it loads using face numVerts over meshVerts/meshStartIndex. or the other way around (not entirely sure) - it basically doesn''t use the meshIndices lump.
the point being that for every 2 or 3 triangles it loads another one that is backfacing to the others...
just keep that in mind if you want to do anything fancy.

| - Project-X - my mega project.. big things comming soon - | - adDeath - an ad blocker I made - | - email me - |
Advertisement
Um, have you actually ran it to see if it was slow, or are you just baseing it off of what people on opengl.org said? It runs fairly decently on my system, 1.1ghz/512mb ram/64mb gf2

later,


Michael Bartman
Michael BartmanLead ProgrammerDark Omen Studios
TheRealBatman: yes I have I ran it on my computer threw winex linux rh 8.0 winex 2.2-2 ogl 1.4 geforce 2 32meg 256RAM 1.4 ghz

I also ran it on my grandparents comp that has 800mhz win xp 32 TNT card 256 RAM
--------------------------Nukemmsn: nukem996@hotmail.comaim: nukem996open source open mind
still. by what you suggested, you ran the non pvs/fc version, which definitly will run like a dog.

| - Project-X - my mega project.. yup, still cracking along - | - adDeath - an ad blocker I made - | - email me - |
qfusion its modified quake 2 code to load q3 bsps http://hkitchen.quakesrc.org/

also dusk3d http://www.dusk3d.com/en/ nearly a q3 game replacement

also there is aftershock if you can find it that also renders q3 bsps

This topic is closed to new replies.

Advertisement