Jump to content
  • Advertisement
Sign in to follow this  
iking

quake 3 level

This topic is 4240 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi i want to load a quake 3 level, i've loaded the bsp, but it didnt load completely, ex: the tongue and in first level is missing, there is not any pillar and many more missings... are these models biezer surfaces? and how can i render them? thanx...

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by iking
hi
i want to load a quake 3 level, i've loaded the bsp, but it didnt load completely, ex: the tongue and in first level is missing, there is not any pillar and many more missings...

are these models biezer surfaces? and how can i render them?
thanx...
Right, those surfaces are constructed from Bezier patches.

I might be able to give you some more tips later, but for now I'll just say that the vertex data for a 'patch' surface is intended to be interpreted as a set of control points. The control points define NxM quadratic Bezier patches.

You have to write the code to evaluate and render these patches yourself. This isn't too terribly difficult though, provided you don't get too fancy with LOD techniques.

Share this post


Link to post
Share on other sites
well, at first, thanx for ur reply.
but i have a question(s)...
first, a friend of mine told me that those things (ex: the tongue) are models (meshs) and those vertices are included in the bsp file, but not as a part of
the bsp tree, but as independent models...

second, when i read a document about q3 bsp lumps, there was a lump called
kMeshVerts and the description was (Stores the model vertices offsets)
what is it for? maybe it is what my friend talked about.

thank u again

Share this post


Link to post
Share on other sites
Quote:
Original post by iking
first, a friend of mine told me that those things (ex: the tongue) are models (meshs) and those vertices are included in the bsp file, but not as a part of
the bsp tree, but as independent models...
I believe your friend is confused. The BSP format does include support for mesh models (e.g. the two statues in the courtyard of q3dm1), but the 'tongue' is created from quadratic Bezier patches.

Anyway, it looks like Scet's link has the info you need.

Share this post


Link to post
Share on other sites
Just curios... Does somebody know how Quake III handles collisions with patches? Did it check every polygon from the tesselated patch? Did it use a less tesselated version of the patch? Or did it just use the control points to figure out if there was a collision?

Share this post


Link to post
Share on other sites
Just a small opinion but it also would not hurt to look at the SDK for quake 3 to help out your project.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!