Search found 113 matches
- Wed Jun 18, 2008 6:05 pm
- Forum: Beginners Help
- Topic: IGUIWindow adding additional element problem
- Replies: 2
- Views: 203
rect<s32>() has more than one constructor, including one that uses: core::position2d<s32>() core::dimensio<s32>() wich is much more intuitive when creating GUI elements now.. the prblem here as darbolovan pointed out u have is that u the y2 parameter is lower than the y1 parameter... u might be bett...
- Tue Jun 17, 2008 5:29 pm
- Forum: Beginners Help
- Topic: multiple CollisionResponseAnimators for one Scenenode?
- Replies: 2
- Views: 310
- Wed May 28, 2008 8:34 pm
- Forum: Beginners Help
- Topic: My Interpretation of the collision detection example!
- Replies: 9
- Views: 714
well... there are a few if statements... wich might be returning false and thus result in the lines inside not being procesed... and the api would hel in telling u for instance what a billboard is... or what //driver->setMaterial(material); does... that sorth of stuff and one more thing, people usua...
- Wed May 28, 2008 7:38 pm
- Forum: Beginners Help
- Topic: My Interpretation of the collision detection example!
- Replies: 9
- Views: 714
- Wed May 28, 2008 4:52 pm
- Forum: Beginners Help
- Topic: using .irr and .pk3
- Replies: 5
- Views: 593
change this:
to this:
best regards
Code: Select all
smgr->loadScene("MyLevel.irr");
Code: Select all
smgr->loadScene("map.irr");
- Wed May 28, 2008 4:45 pm
- Forum: Beginners Help
- Topic: Unable to use some renderers
- Replies: 5
- Views: 292
before u do that what version of irrlicht are u using? the svn version or the 1.4 release version ? by the way... i think u said u are using eclipse with... i dun know what compiler... i dont know if there's a .dll file for that IDE/compiler, or if the other dll's works with it, maybe someone with m...
- Tue May 27, 2008 9:21 pm
- Forum: Beginners Help
- Topic: Multiple event listeners
- Replies: 5
- Views: 301
ok... i usually make 2 files for most classes, a .h file and a .cpp file(like many people here i guess) the .h file only contains the class/class members declarations, something like this: //MainEventReceiver.h #include <irrlicht.h> using namespace irr; class MainEventReceiver : public irr::IEventRe...
- Tue May 27, 2008 6:13 pm
- Forum: Beginners Help
- Topic: Strange problem with strings/paths
- Replies: 0
- Views: 219
Strange problem with strings/paths
Hi, im having a bit of a tough time finding an error... what happends is this: my app reads a scene file, load's it in a new scene manager and saves the path to the scene file, the path to a screenshot of that scene and the name of the scene(just for showing on the gui), and stores this values in st...
- Tue May 27, 2008 4:05 pm
- Forum: Beginners Help
- Topic: Creating my heightmap!
- Replies: 16
- Views: 1160
- Mon May 26, 2008 8:13 pm
- Forum: Beginners Help
- Topic: Creating my heightmap!
- Replies: 16
- Views: 1160
ok.. one thing to note is that the heightmap u are providing(im talking about the one above) will look like a big prism with 2 holes/valeys inside... so u wont see anything... a heightmap should have... black in the lower parts and white on the higher parts... passing by gray inbetween... about the ...
- Mon May 26, 2008 7:37 pm
- Forum: Beginners Help
- Topic: Creating my heightmap!
- Replies: 16
- Views: 1160
yes you have to ad a IAnimatedMeshSceneNode to go with that IAnimatedMesh...
that should dysplay your mesh
best regards
Code: Select all
smgr->addAnimatedMeshSceneNode(terrain);
best regards
- Fri May 23, 2008 10:09 pm
- Forum: Beginners Help
- Topic: converting string and vector [solved]
- Replies: 2
- Views: 271
what u have to do is move the declaration of the static text variable ouside the main loop(get a pointer to it), and then instead of creating the static text inside the main loop just change the dysplayed text... like this: IGUIEnvironment* guienv = device->getGUIEnvironment(); IGUIStaticText* debug...
- Wed May 21, 2008 6:30 pm
- Forum: Beginners Help
- Topic: a event on a image (gui->image)
- Replies: 6
- Views: 348
because of this: http://img292.imageshack.us/img292/4223/n5579649465705675104in7.th.jpg he seems to want a very webpage-like interface.. so he uses a single image as gui... and wants to know when the user clicks on some parts of the image... (to the left and down are the buttons, those messages in s...
- Wed May 21, 2008 4:46 pm
- Forum: Beginners Help
- Topic: Error setting event receiver
- Replies: 5
- Views: 355
hehehe i was about to delete that post, i gues im still sleepy =P. could u post the rest of the code, and one more thing, debug your app a little, put breakpoints in the onevent method and see what happends, check where do u get the null pointer(that error is usually due to a null pointer somewhere,...
- Wed May 21, 2008 4:35 pm
- Forum: Beginners Help
- Topic: Error setting event receiver
- Replies: 5
- Views: 355
You are not actually creating your event receiver, change this:
to this:
That should sifice to make it work
Best regards
Code: Select all
EventReceiver receiver;
device->setEventReceiver(&receiver);
Code: Select all
EventReceiver receiver = EventReceiver();
device->setEventReceiver(&receiver);
Best regards