I know, i set it true.If you add light to scene and want it to affect objects, this objects must have materials with lighting enabled; like: node->setMaterialFlag(EMF_LIGHTING, true);
Search found 31 matches
- Wed Jun 02, 2010 2:45 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 1080
- Tue Jun 01, 2010 4:15 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 1080
- Mon May 31, 2010 3:51 pm
- Forum: Off-topic
- Topic: Funny programming pictures, jokes & quotes
- Replies: 436
- Views: 211692
- Mon May 31, 2010 1:14 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 1080
- Sun May 30, 2010 4:34 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 1080
I don't want to make new topic so:
I want to add some light in my app. There is a code. My question is: why triangle is light from all sides? I changed position of light, but nothing happen.
I want to add some light in my app. There is a code. My question is: why triangle is light from all sides? I changed position of light, but nothing happen.
- Sun May 30, 2010 8:49 am
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 1080
- Fri May 28, 2010 7:00 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 1080
Strange error
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
f32 i=0;
int model=1;
bool start=false;
bool zeruj=false;
class MyEventReceiver : public IEventReceiver
{
public:
virtual bool OnEvent(const ...
- Wed May 26, 2010 2:49 pm
- Forum: Beginners Help
- Topic: Block rotation
- Replies: 6
- Views: 640
- Tue May 25, 2010 5:23 pm
- Forum: Beginners Help
- Topic: Block rotation
- Replies: 6
- Views: 640
Block rotation
I want to do a block rotation. I have model of triangle and i rotate it. But i don't get that i want. I want something like this:
http://www.interklasa.pl/portal/dokumenty/tab_mat/stereometria/stereometria/stozek-w-ostroslupie.gif
i get this:
http://fotoo.pl/zdjecia/files/2010-05/048d06b6.png ...
http://www.interklasa.pl/portal/dokumenty/tab_mat/stereometria/stereometria/stozek-w-ostroslupie.gif
i get this:
http://fotoo.pl/zdjecia/files/2010-05/048d06b6.png ...
- Fri May 14, 2010 7:02 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 529
- Fri May 14, 2010 6:49 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 529
- Fri May 14, 2010 6:02 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 529
- Fri May 14, 2010 5:51 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 529
Linker error...but why?
All was fine, but today i instaled dev with wxwidgets. After i uninstaled it and now i can't do new projects with irrlicht. Old ones compile and run fine, but now no. I get message like:
[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS ...
[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS ...
- Wed May 12, 2010 7:15 pm
- Forum: Beginners Help
- Topic: not show *.x animaton
- Replies: 21
- Views: 1842
- Tue May 11, 2010 8:04 pm
- Forum: Beginners Help
- Topic: not show *.x animaton
- Replies: 21
- Views: 1842