Search found 14 matches

by elfuz
Sun Jan 23, 2011 11:25 am
Forum: Beginners Help
Topic: globe with LOD and objects on it.
Replies: 2
Views: 329

globe with LOD and objects on it.

Hi All I'm having some issues finding the way to go. I want to have a 3d globe inside a GUI. The globe should have multiple levels of detail. So what i've thought about is dividing the the globe in 32 pieces. then i'd have 32 textures 128*128. 32 textures 256*256. 32 textures 1024*1024. Can i do thi...
by elfuz
Sun Jan 23, 2011 9:29 am
Forum: Advanced Help
Topic: gui customisation
Replies: 8
Views: 876

if you'd really want it for every gui element, you could modify the engine's gui->drawall function. It could for example do element->drawborder and then element->draw.

The drawborder function you'd need to insert in the guielement as well.
by elfuz
Sat Jan 22, 2011 1:27 pm
Forum: Beginners Help
Topic: How to do camera zooming?
Replies: 6
Views: 332

this code should do the trick. I've had a same problem in the past (although not with irrlicht).

Maybe try outputting the zoom variable camFOV to the screen and see at what value it disorts. Put that value as the minvalue and you're set.
by elfuz
Wed Dec 08, 2010 9:28 pm
Forum: Beginners Help
Topic: [SOLVED] 16bit background
Replies: 6
Views: 481

there seems nothing wrong with the code.

could you post a screenshot and the original jpg file so we can have a look?
by elfuz
Tue Nov 30, 2010 11:31 pm
Forum: Beginners Help
Topic: sending commands trough the events
Replies: 3
Views: 540

Also note that OnEvent ( const SEvent & event ) sends a const event parameter so you can't use, say, event.<member> = something to change the event before passing it on to the next event handler. i'm all pretty new to this (i'm originally a pascal programmer) however thanks to this thread i've ...
by elfuz
Mon Nov 29, 2010 9:26 pm
Forum: Beginners Help
Topic: sending commands trough the events
Replies: 3
Views: 540

sending commands trough the events

Hi all as i'm progressing trough the engine's features, i'm looking for a way to send custom commands trough the irrlicht engine. a custom command could for example be: LOADSCENE "test.dat" or "MOVE_MAP_LEFT WORLDMAP". It would be best to use the SUserEvent however as i try to ch...
by elfuz
Fri Nov 26, 2010 12:51 am
Forum: Beginners Help
Topic: GUI elements dynamic cast
Replies: 4
Views: 331

virtual IGUIElement* getElementFromName(stringw _name, bool searchchildren=false) const { IGUIElement* e = 0; core::list<IGUIElement*>::ConstIterator it = Children.begin(); for (; it != Children.end(); ++it) { if ((*it)->getName() == _name) return (*it); if (searchchildren) e = (*it)->getElementFro...
by elfuz
Thu Nov 25, 2010 2:47 pm
Forum: Beginners Help
Topic: GUI elements dynamic cast
Replies: 4
Views: 331

GUI elements dynamic cast

hi all i'm still going with the Irrlicht engine for porting my software. However i'm running into an issue here. as i understand to make new gui objects, the best way is to put cguiimage.cpp and cguiimage.h in the project folder, rename them and name the constructors something else. then for adding ...
by elfuz
Sat Oct 30, 2010 9:09 pm
Forum: Beginners Help
Topic: array delete problem
Replies: 9
Views: 592

hmm that makes sense :-D

thanks, i'll give that a whirl.
by elfuz
Fri Oct 29, 2010 4:54 pm
Forum: Beginners Help
Topic: array delete problem
Replies: 9
Views: 592

VC++ 2010 Express
by elfuz
Thu Oct 28, 2010 8:03 pm
Forum: Beginners Help
Topic: array delete problem
Replies: 9
Views: 592

i've tried everything however the code keeps crashing on me :(

i'm trying to use the debugger, however it points to crt0.c during the crash and i cannot analyze anything from the array (which i can if the crash occurs in one of my source files)

Code: Select all

        return __tmainCRTStartup();
by elfuz
Thu Oct 28, 2010 6:05 pm
Forum: Beginners Help
Topic: array delete problem
Replies: 9
Views: 592

array delete problem

hi all i'm having problem with this block of code. It seems to generate a crash and i cannot seem to find it... for( u32 k = 0; k < items_.size(); k++ ) { printf("%s: %i\n",items_[k]->TexFileName,items_[k]->UsageCount); if (items_[k]->UsageCount == 0) { if (items_[k]->Texture) { items_[k]-...
by elfuz
Thu Oct 14, 2010 11:08 pm
Forum: Beginners Help
Topic: string or stringw, stringc with TinyXML
Replies: 2
Views: 995

string or stringw, stringc with TinyXML

Hi all I've looked all over these forums but i cannot find a clear answer... I'm migrating my project from HGE to IRRLICHT, however what i cannot seem to figure out currently is how to use the strings correctly this is what i used for HGE and string string SceneManager::XMLString(TiXmlElement *XMLNo...
by elfuz
Thu Oct 14, 2010 11:40 am
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 109930

never mind... found the answer already