Skip to main content
gamedev.net
🔒 Locked

Rendering quake map problem

Started by PlayerTwo Jul 16, 2004 at 1:38 PM 0 replies 300+ views
Original Post
PlayerTwo
PlayerTwo
Hi. I Load from a quake 3 bsp file the vertices, the faces and textures information, and then i want to render these whit directx. But in bsp file the verteces of the level are stored in a single list, and they aren't grouped in different object. Now, how i can bind different texture to different faces?
Muhammad Haggag
Muhammad Haggag
Quote:
Original post by PlayerTwo
But in bsp file the verteces of the level are stored in a single list, and they aren't grouped in different object.
Now, how i can bind different texture to different faces?

I don't know bsp3 specifics, but any half-decent tutorial on q3 bsps will tell you how to identify the texture associated with brushes...

Basically, you just sort your brushes per-texture, and render each group that has the same texture. Check http://www.gametutorials.com for a q3 bsp tutorial. It's GL (maybe there's a DX version, I don't know) but the concept is the same.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.