Level, mobs and camera

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
dercoder
Posts: 2
Joined: Tue Jan 03, 2012 5:29 pm

Level, mobs and camera

Post by dercoder »

Hey guyz,

first of all: sorry for my bad English.
I'm very new in Irrlicht, but not in programming nor in game programming. I program in C++ since ~5yrs and I tried out 3D GameStudio A7 for a half year (coz I didn't like the editors). Well, however I want to write a game to play it with friends.

It should be like Dungeon Keeper when I'm finished. But I have some difficulties with the materials.
How am I able to load a Milkshape (ms3d) model (I designed a giant plane with texture for the ground/level) and how do I load other models (blocks etc.) (also ms3d).
And how do I configurate the camera to have a perspective like in strategy games?

Please help me, I'm really interested in continuing with Irrlicht.

Best regards, DerCoder
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Level, mobs and camera

Post by Cube_ »

Have you read the irrlicht documents (api docs and so on)?
They list all supported formats.
you should also take your time to go through the tutorials included with your download.
"this is not the bottleneck you are looking for"
dercoder
Posts: 2
Joined: Tue Jan 03, 2012 5:29 pm

Re: Level, mobs and camera

Post by dercoder »

Thanks for your answer.

I started with the tutorial, but I didn't find any solutions for my problem.
Aren't their any snippets I missed?
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: Level, mobs and camera

Post by randomMesh »

dercoder wrote:How am I able to load a Milkshape (ms3d) model ... and how do I load other models (blocks etc.) (also ms3d).
Tutorial no. 1 handles mesh loading.
dercoder wrote:And how do I configurate the camera to have a perspective like in strategy games?
A camera has a setPosition() and a setTarget() method. Be creative.
"Whoops..."
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Level, mobs and camera

Post by Cube_ »

if you want skeletal animations b3d is your bet. (Just a tip)
If you want static mesh any supported type will work :D
"this is not the bottleneck you are looking for"
_neo_cortex
Posts: 5
Joined: Thu Dec 29, 2011 9:54 pm

Re: Level, mobs and camera

Post by _neo_cortex »

a perspective (isometric, perspective) is made with matrices

core::matrix4f camProjection;
camProjection.buildSomething...

then you can set the matrix to a camera->getFrustum().set... or camera->setTransform...,
or directly to driver->setTransform(ETS_PROJECTION, camProjection);
Post Reply