Unable to open scene file: ../../

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Fox
Posts: 14
Joined: Sun Nov 23, 2008 5:59 am
Location: Okinawa, Japan

Unable to open scene file: ../../

Post by Fox »

Unable to open scene file: ../../3dmax/export/middle.3ds
The program '[1216] 3d project.exe: Native' has exited with code 0 (0x0).


This is error i get when i try to load my scene from 3d max- i did load it into Irr-EDIT then saved it as a irr-file. I do not know what i need to do in order to reslove this problem..please help me.

Code: Select all

#include <irrlicht.h>
#include <iostream>

using namespace irr;


#ifdef _MSC_VER
#pragma comment(lib, "Irrlicht.lib")
#endif

int main()
{
       

        video::E_DRIVER_TYPE driverType;

        printf("Please select the driver you want for this example:\n"\
                " (a) Direct3D 9.0c\n (b) Direct3D 8.1\n (c) OpenGL 1.5\n"\
                " (d) Software Renderer\n (e) Burning's Software Renderer\n"\
                " (f) NullDevice\n (otherKey) exit\n\n");

        char i;
        std::cin >> i

        ;switch(i)
{
                case 'a': driverType = video::EDT_DIRECT3D9;break;
                case 'b': driverType = video::EDT_DIRECT3D8;break;
                case 'c': driverType = video::EDT_OPENGL;   break;
                case 'd': driverType = video::EDT_SOFTWARE; break;
                case 'e': driverType = video::EDT_BURNINGSVIDEO;break;
                case 'f': driverType = video::EDT_NULL;     break;
                default: return 1;
        }       

       

        IrrlichtDevice* device =
                createDevice(driverType, core::dimension2d<s32>(640, 480));

        if (device == 0)
                return 1;

        device->setWindowCaption(L"Load .irr file middle.3ds");

        video::IVideoDriver* driver = device->getVideoDriver();
        scene::ISceneManager* smgr = device->getSceneManager();
		

		{
			smgr->loadScene("../../3dmax/export/middle.3ds");


        smgr->addCameraSceneNodeFPS();
		}
    

        int lastFPS = -1;

        while(device->run())
        if (device->isWindowActive())

        {
                driver->beginScene(true, true, video::SColor(0,200,200,200));
                smgr->drawAll();
                driver->endScene();

				int fps = driver->getFPS();
				if (fps!=lastFPS);
				{
                
                
                        core::stringw str = L"Middle east project";
                        str += driver->getName();
                        str += "] FPS:";
                        str += fps;

                        device->setWindowCaption(str.c_str());
                        lastFPS = fps;
                }


		}
        device->drop();

        return 0;


...so sorry for mt english...?

Ryu omineeko,

thanks.

[/code]
Brainsaw
Posts: 1177
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

I had this problem because the working path of the program is set to the Irrlicht directory when creating a "Irrlicht" project in code::blocks. Are you sure your working path is correct?
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Fox
Posts: 14
Joined: Sun Nov 23, 2008 5:59 am
Location: Okinawa, Japan

Post by Fox »

Working path? you mean going to tool's/options/projects and solutions/VC-++ Directories/ ect...? if so then yes, i have the "include" folder, library folder, and the lib of win32 visual studio added.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No, it's a question about the path your app is run from. Just as in your other thread...
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

also .3ds files are not irr scenes !!!

and don't make 2 threads about the same problem, please !!! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, then it might be a different problem here, because it was a .irr file in the other thread...
Fox, do us all a favor and go through the irrlicht tutorials first, will help you many embarassing moments and us much time :wink:
Fox
Posts: 14
Joined: Sun Nov 23, 2008 5:59 am
Location: Okinawa, Japan

Post by Fox »

Sorry...


But i did look at them and read the first 2 but didnt understand how "I" could load my own project...thats why im here...sorry for this...

Ok i re-read the "Quake3Map" in Visual Studio and i understand that in order to load your scene you must put "

Code: Select all

scene::IAnimatedMesh* mesh = smgr->getMesh("20kdm2.bsp");
	scene::ISceneNode* node = 0;
and that it's not really animated it's static geometry. But im wondering if the file has to be a .BSP file? probably a stupid question but it's worth a shot.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Please, do us really the favor to go through *ALL* tutorials. Really. Don't say anything before you did. Really don't.
Fox
Posts: 14
Joined: Sun Nov 23, 2008 5:59 am
Location: Okinawa, Japan

Post by Fox »

Why do you have to say it like that for?


cranky people...

::::TOPIC CLOSED::::
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Now, that's simple. Because I did say it in a friendly ut still easily comprehensable way before. You didn't seem to read my full sentence, though. So I stressed the important parts of the text. Seems like you still didn't understand, but that's not my problem.
Fox
Posts: 14
Joined: Sun Nov 23, 2008 5:59 am
Location: Okinawa, Japan

Post by Fox »

...Oh it's crystal clear. It's funny you avoid the big :::TOPIC CLOSED:: so you can get the last word in. See you fail to realize that nobody can see you nor hear you, so if somebody takes what your saying in a negative way then that's a problem. So next time when some one think's that your being rude just apologize because you don't realize how your putting your word's.

And another thing, people on this forum ask for help, so if you think you can help people DO IT don't give people a hard time, if you know then say something, don't come in here with your nose in the air acting big and bad.


::::TOPIC CLOSED::::

For real this time.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Sorry to say, but the little word under my name makes me closing threads for real. And that's why I also act big and bad, because I am :twisted:
Ok, for real: If you won't read the manual, answers in many forums will be RTFM. We tried to help you very politely, but you just ignored that, you even ignore it now :roll:
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

hybrid, are you unreasonably expecting people to actually put in some work in order to understand things rather than just fixing their problems for them so that they never have to learn anything? You're so mean!
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

::::TOPIC RE-OPENED:::: <LMAO>

here we go: in the left corner the mighty noob "FOX" !!!
and in the right corner the dump comunity represented by the forum admin "HYBRID" !!!

!!! get ready to rumble !!!

:twisted: :twisted: :twisted:

well, seriously, Fox, you're about to get realy good friends here... :lol:
please calm down !!!
and check who gives you advices before offending them, especially users with several thousands posts in the forums do know what they are talking about, so you can trust them and should follow their advices... ;)

btw, if Hybrid wasn't that fast I'd gave you the same advice he did...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Fox
Posts: 14
Joined: Sun Nov 23, 2008 5:59 am
Location: Okinawa, Japan

Post by Fox »

HAHA hilarious. you guys are jokes. Say what you want i don't mind. :lol:
See i like the way you put your wordings Acki. Thank's.

Well the reasons why i said those things is because i was feeling like he was being rude in a way so i was is typing what i thought i mean everyone is entitled to there own opinion so i said it lol.

Once again...sorry for my english...not soo good.
Post Reply