Typical dreaded noobie thread

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
kyx
Posts: 2
Joined: Tue Jul 18, 2006 9:25 am

Typical dreaded noobie thread

Post by kyx »

I haven't downloaded the program yet, but I have some questions.

How exactly does it work? Can it take a .mb or .ma scene from maya and be good to go? Or is there a lot of work involved?

Do I have to do any coding? or is movement taken care of? Do I have to define ground planes and walls, or can I just fly through the models?

Thanks in advance!
cadue
Posts: 72
Joined: Mon Mar 13, 2006 8:33 pm
Location: Italy - Friuli - Monfalcone - Staranzano

Post by cadue »

Irrlicht support there meshes:

* 3D Studio meshes (.3ds)
* Alias Wavefront Maya (.obj)
* Cartography shop 4 (.csm)
* COLLADA (.xml, .dae)
* DeleD (.dmf)
* FSRad oct (.oct)
* Irrlicht scenes (.irr)
* Microsoft DirectX (.x) (binary & text)
* Milkshape (.ms3d)
* My3DTools 3 (.my3D)
* OGRE meshes (.mesh)
* Pulsar LMTools (.lmts)
* Quake 3 levels (.bsp)
* Quake 2 models (.md2)

In my opinion you should try some irrlicht examples for make your own idea about this engine

:)
excuse me for my bad english and for my ignorance...but I'm 14 and i come from Italy, where the study of english is a optional (-:
kyx
Posts: 2
Joined: Tue Jul 18, 2006 9:25 am

Post by kyx »

cadue wrote:Irrlicht support there meshes:

* 3D Studio meshes (.3ds)
* Alias Wavefront Maya (.obj)
* Cartography shop 4 (.csm)
* COLLADA (.xml, .dae)
* DeleD (.dmf)
* FSRad oct (.oct)
* Irrlicht scenes (.irr)
* Microsoft DirectX (.x) (binary & text)
* Milkshape (.ms3d)
* My3DTools 3 (.my3D)
* OGRE meshes (.mesh)
* Pulsar LMTools (.lmts)
* Quake 3 levels (.bsp)
* Quake 2 models (.md2)

In my opinion you should try some irrlicht examples for make your own idea about this engine

:)
Ok, I'm glad it can import scenes... I was reading around and saw a lot of openGL and other code and wasn't liking that very much. :p

Does it have some default movement settings? Like one that lets you fly through models and one that does collision detection? Just flying around is ok with me. I don't need collision detection.

I'm asking because I really, really do not like downloading things to find out that they don't work... IMO, the best way to mess up a computer is installing and uninstalling software like crazy... and my computer is my JOB and I do not like to risk messing it up.
cadue
Posts: 72
Joined: Mon Mar 13, 2006 8:33 pm
Location: Italy - Friuli - Monfalcone - Staranzano

Post by cadue »

Is very simple create a camera for flying around. Whit another 3-4 lines you can set the collision detection, gravity etc.
Understand Opengl isn't necessary.
This programm load a model and a camera:

Code: Select all

#include <irrlicht.h>

using namespace irr;

using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;


int main()
{
	IrrlichtDevice* device = createDevice(video::EDT_OPENGL,core::dimension2d<s32>(800,600),32,false, true, false);
   
    IVideoDriver* driver = device->getVideoDriver();
    ISceneManager* smgr = device->getSceneManager();
    
    IAnimatedMeshSceneNode* model = smgr->addAnimatedMeshSceneNode(smgr->getMesh(.....directory....));

    model->setPosition(vector3df(0,0,0));
    model->setScale(vector3df(0,0,0));

    ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS();

    device->getCursorControl()->setVisible(false);
	


	while(device->run())
		driver->beginScene(true, true, 0 );

		smgr->drawAll();
		driver->endScene();
	}

	device->drop();
	
	return 0;
}
excuse me for my bad english and for my ignorance...but I'm 14 and i come from Italy, where the study of english is a optional (-:
Post Reply