Search found 13 matches

by doctorzeus
Thu Sep 11, 2014 4:22 pm
Forum: Advanced Help
Topic: Free Textures From Memory on Runtime?
Replies: 1
Views: 598

Re: Free Textures From Memory on Runtime?

OK in answer to my own question ;P , clearing the scene does not remove the textures from the memory. My Solution was to call "removeAllTextures()" before loading the scene, but as stated you need to make sure that no pointers are then pointing to nothing which I am after by simply clearin...
by doctorzeus
Thu Sep 11, 2014 3:53 pm
Forum: Advanced Help
Topic: Free Textures From Memory on Runtime?
Replies: 1
Views: 598

Free Textures From Memory on Runtime?

Hello, I am trying to optimize my code a bit, as currently I start with X amount of memory used my irrlicht when it starts. However when I then want to load a new scene (I call clear() with the scenemanager every time before I load a new scene) and then load back to the previous scene, it seems to s...
by doctorzeus
Thu Sep 11, 2014 3:44 pm
Forum: Beginners Help
Topic: How To Get Irrlicht List Item
Replies: 2
Views: 614

Re: How To Get Irrlicht List Item

Did not compile, so might contain typos:   const core::list<ISceneNodeAnimator *>& myAnimators = sceneNode->getAnimators ();   // only the first if (!myAnimators.empty())     ISceneNodeAnimator * animator = *myAnimators.begin ();   // All of them for (const core::list<ISceneNodeAnimator *>::Ite...
by doctorzeus
Mon Sep 01, 2014 12:52 pm
Forum: Beginners Help
Topic: How To Get Irrlicht List Item
Replies: 2
Views: 614

How To Get Irrlicht List Item

Ok stupid question,

But how would I access the first item of an irr::core::list?

More specifically there is one ISceneNode animator which has been added to a scene node and I want to get a pointer to it?

Many Thanks

DoctorZeus
by doctorzeus
Sun Aug 17, 2014 11:17 am
Forum: Advanced Help
Topic: GUI Animations
Replies: 5
Views: 989

Re: GUI Animations

kklouzal wrote:You may want to take a look into GWEN, it is a very clean gui and supports animations.
Will Do Thanks! :)
by doctorzeus
Sun Aug 17, 2014 11:17 am
Forum: Advanced Help
Topic: GUI Animations
Replies: 5
Views: 989

Re: GUI Animations

CuteAlien wrote:No support for that so far, you would have to code that yourself.
Ok thanks for the reply, I thought so but just wanted to confirm..
by doctorzeus
Sat Aug 16, 2014 2:25 pm
Forum: Advanced Help
Topic: GUI Animations
Replies: 5
Views: 989

GUI Animations

Hello,

I know it might be a long shot here, but is it possible to create irrlicht gui open/close animations?

For example when a window opens it expands from the bottom of the screen kinda like the animations that you see in Windows Aero?

Many Thanks

DoctorZeus
by doctorzeus
Sun Jul 13, 2014 9:17 am
Forum: Beginners Help
Topic: Set Cursor Position on Editbox still not possible?
Replies: 5
Views: 603

Re: Set Cursor Position on Editbox still not possible?

Ok well I sucessfully edited the code with this feature, although a fairly simple implementation there is a way of doing it on the thread, however here is a re-post for anyone looking at this later (all credit for this code to Acki from this http://irrlicht.sourceforge.net/forum//viewtopic.php?p=156...
by doctorzeus
Fri Jul 11, 2014 11:15 pm
Forum: Beginners Help
Topic: Set Cursor Position on Editbox still not possible?
Replies: 5
Views: 603

Re: Set Cursor Position on Editbox still not possible?

Sorry, not possible. Corresponding feature-wish thread is here: http://sourceforge.net/p/irrlicht/feature-requests/116/ But depending on the situation you can work around and send keyboard-events to the editbox. IrrEdit is a proprietary scene editor from the original Irrlicht programmer. Or maybe y...
by doctorzeus
Fri Jul 11, 2014 2:44 pm
Forum: Beginners Help
Topic: Set Cursor Position on Editbox still not possible?
Replies: 5
Views: 603

Re: Set Cursor Position on Editbox still not possible?

Also I saw via the thread that apparently this was possible via a project IrrExt which extended irrlicht.

However their last update was on 2013-04-02 and there are no files in the sourceforge folders so assuming it is dead or moved..?
by doctorzeus
Fri Jul 11, 2014 2:33 pm
Forum: Beginners Help
Topic: Set Cursor Position on Editbox still not possible?
Replies: 5
Views: 603

Set Cursor Position on Editbox still not possible?

Hello, As you can probubly guess from the thread title I am wondering if it is possible to set the position of the cursor in the editbox without editing the source and compiling it or extending the class (which I am now having a go at)? I saw this thread (http://irrlicht.sourceforge.net/forum//viewt...
by doctorzeus
Sat Jun 14, 2014 8:47 pm
Forum: Beginners Help
Topic: How To Get Custom XML Data
Replies: 4
Views: 826

Re: How To Get Custom XML Data

You seem to obviously be a lot further along with this then me! Yes that sounds about right, I was going to either do it the way you suggested or just reference the node as a pointer through some other class that handles the scripts or some such. Thanks for the advice, I will post anything useful th...
by doctorzeus
Fri Jun 13, 2014 4:17 pm
Forum: Beginners Help
Topic: How To Get Custom XML Data
Replies: 4
Views: 826

How To Get Custom XML Data

Hello, I have a irrlicht xml scene file where I have added my own section, however I can't seem to find a tutorial or anything of how to access this parts when the scene node is loaded. Can someone please tell me how to do this or direct me to a tutorial that has this enclosed? Here is an example of...