VeTaL Posted April 15, 2010 Share Posted April 15, 2010 It would be really cool if you'd add a function that would load models/terrains in engine format into memory, and then create them in engine in a little time just copying them. This would add very nice for dynamic creation of objects and fast model loading in general. Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Masterxilo Posted April 15, 2010 Share Posted April 15, 2010 http://leadwerks.com/werkspace/index.php?/topic/1681-loadmodel-sound-mesh-texture-from-memory/ Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
VeTaL Posted April 15, 2010 Author Share Posted April 15, 2010 I see it in this way Here is memory while Leadwerks is starting: | Leadwerks DLL | OpenGL, all other stuff | .... Memory while Leadwerks load entities by default: | Leadwerks DLL | OpenGL, all other stuff | Leadwerks objects: entities, first terrain | .... Now game is started, player moved ahead and some additional entities would be needed in the nearest time (not now) | Leadwerks DLL | OpenGL, all other stuff | Leadwerks objects: entities, first terrain | Needed entity, that loading with loader, for example terrain | .... Then, when new object is needed, Leadwerks just copy it to its resources | Leadwerks DLL | OpenGL, all other stuff | Leadwerks objects: entities, first terrain + newly loaded terrain | Loader is waiting | .... Next step is to free unneeded terrain | Leadwerks DLL | OpenGL, all other stuff | Leadwerks objects: entities, newly loaded terrain | Loader is waiting | .... The same thing would be great not only for terrain in RPG, but also in FPS (player comes to first room, and objects from second room is loaded in runtime) and the other games. ---- Masterxilo, didnt see your answer. So, i'm the third Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.