Hi guys, I would like to make a world. So I made a box and my cam is in it. Now I would like to attach a texture that represent the sky in the box. How can I do that
This is also refered to as sky boxes and sky domes. This is really a cool technique and allows the viewer to have this feeling of open-ness even if the viewer is in a box. What you will do is flip the faces of the box so that the faces are pointing inwards. Specify the correct uv coordinates for the box and just set the texture when rendering the box. This may seem simple and sometimes it is but to get you started here is a tutorial on getting a skybox up and running. Skybox tutorial #1
I hope this helps. Take care bud.
I don't know because, but every tutorial of Michael Schuld doesn't work with my visual studio 2005 with DX9...
This is also refered to as sky boxes and sky domes. This is really a cool technique and allows the viewer to have this feeling of open-ness even if the viewer is in a box. What you will do is flip the faces of the box so that the faces are pointing inwards. Specify the correct uv coordinates for the box and just set the texture when rendering the box. This may seem simple and sometimes it is but to get you started here is a tutorial on getting a skybox up and running. Skybox tutorial #1
Texture in box
XPSUser
I don't know because, but every tutorial of Michael Schuld doesn't work with my visual studio 2005 with DX9...
midavis
Skybox tutorial #1
I hope this helps.
Take care bud.
Pyronaught
Is it the same thing to apply a texture to a vertex buffer
tnx
CPlusPlus
The game development series on Coding4Fun has a skybox example http://msdn.microsoft.com/coding4fun/gamedevelopment/beginning5/default.aspx
I'm not sure which SDK Michaels tutorials use, but the changes should be minimal to make it compile.