Search found 71 matches
- 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...
- Wed Aug 24, 2005 9:30 am
- Forum: Beginners Help
- Topic: Changing the height of a FPS camera
- Replies: 5
- Views: 254
- 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
- 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...
- Sun Aug 21, 2005 1:50 pm
- Forum: Beginners Help
- Topic: create an animated door
- Replies: 3
- Views: 297
- 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...
- 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! )
Use setInputReceiverEnabled method of ICameraSceneNode. example:
Toma
Use setInputReceiverEnabled method of ICameraSceneNode. example:
Code: Select all
cam=scene::ICameraSceneNode* cam=smgr->addCameraSceneNodeFPS();
cam->setInputReceiverEnabled(false);
- 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 ...
- Thu Aug 18, 2005 2:14 pm
- Forum: Beginners Help
- Topic: Change material color
- Replies: 5
- Views: 966
- Wed Aug 17, 2005 12:50 pm
- Forum: Beginners Help
- Topic: Change material color
- Replies: 5
- Views: 966
- Wed Aug 17, 2005 12:48 pm
- Forum: Beginners Help
- Topic: Exporting animated model from 3ds max
- Replies: 14
- Views: 1376
- Wed Aug 17, 2005 10:02 am
- Forum: Beginners Help
- Topic: Exporting animated model from 3ds max
- Replies: 14
- Views: 1376
- 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...
- 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 ...
- Mon Aug 15, 2005 11:53 am
- Forum: Beginners Help
- Topic: Compiling Irrlicht as a lib
- Replies: 4
- Views: 165