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: 658
- Tue Jun 01, 2010 4:15 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 658
- Mon May 31, 2010 3:51 pm
- Forum: Off-topic
- Topic: Funny programming pictures, jokes & quotes
- Replies: 436
- Views: 171427
How to program in C++ ---------------------------- 1] Use a lot of global varibles 2] Give them mysterious names such as: X67, i_gcl or Horace 3] Write everything in one big file. h 4] Implement the entire program at once. 5] Use macros, in order to emulate Pascal. 6] Assume that the compiler will t...
- Mon May 31, 2010 1:14 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 658
- Sun May 30, 2010 4:34 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 658
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: 658
Yea, now is ok. But if i will do some copies (like in code on this site )i can delete only last one. So how i can delete ALL(now i have this ) Btw. Why: virtual bool IsKeyDown(EKEY_CODE keyCode){ bool rrrr = KeyIsDown[keyCode]; KeyIsDown[keyCode] = false; return rrrr; } no:(that is in tutorial) virt...
- Fri May 28, 2010 7:00 pm
- Forum: Beginners Help
- Topic: Strange error
- Replies: 14
- Views: 658
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 SEvent...
- Wed May 26, 2010 2:49 pm
- Forum: Beginners Help
- Topic: Block rotation
- Replies: 6
- Views: 320
- Tue May 25, 2010 5:23 pm
- Forum: Beginners Help
- Topic: Block rotation
- Replies: 6
- Views: 320
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 Why ir...
- Fri May 14, 2010 7:02 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 376
- Fri May 14, 2010 6:49 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 376
- Fri May 14, 2010 6:02 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 376
- Fri May 14, 2010 5:51 pm
- Forum: Beginners Help
- Topic: Linker error...but why?
- Replies: 6
- Views: 376
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_4core11dimension...
- Wed May 12, 2010 7:15 pm
- Forum: Beginners Help
- Topic: not show *.x animaton
- Replies: 21
- Views: 1257
- Tue May 11, 2010 8:04 pm
- Forum: Beginners Help
- Topic: not show *.x animaton
- Replies: 21
- Views: 1257