Hi,
I just couldn't compile tinyXML for the new dot scene loader. My locale is BIG5.
Sorry, it might be off-topic here. The tinyXML error was something like "The encoding system will be converted to UNICODE and contents will not be saved"
Is there a pre-compiled tinyXML package? can't find it on the net (x86 and x64), just the source code.
BTW, the new dot scene loader also doesn't have a precompiled package, any ideas?
Thanks
Jack
TinyXML and new dot scene loader problem
-
- Gremlin
- Posts: 156
- Joined: Tue Sep 18, 2012 3:43 am
-
- Gremlin
- Posts: 156
- Joined: Tue Sep 18, 2012 3:43 am
Re: TinyXML and new dot scene loader problem
Finally fixed everything.
But I can't seem to find a appropriate example for operating the new dot scene loader
Do I just do this
DotSceneLoader loader(...)
loader->parseDotScene();
How do I render this scene after the scene is loader, do I just use the mSceneMgr?
Thanks
Jack
But I can't seem to find a appropriate example for operating the new dot scene loader
Do I just do this
DotSceneLoader loader(...)
loader->parseDotScene();
How do I render this scene after the scene is loader, do I just use the mSceneMgr?
Thanks
Jack
-
- Gremlin
- Posts: 156
- Joined: Tue Sep 18, 2012 3:43 am
Re: TinyXML and new dot scene loader problem
One further question, when I export the scene using OGREMaxscene exporter, there is one .scene file generated, and many other scattered .mesh files.
How do I compile everything into one .scene file?
Thanks
Jack
How do I compile everything into one .scene file?
Thanks
Jack
-
- Gremlin
- Posts: 156
- Joined: Tue Sep 18, 2012 3:43 am
Re: TinyXML and new dot scene loader problem
It happens when I open the viewer. Here comes the log.
Thanks
Jack
Update:
I noticed that I need to change the resources_d.cfg, but which one should I change?
thanks
Jack
Thanks
Jack
Code: Select all
17:25:58: Mesh: Loading Ground.mesh.
17:25:58: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ground.mesh in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 756)
17:25:59: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource D:\Garfield\Documents\3dsMax\export\Warehouse\Warehouse.scene.lua in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 756)
I noticed that I need to change the resources_d.cfg, but which one should I change?
thanks
Jack
-
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Re: TinyXML and new dot scene loader problem
What do you mean which one ? Change the one you're loading in your program.
If you meant which line - you don't need to change anything, you (probably) need to add a line in this format:
Where <path> is the path (preferably relative) to the directory which contains the exported resources.
If you meant which line - you don't need to change anything, you (probably) need to add a line in this format:
Code: Select all
FileSystem = "<path>"
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
- Gremlin
- Posts: 156
- Joined: Tue Sep 18, 2012 3:43 am
Re: TinyXML and new dot scene loader problem

quite hariy
BTW, I've added the path of the model to the SDK resource_d.cfg.