Jump to content
  • Advertisement
Sign in to follow this  
Ueneth Echil

Looking for a level editor (the person or program)

This topic is 3556 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm programming an RTS/FPS combination game as my independent study for my school. It's coming along fine on that respect, but my game graphically looks like crap, specifically my terrain. Here's a simple image of what my map looks like with a valley. My game will consist of large outdoor environments, and so my original thought and execution has been to use height maps. Unfortunately, I'm currently just using free one's I've found online since I myself am extremely artistically, creatively, graphically retarded. I was wondering, if there was any assistance I could get. Maybe a recommendation for a program, a recommendation for another file format, recommendation for code that may graphically help such as lighting, or someone that would be willing to help me out by making a terrain map for me(I'm willing to compensate, PM me). This is the extent of the amount of code I have that deals with graphics.
        irr::video::E_DRIVER_TYPE driverType = irr::video::EDT_OPENGL;

        irr::IrrlichtDevice* device = irr::createDevice(driverType, irr::core::dimension2d<irr::s32>(windowWidth, windowHeight));

        irr::video::IVideoDriver* driver = device->getVideoDriver();
        irr::scene::ISceneManager* smgr = device->getSceneManager();
        irr::gui::IGUIEnvironment* env = device->getGUIEnvironment();

        driver->setTextureCreationFlag(irr::video::ETCF_ALWAYS_32_BIT, true);

        irr::scene::ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS(0, 100.0f, 1200.f);
        camera->setPosition(irr::core::vector3df(7200, 4210, 9000));


        irr::scene::ITerrainSceneNode* terrain = smgr->addTerrainSceneNode(
                irr::core::vector3df(0.f, 0.f, 0.f),
                irr::core::vector3df(0.f, 0.f, 0.f),
                /*irr::core::vector3df(200.f, 15.f, 200.f)*/irr::core::vector3df(80.f, 60.f, 80.f),
                irr::video::SColor(255, 255, 255, 255),

        terrain->setMaterialFlag(irr::video::EMF_LIGHTING, false);

        terrain->setMaterialTexture(0, driver->getTexture("terrain-texture.jpg"));
        terrain->setMaterialTexture(1, driver->getTexture("detailmap3.jpg"));


        terrain->scaleTexture(1.0f, 20.0f);

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!