The XNA Experiment: Terrains

Posted Sep 20, 2006 at 1:01PM by QJ Staff Listed in: Xbox 360 Tags: XNA
Ó


Terrains - Image 1 Terrains - Image 2


Want to know how to get Xbox 360 fanatics giddy like a high school girl? Mention Microsoft XNA and homebrew in the same breath.

There have been a lot of buzz surrounding this game development tool that has the potential to create homebrews for the Xbox 360. Nothing is official yet, but if Major Nelson is already covering it, that's our cue to pay attention isn't it?

And one person who did was Justin O'Dell. His blog's opening is graced by an article about his XNA adventures. He starts off his journey with a tile-based terrain implementation for XNA. Since, I am no developer, I'll let him do the explaining.

More Terrains - Image 1 More Terrains - Image 2 More Terrains - Image 3 


"The terrain is split into batches, one batch from every texture type. Each batch has a vertex buffer and an index buffer. It uses quad trees to find which tiles should be rendered. Once it has the list of tiles that are visible it populates the batch's index buffer. Pretty straight forward, huh? However, there is still work to be done, the terrain could use some tile blending and/or splatting. The terrain also has no LOD code. Its just the same tiles, over and over... no matter how far away they are. Some bump mapping would be just keen! I'm also sure there are other places for improvement. If you make any improvements, please let me know."

You can download the file through the read link for now, below this article to join his quest for a working homebrew for the Xbox 360 (or at least the beginning of it). After downloading the file, be sure to set your working directory to the "Content" directory so it knows where to load the files from.

Via kukyona

 
 
 

Comments [refresh]

by matt54 - 2006-09-20 09:17
»

this is cool stuff. i cant wait to see homebrew FPS or even ports. Quake 1-3, Doom, duke nukem, emulators. i wonder if all this is possible? probably! if its possible on the psp i imagine its very possible with XNA

by soadnation - 2006-09-20 12:35
» maybe not

qwith the psp we could run our own code in C++. with xna were limited to using xna and c# commands. meaning that we can only use c# to the extent that xna allows. with the psp we had controll of almost everything.

Add comment

Security code
Refresh

Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!