Aller au contenu

Photo

World (level map/interior) metrics?


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Twofortea

Twofortea
  • Members
  • 2 messages
 What are the metric in the editor?

Lets say that I was to create a 1km x 1km map, how many unit is that? The editor refers to "width"/"height"  but is there a way to know how this (roughly) translate in real word metrics?

EDIT : I just realized that the units were in meters.... My question become : What is the maximum size for a map, if we respect the minimal spec of the game?

Modifié par Twofortea, 17 novembre 2009 - 04:08 .


#2
Languard

Languard
  • Members
  • 126 messages
Well the units are in 'meters' so in theory a 1024x1024 map (yes powers of two is best) would get you the desired 1k size. However, I'm not sure what the performance constraints would be on that. Also keep in mind playability. Will the players really appreciate having to spend tons of time running from one side of the map to the other?

And meh, you edited your post while I was on the phone :P

Modifié par Languard, 17 novembre 2009 - 04:20 .


#3
CID-78

CID-78
  • Members
  • 1 124 messages
Also the bigger the map you got the larger polygons you will have. which gives less detail. It's also more likely to have bad performance or in worst case memory crashes.

#4
Sunjammer

Sunjammer
  • Members
  • 925 messages
The maximum size possible is 102.4km x 102.4km but but this would probably be both unusable and unplayable (unless you really know what you're doing and at this point none of us do): this is 32x32 chunks, 32 cells per chunk and 100m per cell!  Each chunk is 3.2km x 3.2km in size!

That said I'm not sure that any of the information in this thread is entirely accurate.  For example I've seen nothing I've seen nothing in the last 11 months to say that powers of two are best: the dimensions depend on the following formula:

Base Mesh Resolution x Mesh Cells Per Chunk x Number of Chunks [axis]

Therefore, using the default resolutions if you select an area that is 5 chunks x 9 chunks you get 160 m x 288m, neither of which is a power of two.  Is that better or worse that a 256m x 512m?  I'm sure I don't know!

Similarly bigger maps don't necessarily mean larger polygons although there is a tipping point when that becomes true: I belive you can get to at least 1024m x 1024m but might be as high as 2048m x 2048m depending on the impact of Mesh Cells Per Chunk. 

Of course that is also before you tessellation into account, so by increasing the tessellation by 2 levels you get the same size of polly but you can make an area 4 times bigger (by increasing the Base Mesh Resolution from 2 to 8).  Since it is unlikely that you would use 5 levels of tessellation in a normal areas, starting at level 3 means you can still go to level 5 all of which gives you an area of 8192m x 8192m!

However one thing is true: the cost in all of this is performance so let's not get carried away.

Modifié par Sunjammer, 17 novembre 2009 - 05:38 .