Search found 193 matches

by ibax
Mon Apr 03, 2017 8:13 pm
Forum: Beginners Help
Topic: What is happening when an .irr scene file is loading?
Replies: 18
Views: 2194

Re: What is happening when an .irr scene file is loading?

What I would like to achieve is to refresh the screen with my 'static text', which is loaded when a texture is loaded into memory... Another suggestion was to refresh the screen... But I tried also simply calling the env->drawAll() and smgr->drawAll() functions, withous positive results.... :(
by ibax
Mon Apr 03, 2017 7:06 pm
Forum: Beginners Help
Topic: What is happening when an .irr scene file is loading?
Replies: 18
Views: 2194

Re: What is happening when an .irr scene file is loading?

Unfortuntaly this code is causing error: if ( event.EventType        == EET_LOG_TEXT_EVENT)         {               admin.ExAll_pic_load_counter++;             textLog.writeLogString( "IRRLICHT LOG: " , (char*)event.LogEvent.Text );               char* _text = new char[16];             spr...
by ibax
Mon Apr 03, 2017 2:43 pm
Forum: Beginners Help
Topic: What is happening when an .irr scene file is loading?
Replies: 18
Views: 2194

Re: What is happening when an .irr scene file is loading?

CuteAlien wrote:Yeah. Or for gui it's guienvironment->drawAll(). Also needs driver->beginScene() and endScene().
Thanks for the help. I will try this today...
by ibax
Mon Apr 03, 2017 2:38 pm
Forum: Beginners Help
Topic: What is happening when an .irr scene file is loading?
Replies: 18
Views: 2194

Re: What is happening when an .irr scene file is loading?

Hello,

What does this update rendering mean in practice?
Executing an smgr->drawAll() function call?
by ibax
Sun Apr 02, 2017 9:55 pm
Forum: Beginners Help
Topic: What is happening when an .irr scene file is loading?
Replies: 18
Views: 2194

Re: What is happening when an .irr scene file is loading?

Ok, so you think should this work? When I put the addMessageBox where the log event is written into the text file?! I tried it, but I saw only one number (the sum of loaded textures) after the whole irr file is loaded. Or should I put the env->addStaticText part into the main() part, somewhere here?...
by ibax
Sun Apr 02, 2017 8:30 pm
Forum: Beginners Help
Topic: What is happening when an .irr scene file is loading?
Replies: 18
Views: 2194

Re: What is happening when an .irr scene file is loading?

Hi! Thanks for replies... I was able to catch the texture loading event, and I'm writing it into a textfile. if ( event.EventType        == EET_LOG_TEXT_EVENT)         {               ExAll_pic_load_counter++;             textLog.writeLogString( "IRRLICHT LOG: " , (char*)event.LogEvent.Tex...
by ibax
Sun Apr 02, 2017 7:04 pm
Forum: Beginners Help
Topic: What is happening when an .irr scene file is loading?
Replies: 18
Views: 2194

What is happening when an .irr scene file is loading?

Hi, I'm loading my scene file using the smgr->loadScene("myscenefile.irr"); function. In this case, during the scene loading (approx. 10 seconds), nothing happens, there is no interaction with the user. That is OK, there is nothing to do, interrupt the scene loading, etc... What I would li...
by ibax
Sun Nov 15, 2015 2:16 pm
Forum: Beginners Help
Topic: Allow irrKlang to use my encrypted zip files
Replies: 2
Views: 443

Allow irrKlang to use my encrypted zip files

Hi, I would like to open my encrypted zip file and assign somehow to irrKlang... I can attach it to irrlicht filesystem: device->getFileSystem()->addFileArchive("soundfiles\\soundfiles.zip",true,false,irr::io::EFAT_ZIP,"mypassword"); And there is some IFileFactory solution to all...
by ibax
Sun Sep 27, 2015 7:36 pm
Forum: Beginners Help
Topic: Application protection (Hardware key support)
Replies: 1
Views: 362

Application protection (Hardware key support)

Hello, I'm thinking about a solution, to protect my application with a hardware key (usb dongle). For example: http://www.matrixlock.de/english/index.htm Did anybody try such protection? What are your experiences? What is supported by Irrlicht? OR Can I parse somehow cmd outputs? For example I could...
by ibax
Wed Sep 23, 2015 9:40 pm
Forum: Beginners Help
Topic: My app runs only in Administrator mode
Replies: 0
Views: 670

My app runs only in Administrator mode

Hi, When I'm trying to execute my application, I'm receiving the following error: Problémaesemény neve: BEX   Alkalmazásnév:  ela_house.exe   Alkalmazásverzió:   0.0.0.0   Alkalmazás időbélyegzője: 56030e06   Hiba – modul neve:  MSVCR100.dll   Hiba – modul verziója: 10.0.40219.1   Hiba – modul időbé...
by ibax
Wed Jun 03, 2015 7:14 pm
Forum: Beginners Help
Topic: Save camera position and reload later (save/load)
Replies: 13
Views: 1480

Re: Save camera position and reload later (save/load)

I think this is the relevant code part, but this should work... device->getCursorControl()->setVisible(true); ICameraSceneNode* camera = device->getSceneManager()->getActiveCamera (); if ( camera )     camera->setInputReceiverEnabled ( !camera->isInputReceiverEnabled() ); When I click on the 'F' but...
by ibax
Tue Jun 02, 2015 3:15 pm
Forum: Beginners Help
Topic: Save camera position and reload later (save/load)
Replies: 13
Views: 1480

Re: Save camera position and reload later (save/load)

thanhle wrote:So do you switch between fps camera by first disable fps camera when you show the image, then enable fps camera when you close the image?
Yes...
by ibax
Tue Jun 02, 2015 12:20 pm
Forum: Beginners Help
Topic: Save camera position and reload later (save/load)
Replies: 13
Views: 1480

Re: Save camera position and reload later (save/load)

It looks to me that you saved the coordinate of the mouse when the dialog appear. Then on click on the door icon on the dialog the new mouse position is saved. No, I do nothing with the mouse coordinates. Just simply put an image when clicking the 'F' key, drawing buttons, text, etc. When clicking ...
by ibax
Mon Jun 01, 2015 7:19 pm
Forum: Beginners Help
Topic: Save camera position and reload later (save/load)
Replies: 13
Views: 1480

Re: Save camera position and reload later (save/load)

hi, my problem is a bit different, so I decided to show you a real example... https://youtu.be/cMPfwCuIeeY on the youtube video, you can see, that when I click a specified button (in this case it is 'F'), a message window appears with an object... I close this window by clicking on the top-right 'ma...
by ibax
Wed May 27, 2015 9:08 pm
Forum: Beginners Help
Topic: Save camera position and reload later (save/load)
Replies: 13
Views: 1480

Re: Save camera position and reload later (save/load)

Hi.
I'm just trying to use the easiest way, camera->getTarget and camera->setTarget, because this is the most important for me...
unfortunately does not working :(
isn't it enough?