Crystal Space
Welcome, Guest. Please login or register.
October 23, 2014, 03:00:03 pm

Login with username, password and session length
Search:     Advanced search
9010 Posts in 2044 Topics by 8799 Members
Latest Member: Tahnatta
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Map Subdivisions problem...
« previous next »
Pages: [1] Print
Author Topic: Map Subdivisions problem...  (Read 1475 times)
Gladius_Coldhead
Newbie
*
Posts: 9


View Profile Email
« on: July 17, 2007, 05:38:14 am »

Hi =]

   
I have some doubts about my Map.

I have a big map(like GTA Vice City)...I'll divide in parts, but which is the best way to divide?Using Sectors, Region or Zones?Which the advantage of each one? Which is the best way to load/unload the parts?


Thanks...
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: July 17, 2007, 08:37:31 am »

Hi =]

   
I have some doubts about my Map.

I have a big map(like GTA Vice City)...I'll divide in parts, but which is the best way to divide?Using Sectors, Region or Zones?Which the advantage of each one? Which is the best way to load/unload the parts?


Thanks...


You'll have to divide it using sectors in any case. Regions and zones are different concepts and as such have little to do with geometry in general. A region is just a collection of objects. It is perfectly possible to have a region containing all yellow houses and another region with all green houses even though the houses are mixed in the city. Usually however, regions correspond to places in your world. Most of the times you probably have one or more sectors in a region.

A region is the smallest logical concept that can be unload and loaded. So when you load a region you will load the sectors that are contained in that region. A zone is a collection of regions with the purpose of keeping multiple regions loaded at the same time.

Greetings,
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.591 seconds with 16 queries.