Search found 19 matches

by mcbart
Wed Mar 04, 2009 3:59 pm
Forum: Beginners Help
Topic: Deforming mesh
Replies: 3
Views: 699

But how can i do that??
by mcbart
Wed Mar 04, 2009 10:49 am
Forum: Beginners Help
Topic: Deforming mesh
Replies: 3
Views: 699

Deforming mesh

Hi there!
I have one question. I woluld like to create simple 3d editor, which gonna only deform mesh. Is it possible to give one mesh a shape of other in irrlicht( and second question) and is it possible to create this type of software with irrlicht??
by mcbart
Mon Jan 26, 2009 9:26 pm
Forum: Beginners Help
Topic: Animation of md2 files in irrlicht 1.5
Replies: 2
Views: 381

Md2. i have made mistake while writting post. In irrlicht 1.5 i have a problem with this because it display right animation when i use scene::EMAT_RUN. It doesnt works when i use setFRameLoop.
by mcbart
Sun Jan 25, 2009 12:29 pm
Forum: Beginners Help
Topic: Animation of md2 files in irrlicht 1.5
Replies: 2
Views: 381

Animation of md2 files in irrlicht 1.5

Hi!
I have one problem with irrlicht version 1.5. In version 1.2 to display animation of run i was using SetFrameLoop. It doesnt works in 1.5, because i can see that model shake not run. I help myself with tutorials and i saw somethinng like "setMD2Animation ( EMD2_ANIMATION_TYPE anim ) " and scene ...
by mcbart
Fri Jan 23, 2009 5:02 pm
Forum: Beginners Help
Topic: Putting meshes in places of bones.
Replies: 1
Views: 288

Putting meshes in places of bones.

Hi!
I have red that irrlicht supports skeleton animation and i have a question if it's possible to put mesh( for example sword's mesh ) in bone's place?
I've been using blender and one method of animation is using bones.
Here's a screenshort:
Image
by mcbart
Thu Jan 22, 2009 10:45 am
Forum: Beginners Help
Topic: detect if key was released.
Replies: 4
Views: 623

Thanks for help. :D
by mcbart
Sun Jan 18, 2009 7:13 pm
Forum: Beginners Help
Topic: detect if key was released.
Replies: 4
Views: 623

detect if key was released.

hi!
I have written program where user can move mesh and camera in difference ways. I have one problem, because when i press and hold key W mesh move forward and we can see animation of running. When i stop pressing and holding key W mesh stop moving, but we can still see animation if running. How to ...
by mcbart
Fri Jan 16, 2009 5:08 pm
Forum: Beginners Help
Topic: glLookAt in Irrlicht
Replies: 11
Views: 1180

That's full code of application.
----------------------------------------------------------

#include <irrlicht.h>
#include <stdio.h>




using namespace irr;


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

#pragma comment(linker ...
by mcbart
Wed Jan 14, 2009 10:59 am
Forum: Beginners Help
Topic: glLookAt in Irrlicht
Replies: 11
Views: 1180

ok i did it what you said.
I set mesh in front of camera to check if camera moves and used this code
camera->setTarget(przodTmp)
and result is that mesh dissepear.
I even used something like this
camera->setTarget(suma)
suma=przodTmp*distance
and it doesnt works too. What is wrong with this code ...
by mcbart
Wed Jan 14, 2009 8:50 am
Forum: Beginners Help
Topic: glLookAt in Irrlicht
Replies: 11
Views: 1180

hybrid wrote:You have to update the target as well, in order to keep it looking into the desired direction.
What should be target for this camera and how to do this??
by mcbart
Tue Jan 13, 2009 10:34 pm
Forum: Beginners Help
Topic: glLookAt in Irrlicht
Replies: 11
Views: 1180

Thanks but i wanna create set of function which make camera move. Some thing like 3rd person camera.
void PrzesunPrzod(float distance)
{
vector3df przodTmp(przod.X, 0, przod.Z);
poz = poz +przodTmp*distance;


}
void UpDate()
{
camera->setPosition(poz);


}
That functions i used to make camera ...
by mcbart
Tue Jan 13, 2009 9:51 pm
Forum: Beginners Help
Topic: glLookAt in Irrlicht
Replies: 11
Views: 1180

glLookAt in Irrlicht

Hi there!
I have one question with concerning glLookAt function. I exactly mean if i can somehow use this function in irrlicht program or if there is any other function which works in similar way like this(or even in the same)??
by mcbart
Sun Aug 10, 2008 9:57 am
Forum: Code Snippets
Topic: NWN style camera
Replies: 6
Views: 8601

Can you write an example where you show how to use it? I was compiling program with use this code but while compiling i had many errors.
by mcbart
Sat Aug 09, 2008 11:26 am
Forum: Beginners Help
Topic: mesh in front of camera
Replies: 2
Views: 291

Ok. i made what you said. Camera is a parent of the mesh and all works. I have problem with it, because i can't see a mesh after run program. I did set for them other positions. I'm using FPS camera.
by mcbart
Fri Aug 08, 2008 7:03 pm
Forum: Beginners Help
Topic: mesh in front of camera
Replies: 2
Views: 291

mesh in front of camera

Hi all!
How can i write program where user can moving camera where in front of camera will be mesh and it's going to moving with camera. How can i do this and what kind of camera should i use to this? I exactly mean something like in agility game. Should it be instruction from moving camera and mesh?