Skybox, is this something done in the level editor or what?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
RayOfAsh
Posts: 56
Joined: Wed Dec 24, 2003 4:08 am
Location: San Diego
Contact:

Skybox, is this something done in the level editor or what?

Post by RayOfAsh »

I have level edited many times before in the past, mostly with Dark Forces 2: Jedi Knights, and Half-Life, but not much with Quake 3. Is the skybox done in the level editor or do I have to do something with Irrlicht? Because I cant seem to figure this out. Im using GtK Radiant at the moment... I dont really like it all that much >.<;.
Image
Mindl
Posts: 16
Joined: Wed Jun 30, 2004 1:42 am

Post by Mindl »

You add the SkyBox with Irrlicht using irr::scene::ISceneManager::addSkyBoxSceneNode

http://irrlicht.sourceforge.net/docu/cl ... r.html#a15

For example:

ISceneNode* SkyBoxNode = smgr->addSkyBoxSceneNode( "top.jpg", "bottom.jpg", "left.jpg", "right.jpg", "front.jpg", "right.jpg", NULL, 0);

Hope that helps.

-Mindl
RayOfAsh
Posts: 56
Joined: Wed Dec 24, 2003 4:08 am
Location: San Diego
Contact:

Post by RayOfAsh »

That helps GREATLY! Ill remember next time to check the API :lol: .

Now, onto the tricky part, creating an infinante void of water like in Sea Dogs or all those space games/plane simulators!
Image
Post Reply