Search found 19 matches

by tft67
Mon Nov 08, 2010 3:20 pm
Forum: Advanced Help
Topic: sending command TO a joystick
Replies: 5
Views: 650

Ok.
Thank you for your answer.
by tft67
Mon Nov 08, 2010 2:32 pm
Forum: Advanced Help
Topic: sending command TO a joystick
Replies: 5
Views: 650

CuteAlien : It's exactly what i want to do : sending data to the hardware
vinj : 9.MouseAndJoystick sample just read data from the joystick.
by tft67
Mon Nov 08, 2010 8:26 am
Forum: Advanced Help
Topic: sending command TO a joystick
Replies: 5
Views: 650

sending command TO a joystick

I want to move an airplane from my irrlicht program.
Does any one know how to do this ?
Any idea ?
by tft67
Sat Nov 21, 2009 7:12 pm
Forum: Beginners Help
Topic: Irrlicht in a Qt window
Replies: 2
Views: 387

solved.

Ok. It works with

LIBS += -LC:\\irrlicht-1.6\\lib\\Win32-gcc -lIrrlicht
INCLUDEPATH += c:\\irrlicht-1.6\\include
CONFIG += warn_off

Thanks a lot.
by tft67
Sat Nov 21, 2009 3:10 pm
Forum: Beginners Help
Topic: Irrlicht in a Qt window
Replies: 2
Views: 387

Irrlicht in a Qt window

I tried to compile the project decribed in http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=15112&highlight=qirrlichtwidget but i got a linker message ( under Qt ) /QIrrlichtWidget.cpp:190: undefined reference to `_imp__createDeviceEx' The pro file is : TARGET = IrrTest17 TEMPLATE = app SO...
by tft67
Sun Oct 04, 2009 4:04 am
Forum: Beginners Help
Topic: howto add a simple material to a node ?
Replies: 5
Views: 373

Ok.
so i can only change an existing material.
Thanks a lot.
by tft67
Sun Oct 04, 2009 3:57 am
Forum: Advanced Help
Topic: SMaterial in version 1.6
Replies: 2
Views: 458

SMaterial in version 1.6

I founded in SMaterial.h :


bool Wireframe:1;
bool PointCloud:1;
...

a bit bit field of one boolean value !
Why this change ?


u8 ColorMask:4;
another bit field ?
I don't understand. Is it a bug ?
by tft67
Sun Oct 04, 2009 3:01 am
Forum: Beginners Help
Topic: howto add a simple material to a node ?
Replies: 5
Views: 373

Add ind a material

node->getMaterial(i) return an existing material. I need to create one and adding it to the node : something like this : irr::video::SMaterial newMaterial ; // change the material material.DiffuseColor = irr::video::SColor(255, 255, 0, 0); maretial.SpecularColor... node->addMaterial ( newMaterial ) ;
by tft67
Sat Oct 03, 2009 2:34 am
Forum: Beginners Help
Topic: howto add a simple material to a node ?
Replies: 5
Views: 373

howto add a simple material to a node ?

I want to add a material to a existing node and change it's color ( ambient, diffuse, emissive, backface.. )
but didn't found how to make it ( no glsl ) ?
Any one can help ?

:?:
by tft67
Mon Jun 08, 2009 9:00 am
Forum: Beginners Help
Topic: OnAminate changes camera position !
Replies: 4
Views: 244

MAYA cam

I've the seam problem with FPS cam.
I searched a long time for a parameter to change, and didn't found.
How can i recover the previous position of the camera ?
by tft67
Mon Jun 08, 2009 5:17 am
Forum: Beginners Help
Topic: OnAminate changes camera position !
Replies: 4
Views: 244

worng order

sorry, but the xml sample i've put are in the wrong order. !
by tft67
Mon Jun 08, 2009 5:15 am
Forum: Beginners Help
Topic: OnAminate changes camera position !
Replies: 4
Views: 244

OnAminate changes camera position !

I've only camera Maya, and its position is changed after smgr->drawAll()! It seems that it's the function "onAnimate" ( executed in drawAll ) which changes the position. // Before : 15,0,0 cameraMaya ->OnAnimate( 0 ) ; // cameraMay is a irr::scene::ICameraSceneNode // After 75, 0,0 smgr->d...
by tft67
Wed Jun 03, 2009 9:34 am
Forum: Beginners Help
Topic: namespace and heritage !
Replies: 2
Views: 309

found

You'ra right.
I've written "include "toto.h"" in the file a.h !
it was a :oops: stupid error !
Thanks a lot.
by tft67
Tue Jun 02, 2009 1:37 pm
Forum: Beginners Help
Topic: namespace and heritage !
Replies: 2
Views: 309

namespace and heritage !

I've a compilation error "base class undefined", with some class defined like this :

// in a file called A.h
class A { ... }

// in an file called toto.h:
#include "a.h"
namespace toto {
class B :public A { ...}
}


Does any one understand this error ?
Thanks !!
by tft67
Mon Mar 30, 2009 2:40 pm
Forum: Advanced Help
Topic: multi window ?
Replies: 5
Views: 668

one devcie, onde driver and 2 smgr

I tried with something like this : [code] while ( running ) { if (device->run() ) { driver->beginScene(true, true, SColor(255,100,0,140), param.WindowId); smgr->setActiveCamera(camera); smgr->drawAll(); driver->endScene(); driver2->beginScene(true, true, SColor(255,100,101,140), param2.WindowId); sm...