Keeping the previous load zone in sight
Keeping the previous load zone in sight
Hello all I'm not sure if this is the right area to post this but you know when a character moves from one loading zone to the next when you look back you can still see the previous load zone...How would you do this using Irrlicht? Is this even Posible?
DayStar
Don't unload the previous zone until it is out of view and the character is some distance away (at least so far away that you can reload it before it would need to come back into view). This discussion is not really Irrlicht specific as Irrlicht doesn't support paging and dynamic loading of zones based on character position. That would all be logic that is specific to your application.
Travis
Travis
The short answer is yes.
However, there is a lot of ambiguity in what you are asking. A "loading zone" is something that you code and develop on your own, which is outside of what Irrlicht is conerned with. I believe that you want different "areas to load" in your game, but you still want to render all your art within the camera's view distance. This is certainly possible. However, before I go into more detail, I suggest you give your own question some more detail.
edit: beaten by Vitek
However, there is a lot of ambiguity in what you are asking. A "loading zone" is something that you code and develop on your own, which is outside of what Irrlicht is conerned with. I believe that you want different "areas to load" in your game, but you still want to render all your art within the camera's view distance. This is certainly possible. However, before I go into more detail, I suggest you give your own question some more detail.
edit: beaten by Vitek
You're asking if you can see something that's not there? Hey hey, if a tree falls in the woods and theres nobody around, what sound does it make?
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Can we come back to this question next year? Looks pretty mysterious at the moment. Why would Daystar go that way is simply way beyond me.Daystar wrote:Yea I understand that u can't use irrlicht to do that, I was just wondering if it was a way for me to do it without having to keep the previous map on screen/
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
You could keep 3 zones in memory at once, i.e. the one that your actor is in, plus the two on either side.
Alternatively, have zones that overlap slightly and duplicate the transition regions in each adjacent zone. You can design your levels to hide the limited extent of each zone. If your game is set in an interior environment, do the transitions (for example) in a winding hallway where your view is limited. You can see this design in (e.g.) Half Life and (very obviously) in Deus Ex.
If you want smoother transitions, as in GTA: San Andreas, then you're going to have to implement streaming loading and LOD switching, which requires heavy magic.
Alternatively, have zones that overlap slightly and duplicate the transition regions in each adjacent zone. You can design your levels to hide the limited extent of each zone. If your game is set in an interior environment, do the transitions (for example) in a winding hallway where your view is limited. You can see this design in (e.g.) Half Life and (very obviously) in Deus Ex.
If you want smoother transitions, as in GTA: San Andreas, then you're going to have to implement streaming loading and LOD switching, which requires heavy magic.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way