Horde3D
http://horde3d.org/forums/

Loading resources
http://horde3d.org/forums/viewtopic.php?f=2&t=1732
Page 1 of 1

Author:  MaybeitSimple [ 15.10.2012, 14:21 ]
Post subject:  Loading resources

How best to implement loading a large amount of resources (eg 200-300 models)?
I don`t want to write the whole list in the source code. :(
(I have an idea, but I think she is too "ugly")

Sorry for my bad English, it is not my native language.

Author:  Volker [ 15.10.2012, 21:37 ]
Post subject:  Re: Loading resources

Add the models to an XML file and load this file in your source code.

Or if the resource file names have some kind of uniform naming schemata use a loop and dynamically create the resource file names.

Or put them all into one folder and iterate over the directory content.

Author:  MaybeitSimple [ 17.10.2012, 09:22 ]
Post subject:  Re: Loading resources

Thanks Volker! :D
...use a loop and dynamically create the resource file names.
In fact, I thought exactly about it, but I wanted to get professional advice. :)

Sorry for my bad English, it is not my native language.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/