Commit 57ddd994 authored by hybrid's avatar hybrid

Partially reverted the skybox changes, such that now only a right/left texture...

Partially reverted the skybox changes, such that now only a right/left texture exchange is needed. Skyboxes are still correctly oriented and other tools are still compatible.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1021 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 7ce4f251
...@@ -6,7 +6,7 @@ Changes in version 1.4 (... 2007) ...@@ -6,7 +6,7 @@ Changes in version 1.4 (... 2007)
- the base class for nearly all Irrlicht classes has been renamed from IUnknown to IReferenceCounted - the base class for nearly all Irrlicht classes has been renamed from IUnknown to IReferenceCounted
- Fixed Skybox texture orientations. They are now displayed non-flipped. Existing skyboxes have to be changed, though. Echange left and right texture and rotate up-texture 270 degrees clockwise, and down-texture 90 degrees clockwise. Textures from Terragen and other tools can be used directly, now. - Fixed Skybox texture orientations. They are now displayed non-flipped. Existing skyboxes have to be changed, though: Exchange left and right texture. Textures from Terragen and other tools can be used directly, now. Quake maps will also need the right/left exchange.
- Added ITexture::isRenderTarget() - Added ITexture::isRenderTarget()
......
media/irrlicht2_dn.jpg

60.7 KB | W: | H:

media/irrlicht2_dn.jpg

60.8 KB | W: | H:

media/irrlicht2_dn.jpg
media/irrlicht2_dn.jpg
media/irrlicht2_dn.jpg
media/irrlicht2_dn.jpg
  • 2-up
  • Swipe
  • Onion skin
media/irrlicht2_up.jpg

12 KB | W: | H:

media/irrlicht2_up.jpg

11.9 KB | W: | H:

media/irrlicht2_up.jpg
media/irrlicht2_up.jpg
media/irrlicht2_up.jpg
media/irrlicht2_up.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -110,19 +110,19 @@ CSkyBoxSceneNode::CSkyBoxSceneNode(video::ITexture* top, video::ITexture* bottom ...@@ -110,19 +110,19 @@ CSkyBoxSceneNode::CSkyBoxSceneNode(video::ITexture* top, video::ITexture* bottom
Material[4] = mat; Material[4] = mat;
Material[4].setTexture(0, top); Material[4].setTexture(0, top);
Vertices[16] = video::S3DVertex( l, l, l, 0,-1,0, video::SColor(255,255,255,255), t, t); Vertices[16] = video::S3DVertex( l, l,-l, 0,-1,0, video::SColor(255,255,255,255), t, t);
Vertices[17] = video::S3DVertex(-l, l, l, 0,-1,0, video::SColor(255,255,255,255), o, t); Vertices[17] = video::S3DVertex( l, l, l, 0,-1,0, video::SColor(255,255,255,255), o, t);
Vertices[18] = video::S3DVertex(-l, l,-l, 0,-1,0, video::SColor(255,255,255,255), o, o); Vertices[18] = video::S3DVertex(-l, l, l, 0,-1,0, video::SColor(255,255,255,255), o, o);
Vertices[19] = video::S3DVertex( l, l,-l, 0,-1,0, video::SColor(255,255,255,255), t, o); Vertices[19] = video::S3DVertex(-l, l,-l, 0,-1,0, video::SColor(255,255,255,255), t, o);
// create bottom side // create bottom side
Material[5] = mat; Material[5] = mat;
Material[5].setTexture(0, bottom); Material[5].setTexture(0, bottom);
Vertices[20] = video::S3DVertex(-l,-l, l, 0,1,0, video::SColor(255,255,255,255), o, o); Vertices[20] = video::S3DVertex( l,-l, l, 0,1,0, video::SColor(255,255,255,255), o, o);
Vertices[21] = video::S3DVertex( l,-l, l, 0,1,0, video::SColor(255,255,255,255), t, o); Vertices[21] = video::S3DVertex( l,-l,-l, 0,1,0, video::SColor(255,255,255,255), t, o);
Vertices[22] = video::S3DVertex( l,-l,-l, 0,1,0, video::SColor(255,255,255,255), t, t); Vertices[22] = video::S3DVertex(-l,-l,-l, 0,1,0, video::SColor(255,255,255,255), t, t);
Vertices[23] = video::S3DVertex(-l,-l,-l, 0,1,0, video::SColor(255,255,255,255), o, t); Vertices[23] = video::S3DVertex(-l,-l, l, 0,1,0, video::SColor(255,255,255,255), o, t);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment