Search found 71 matches

by WToma
Wed Aug 24, 2005 6:30 pm
Forum: Beginners Help
Topic: FPS camera without using FPScamera...
Replies: 3
Views: 263

The simplest way, I think, is to copy the code of FPS camera and just change the event receiver part. If you want to create a direction vector, you can do as the following: let alpha be the angle around y axis and let beta be the angle around x axis. We use degrees as unit, because most irrlicht fun...
by WToma
Wed Aug 24, 2005 9:30 am
Forum: Beginners Help
Topic: Changing the height of a FPS camera
Replies: 5
Views: 254

Not sure what is your problem. If you're using a addCameraSceneNodeFPS then you can simply use the setPosition method of your ICameraSceneNode (which is an ISceneNode).
Toma
by WToma
Mon Aug 22, 2005 1:46 pm
Forum: Beginners Help
Topic: How to disengage FPS cam to use mouse on gui?
Replies: 15
Views: 1119

setInputReceiverEnabled() works fine, but how do you know when you have to call it? You cannot bind it to mouse or keyboard because events are captured by the event receiver of the camera.
Toma
by WToma
Sun Aug 21, 2005 3:22 pm
Forum: Beginners Help
Topic: Change material color
Replies: 5
Views: 966

Here you can see the problem: http://file.uploadr.com/1ae5 The original color is that you can see on the left. I try to paint this car blue. On the left picture, I use this code: model->getMaterial(1).SpecularColor.set(0,255,255,255); model->getMaterial(1).AmbientColor.set(0,0,0,255); model->getMate...
by WToma
Sun Aug 21, 2005 1:50 pm
Forum: Beginners Help
Topic: create an animated door
Replies: 3
Views: 297

I think you have to create your door from code. Anyway, if there is a better solution I would be intrested too.
Toma
by WToma
Fri Aug 19, 2005 8:16 pm
Forum: Beginners Help
Topic: Change material color
Replies: 5
Views: 966

OK, I have found it. In this case, the problem was that I should have set up the new color before creating the IAnimatedMeshSceneNode from IAnimatedMesh. Working with EmissiveColor results an acceptable lighting/shading. In other cases, however, the usage of EmissiveColor is not a good solution beca...
by WToma
Fri Aug 19, 2005 7:59 pm
Forum: Beginners Help
Topic: How to disengage FPS cam to use mouse on gui?
Replies: 15
Views: 1119

(If someone read the previous, unedited version: forget it! :D)
Use setInputReceiverEnabled method of ICameraSceneNode. example:

Code: Select all

cam=scene::ICameraSceneNode* cam=smgr->addCameraSceneNodeFPS();
cam->setInputReceiverEnabled(false);
Toma
by WToma
Fri Aug 19, 2005 2:42 pm
Forum: Beginners Help
Topic: it doesn't work with dev-cpp
Replies: 2
Views: 137

It seems that you are trying to use a mismatching .a/.dll combination. Try re-building source, copy the .a into your devcpp/lib directory and the dll into the directory where you're trying to execute the exe file. It should work. If it doesn't, try downgrading to gcc 3.3.1. It works for me... (with ...
by WToma
Thu Aug 18, 2005 2:14 pm
Forum: Beginners Help
Topic: Change material color
Replies: 5
Views: 966

I've made up a little test to demonstrate what happens. Zip includes c++ source, Dev-C++ project file and an example model. Maybe the error is in my environment because I had build the lib myself and also changed some little modifications (see the "yet another lighting question" topic). Yo...
by WToma
Wed Aug 17, 2005 12:50 pm
Forum: Beginners Help
Topic: Change material color
Replies: 5
Views: 966

Up!
Nobody got the faintest idea :?:
Toma
by WToma
Wed Aug 17, 2005 12:48 pm
Forum: Beginners Help
Topic: Exporting animated model from 3ds max
Replies: 14
Views: 1376

You were right. I didn't check the version numbers :oops:
The DX-exporter doesn't work, max sais "failed to initialize plugin"
and I got the same results with Panda as you. Got no idea why it refuses to work.
Toma
by WToma
Wed Aug 17, 2005 10:02 am
Forum: Beginners Help
Topic: Exporting animated model from 3ds max
Replies: 14
Views: 1376

As I read the Panda pages I found that max7 is not supported by panda. I checked out Quest exporter but they doesn't support max7, only 4-5-6. It is said that you get a max7 .x exporter plugin with dx9 sdk. But on microsoft downloads in a note you can read that "this package does not include [....
by WToma
Tue Aug 16, 2005 3:31 pm
Forum: Beginners Help
Topic: Change material color
Replies: 5
Views: 966

Change material color

Hi! It's me again :) I try to change the color of some loaded meshes. I use node->getMaterial(i).AmbientColor.set(0,0,255,0); , but nothing happens. When I try to changle all colors (excepted emissive) of all materials, I still cannot notice any changes. (If I change emissive color it works, but loo...
by WToma
Mon Aug 15, 2005 5:17 pm
Forum: Beginners Help
Topic: yet another lighting question
Replies: 9
Views: 420

OK, it is up and working. You can download it from here: http://sohivatal.uw.hu/dev/directional_light_patch.zip or from here: http://szerver2.radnoti-szeged.sulinet.hu/~m6weitam/directional_light_patch.zip (note, the first is a hungarian free webspace provider, the second is the public server of my ...
by WToma
Mon Aug 15, 2005 11:53 am
Forum: Beginners Help
Topic: Compiling Irrlicht as a lib
Replies: 4
Views: 165

Which compiler do you use?
You compiled a static lib or DLL?
Toma