Making sky and land

I have done the tut on this site:
http://msdn.microsoft.com/coding4fun/gamedevelopment/beginning3/default.aspx

and was wondering how to make a sky and land.
If it is really hard and takes a lot of code, does someone have a sample?

Also, how do you put a .X model into the space?

Thanks

[492 byte] By [tmasboa] at [2008-1-28]
# 1
How to make Sky&Land :

This question is too global. For the sky, do you talk about a Skybox or something like this? For the land, do you want a flat terrain or something with heigth? I ask this because there's a lot of technics and you should be sure of what you want before looking for the implementation.

Position model in space :

To put a model into your world, you have to complete some little step. First, load your XFile. Read the tutorial 6 from the sdk if you don't know how to do this.
Second, set your camera with the method you have learned in the tutorial from Coding4Fun. Third, set the WorldMatrix at the "position" you want your model to be rendered. Finally, with the rendering loop from tutorial 6, draw your mesh on screen. (Don't forget to place your camera to be able to view your model)

Have fun! Smile

Hardone at 2007-9-9 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: General...
# 2
Back when I was with Intel (I work for Microsoft now) I did an article on generating a procedural world that included (IMHO) a really nice procedural terrain and procedural cloud skydome implementation. The terrain allowed for blending between "infinite" procedural terrain and authored elements (e.g. I want a procedural mountain range but want my authored volcanoe to go HERE). It was pretty basic terrain (flat grid with some very simple LOD, but no ROAM or anything like that) but should do the job for a beginner project.

It was a while ago, and used DX7 fixed function pipeline, but should be pretty easy to port over.

Should be able to find it by going to www.intel.com/ids/ and searching on "pallister" or on "procedural"

Good luck!

Kim

KimPallister at 2007-9-9 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: General...