Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi all, i am a new comer so i don't know everything and i have a few questions: How do i load a irr edit file?, do i load it like i load other mesh files or do i need to add more or is it loaded in another way? Lets say i made a car on a terrain in irredit, will i be able to move the car on the terrain in irrlicht without moving the terrain? and English is not my first language so pleas excuse me for any errors, or if you did not understand a question i asked ask me freely. Thanks in advance. |
||||
|
Yes, of course, this is exactly what irrEdit is for. You can access and move all scene nodes freely in irrlicht. |
||||
|
Thanks niko, how do i load the .IRR file into irrlicht i try'd smgr->loadScene("../meshes/myscene.irr"); but it wont load the .IRR file. My folder has the irrlicht c++ folder, than i copy'd the meshes,textures,scenes out of irredit into the irrlicht c++ folder and load the scene into the irrlicht window but it tells me this: I try'd almost everything i could think of but it just wont work . I even try'd the example(example 15) at the irrlicht website but that wont work Can you show me step by step how to load the .irr file into irrlicht cause for some reason this wont work with me :'( |
||||
|
Hm, maybe you just need to change the working directory in your application? You can do this manually or use irr::io::IFileSystem::changeWorkingDirectoryTo (http://irrlicht.sourceforge.net/docu/classirr_1_1io_1_1_i_file_system.html#a3) |
||||
|
Hi all , same this here? Hope I didnt bump to old of a thread. I added a bit of code to an existing example.
my out put show : NVIDIA GeForce FX 5500 nv4_disp.dll 6.14.10.9371 Loaded texture: ../../media/wall.bmp Loaded texture: ../../media/t351sml.jpg Loaded mesh: ../../media/sydney.md2 Loaded texture: ../../media/sydney.bmp Loaded texture: ../../media/irrlichtlogoalpha2.tga It skipped over the load scene like as though it was not there. No errors or any status? Why is that? I tried with and with out the setting of the dir. |
||||
|
Don't change the working directory in your code, do it in irrEdit, it's one of the options. If you change it in your code then it would most likely break when executed on a different computer as they may not have a D drive or the same folder structure as you. |
||||
|
|