Commit 491f5719 authored by cutealien's avatar cutealien

Comment some problems in current .irr loader and offer workarounds.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5082 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 05ae7cf0
...@@ -51,6 +51,13 @@ int main(int argc, char** argv) ...@@ -51,6 +51,13 @@ int main(int argc, char** argv)
*/ */
// load the scene // load the scene
/* You might have to work around some minor problems in current .irr loader:
- It can't load meshes relative to the .irr file, but only relative to the working directory.
So you might have to change your working directory to the path where the .irr file is in.
- When passing a custom parent node to loadScene then irr_scene attributes will be passed to that.
Usually not a problem, but for example AmbientLight will not change that way unless you create a custom
SceneNode type which can interpret those attributes.
*/
if (argc>1) if (argc>1)
smgr->loadScene(argv[1]); smgr->loadScene(argv[1]);
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment