Tuesday, December 11, 2007

XNA Terrain engine I



My first go at creating an XNA 3D engine. Terrain is multi-textured, generated from height map, water reflects light and is bumbmap-animated. Scene is surrounded by a simple skybox, and the player can move around and directly manipulate the terrain.

Engine can handle textured .X models, but as you can see, the shader isn't currently rendering the textures correctly :P

7 comments:

Zygote said...

Looking very nice :D Any chance on releasing some code to the community?

Thanks,
Ziggy
Ziggyware XNA News and Tutorials

Duxx said...

Actually I don't think you want to be reading my code as it's not exactly made with good practices :p

However, my engine is heavily based on the tutorials written by Michael Schuld on his site (http://www.thehazymind.com), the Hazy Mind XNA Engine to be exact.

The terrain-from-heightmaps is based on forum posts by Nemo Krad. Those can be found in the forums of the above mentioned site (Board is named Engine additions and requires registration).

There's a ton of other interesting techniques presented there as well and I truly don't think anyone can benefit more from reading my code than they can by studying those.

As for my completely own creations (the tile-engines), I'll be happy to share the code, but I'll first have to change the graphics to non-copyright material :)

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.