Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Paging Landscape System  (Read 4860 times)
Shargot
Customers
Community Member
*****
Posts: 166


WWW
« on: July 09, 2008, 06:49:48 AM »

Hi all.
Sorry but i very badly know English. For the MMORPG Davion Online I have written system hierarchical Paging Landscape. The basic sense consists that the world is divided on Pages, each of which is divided on tiles. At transition from one page in another all world is displaced more close to zero coordinates. The system is constructed so, that are loaded into memory and those are displayed only tiles which are on the certain distance from you. Owing to it we do not leave for coordinates more than 10000, and memory is spent very economically.It is the first version of system. It is not completely modified and optimized. But I hope, that it will be useful to you. You can use this source code in commercial and free-of-charge projects. The model of the character belongs to me and cannot be used in other projects.
 The project is almost deprived comments. I ask from you for it a pardon.
Controls:
W - Move;
X - Show Profiler;
Z - WireFrame;
Scroll Mouse - Change Distance to character
Mouse right button - rotate the camera around character.


http://webfile.ru/2077881
« Last Edit: July 09, 2008, 08:24:47 AM by Shargot » Logged

" width="130" height="45" border="0
Shargot
Customers
Community Member
*****
Posts: 166


WWW
« Reply #1 on: July 09, 2008, 06:52:43 AM »

and left shift - speed * 20

right shift - speed * 50
Logged

" width="130" height="45" border="0
Raine
Customers
Community Member
*****
Posts: 1212


« Reply #2 on: July 09, 2008, 07:49:33 AM »

Thanks for sharing, I'll be checking this out asap. Smiley
Logged

Shargot
Customers
Community Member
*****
Posts: 166


WWW
« Reply #3 on: July 09, 2008, 08:34:34 AM »

Some description:
Page = 8192 x 8192
Tile = 1024 x 1024

WorldMap.Zones --- count of pages in world.
I test with 100 x 100 pages and 1000x1000
if we  have 100x100 pages our world is 819200 x 819200, and in memory use 100 mb (one texture to all landscapes and lands have hight precission)

if we  have 1000x1000 pages our world is 8192000 x 8192000, and in memory use 200 mb (one texture to all landscapes and lands have hight precission)

System have 3 threads: Main, Load, unload.



Please if you will bring in system changes that whenever possible spread them here. It can   help to any one ... Because the information on that how to make the boundless world I searched very long and it is very complex for finding.
And video
http://www.youtube.com/watch?v=QfwyAKtQCAk
« Last Edit: July 09, 2008, 09:44:33 AM by Shargot » Logged

" width="130" height="45" border="0
Taneas
Customers
Community Member
*****
Posts: 159


« Reply #4 on: July 11, 2008, 10:05:15 AM »

This is cool Smiley

*cough* vb.net convert *cough*

Smiley
Logged

- Working as Intended -
- FTW Studios Lead Developer -
- www.ftw-studios.com -
Raine
Customers
Community Member
*****
Posts: 1212


« Reply #5 on: July 11, 2008, 02:21:13 PM »

I wonder what happens to physics objects when they are moved suddendly back.
Logged

Shargot
Customers
Community Member
*****
Posts: 166


WWW
« Reply #6 on: July 11, 2008, 02:56:40 PM »

)) too it is interesting to me) but personally I do not use the physics (an extreme measure now) but I think during the moment of displacement it is possible to keep separately all parameters of a physical body and to set them anew after displacement
Logged

" width="130" height="45" border="0
Raine
Customers
Community Member
*****
Posts: 1212


« Reply #7 on: July 11, 2008, 07:35:34 PM »

Hrm... well. That could be a solution. If the forces acting on the physics object are kept, placing them somewhere else shouldn't be a problem. I was trying to figure out how an explosion would work. Perhaps it's a matter of some matrix voodoo.

The video was quite impressive. I did have a pager going on in a test application, but moving stuff back seems interesting; I'll see if I have the time to test it with physics (not likely though Sad )

I'll keep you updated if I find something!
Logged

rootsage
Customers
Community Member
*****
Posts: 444

Gamer Enthusiast


WWW
« Reply #8 on: September 04, 2008, 09:43:10 PM »

Hmm, my Russian is a little rusty Cheesy Can you post the file on a different mirror please?
Logged

while( !( succeed = try_again()) );
------
10 print "Is this recursive?"
20 goto 10
Shargot
Customers
Community Member
*****
Posts: 166


WWW
« Reply #9 on: September 05, 2008, 02:21:11 AM »

yes of coars
http://rapidshare.com/files/142758099/PageLandscape.rar.html
Logged

" width="130" height="45" border="0
rootsage
Customers
Community Member
*****
Posts: 444

Gamer Enthusiast


WWW
« Reply #10 on: September 05, 2008, 02:50:40 AM »


Thank you very much! Cheesy
Logged

while( !( succeed = try_again()) );
------
10 print "Is this recursive?"
20 goto 10
Eric
Customers
Community Member
*****
Posts: 807


« Reply #11 on: September 07, 2008, 12:03:26 AM »

In case anyone else hates rapidshare, here's a mirror.  Hope you don't mind me hosting it.

http://7hq.org/sylvain/PageLandscape.rar
Logged
Aweb
Community Member
*
Posts: 11


« Reply #12 on: October 29, 2011, 03:51:21 PM »

It was very useful to me, so in the event the previous link (thanks a lot to the uploader !) dies, here is a multiupload one : http://www.multiupload.com/5W8IU3K4PK
Logged

C# and VB.Net developper trying to work with TV3D
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks