Search found 71 matches
- Tue Apr 03, 2018 10:06 pm
- Forum: Beginners Help
- Topic: Group Node Children
- Replies: 5
- Views: 952
Re: Group Node Children
OK, so the scenario, er, to create a node which has / controls numerous sub nodes, say a chess board. AND when a sub node is clicked, its the "board" node ID which is returned. Currently, I check to see if the triggering node (or returned node as with ray cast) has a parent of certain type...
- Mon Apr 02, 2018 8:23 pm
- Forum: Beginners Help
- Topic: Group Node Children
- Replies: 5
- Views: 952
Group Node Children
Is there an existing way to distinguish if an ISceneNode has been added as a child or just parented?, e.g. isRealChild(), isChild()... #include <iostream> #include <irrlicht.h> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using name...
- Mon Apr 02, 2018 5:06 pm
- Forum: Beginners Help
- Topic: Widestring Loading
- Replies: 1
- Views: 479
Widestring Loading
I'm trying to load widestring content from xml file to gui element, but it goes wrong at the last step of the demos version 3. Version 1 proves it can load the wide chars directly from string. Version 2 proves it can use an IAttributes for the job Version 3 is proved right up until the transfer from...
- Mon Apr 02, 2018 4:56 pm
- Forum: Beginners Help
- Topic: Issue Loading DirectX (.x) File
- Replies: 18
- Views: 2509
- Sun Apr 01, 2018 12:07 am
- Forum: Beginners Help
- Topic: Issue Loading DirectX (.x) File
- Replies: 18
- Views: 2509
Re: Issue Loading DirectX (.x) File
For static models I use dae nowadays as I kept getting texture problems with x from Blender
- Fri Mar 30, 2018 7:59 pm
- Forum: Beginners Help
- Topic: irr::core::map examples
- Replies: 2
- Views: 564
Re: irr::core::map examples
Ahhh, cool... Using because wanted in another element, the original code uses STL. Think I got it compile-wise but somehow polluted IAttributes... (this other thing started off in io:: and then got shifted to gui::, but then again I based this on IAttributes, so who knows where the pollutant is comi...
- Fri Mar 30, 2018 3:46 pm
- Forum: Beginners Help
- Topic: irr::core::map examples
- Replies: 2
- Views: 564
irr::core::map examples
I'm doing some map examples but am struggling to fully delete, valgrind always says there is an item left behind... valgrind --leak-check=full --show-reachable=no --track-origins=yes ./play void map_test_01() { irr::core::map<s32, stringc*> items; // ADD ITEMS stringc *so ...
- Fri Mar 30, 2018 3:43 pm
- Forum: Beginners Help
- Topic: irr::core::array examples
- Replies: 0
- Views: 2225
irr::core::array examples
Just brushing up on my Irrlicht internals with these array examples. Any suggestions about which to use or not, other ways, etc, please shout! class ArrayTest { private: core::array<stringc*> points; public: ArrayTest() { } ~ArrayTest() { clear(); } ...
- Fri Mar 30, 2018 3:30 pm
- Forum: Beginners Help
- Topic: iOS - TouchInput.ID
- Replies: 5
- Views: 784
Re: iOS - TouchInput.ID
Since its been here a few days... I've not ported to IPhone yet, but on Android I use the following to gather all events for later use. I was wondering if you're getting an errant signal and if checking the touchinput event may filter the issue (maybe not since in IEventReceiver.h there are no more ...
- Fri Mar 30, 2018 3:11 pm
- Forum: Beginners Help
- Topic: Issue Loading DirectX (.x) File
- Replies: 18
- Views: 2509
Re: Issue Loading DirectX (.x) File
Oh, maybe also in Blender, try using Ctrl-A to apply transforms???
- Fri Mar 30, 2018 3:10 pm
- Forum: Beginners Help
- Topic: Issue Loading DirectX (.x) File
- Replies: 18
- Views: 2509
Re: Issue Loading DirectX (.x) File
What does it look like when setting the material to wireframe in Irrlicht? If its all there then it maybe your normals... In Blender, sometimes just resetting all normals (Ctrl-N) isn't enough, because of bizarre geometry (maybe non-manifold???), so you need to turn normals on in a viewport from the...
- Wed Mar 28, 2018 2:39 pm
- Forum: Beginners Help
- Topic: Mouse events blocked by button event
- Replies: 9
- Views: 1010
Re: Mouse events blocked by button event
Mmmm, invisible panels do sound fussy and extra processing for limited usage, and that's the beauty of Irrlicht, it handles the essentials, fast... and on that note, did I mention I'm dyslexic++ and generally too mashed to know my own name :D I have recently taught myself svn, but not really got int...
- Tue Mar 27, 2018 10:00 pm
- Forum: Beginners Help
- Topic: Mouse events blocked by button event
- Replies: 9
- Views: 1010
Re: Mouse events blocked by button event
Not tried yet but maybe EGET_ELEMENT_FOCUSED would be triggered?
- Tue Mar 27, 2018 9:48 pm
- Forum: Beginners Help
- Topic: Mouse events blocked by button event
- Replies: 9
- Views: 1010
Re: Mouse events blocked by button event
Think it'd need an EGET_BUTTON_DOWN event too!?
- Tue Mar 27, 2018 9:40 pm
- Forum: Beginners Help
- Topic: Mouse events blocked by button event
- Replies: 9
- Views: 1010
Re: Mouse events blocked by button event
Oh, some usage: // BUTTON LIST // ========================================================= //IGUIButtonList btnlist = env->addButtonList(L"0", core::rect<s32>(30,100,400,100+100), true, 0, 514); IAttributes *attr; attr = nub->new_attr(); a...