Curvy

Scorch Marks development got a little slow lately, mostly because I was wrestling with Q3BSP patches. Basically, Q3BSP format supports these funky little things called patches, which are basically a set of control points that are used to generate curves at whatever level of detail you want. Rendering wasn’t so difficult, after I got my hands on the information I needed about how they’re stored in the files, but collision detection on these suckers is nasty. There are a few different methods out there for solving that problem, but it’s probably better to just skip collision, and put clips around them in the level editor. I’m told that not even Quake III Arena, the game for which this format was originally developed, would reliably provide collision for more complex patches.

On the upside, though, smooth patches look much improved over blocky edges on things like pipes, arches and so on. I’ll see if I can improve some of my earlier levels with patches, and post a few screenshots soon.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: