Search found 31 matches

by Moore
Wed Jun 02, 2010 2:45 pm
Forum: Beginners Help
Topic: Strange error
Replies: 14
Views: 658

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);
I know, i set it true.
by Moore
Tue Jun 01, 2010 4:15 pm
Forum: Beginners Help
Topic: Strange error
Replies: 14
Views: 658

I have this: ILightSceneNode* light = smgr->addLightSceneNode(0); SLight sw; sw.CastShadows = true; sw.Position = vector3df(0, 0, 50); sw.Direction = vector3df(0, 0, -10); sw.Radius = 700; sw.Type = ELT_DIRECTIONAL; light->setLightData(sw); But it doesn't work :/
by Moore
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...
by Moore
Mon May 31, 2010 1:14 pm
Forum: Beginners Help
Topic: Strange error
Replies: 14
Views: 658

So what i have to do to get light from one side?
by Moore
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.
by Moore
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...
by Moore
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...
by Moore
Wed May 26, 2010 2:49 pm
Forum: Beginners Help
Topic: Block rotation
Replies: 6
Views: 320

Nie, nie o to mi chodziło :/

Aek give me your Gygy number i'll explain what i want :)
by Moore
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...
by Moore
Fri May 14, 2010 7:02 pm
Forum: Beginners Help
Topic: Linker error...but why?
Replies: 6
Views: 376

I solved the problem. In tutorial on irrlicht main site wasn't that one more thing you have to do. Now all's fine.

Btw.In this forum you always try to help. In polish forums it's harder to get help ;p
by Moore
Fri May 14, 2010 6:49 pm
Forum: Beginners Help
Topic: Linker error...but why?
Replies: 6
Views: 376

I have downloaded irrlicht 1.7 from main page. For path- I don't think so(in dev you have button to select path so all looks correct)(i you want i can do screen shots).
by Moore
Fri May 14, 2010 6:02 pm
Forum: Beginners Help
Topic: Linker error...but why?
Replies: 6
Views: 376

Yea
by Moore
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...
by Moore
Wed May 12, 2010 7:15 pm
Forum: Beginners Help
Topic: not show *.x animaton
Replies: 21
Views: 1257

Well, i export to b3d and finally all works fine :D(without colors, but i will use textures)
by Moore
Tue May 11, 2010 8:04 pm
Forum: Beginners Help
Topic: not show *.x animaton
Replies: 21
Views: 1257

Anyone help?