Search found 2 matches
- Wed Mar 28, 2007 1:49 pm
- Forum: Code Snippets
- Topic: [C++] skyBox class, used to quickly update skybox
- Replies: 9
- Views: 4701
graphics
I use this class to change my scenes from level to level atm. A lazy terrain texturing method I've picked up is to use the *dn.bmp as the texture for the main piece of terrain; I find that it makes the terrain match the skybox very nicely. One way to animate would be to load an array of skyBoxes and...
- Sat Mar 24, 2007 2:35 pm
- Forum: Code Snippets
- Topic: [C++] skyBox class, used to quickly update skybox
- Replies: 9
- Views: 4701
[C++] skyBox class, used to quickly update skybox
Here is a sample class I am using to quickly make a skybox and update it (ie night to day). Initializing a new skyBox obj and running the start function will update the skybox. to initialize in main() requires ISceneManager and IVideoDriver objects: skyBox SB(smgr, driver, "/pathtoSkyboxes/&quo...