Sign in to follow this  
Mr_Ridd

Warcraft 3 Maps

Recommended Posts

Hey Does anyone know how Warcraft 3 does its land for their maps. In the editor you place textures down as though it's 2D. You can also have different heights, I don't think it's a heightmap. Thanks

Share this post


Link to post
Share on other sites
IIRC warcraft 3 maps are a combination of tiles and height mapping. It consists in a series of vertices that each have a base height (determined using the height-alteration tools), a "cliff" height (you can increase/decrease it using cliff tools) and a ground type. These vertices are laid out on a grid.

Now, at rendering time (or maybe it is saved at build time?), the engine builds the actual stuff in the quads formed by sets of four vertices. For instance, if a vertex is one cliff higher than the three below, the quad will be rendered as a "cliff corner". The height of the actual model vertices for that quad area will be transformed based on the base height of the four vertices.

Concering textures, it renders using multitexturing, in one or more passes, various layers of textures that when combined create the illusion of "grass on stone on mud".

So basically, it's a simple tile-based system, except the tiles are quads the corners of which can have different heighets, and some tiles are special 3D tiles (the cliffs).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this