Author Topic: Map detail..  (Read 2295 times)

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Map detail..
« on: February 23, 2007, 12:25:47 pm »
Hello, I was wondering about this, so I thought I'd ask...

Is there a maximum size for a map?
I mean, I would like to make maps that are rather large - they will go far into the distance.

Will performance be hit be large?
I do have fog enabled, and a few over Config flags set.

Does anyone have and tips for me? My environments will be large, but the vertex count will be limited as much as possible in all of my models.
They will generally be outdoor maps.
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11747
    • View Profile
    • http://www.jpct.net
Map detail..
« Reply #1 on: February 23, 2007, 12:46:51 pm »
If you've fog enabled, have set the far clipping plane right after the fog and are using an octree, then the performance won't suffer much, because large parts of the map will be discarded by some simple checks.
If the map gets toooo large, you'll run into accuracy problems with floats, but it has to be really big for this to become an issue.
Are you going full 3D now?

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Map detail..
« Reply #2 on: February 23, 2007, 01:04:59 pm »
Indeed I am:).

I benchmarked it, albeit roughly, and the pure 3d is very much faster than my isometric/3d hybrid.
I was using every optimization I could think of, until I was only drawing ~4 48x24 tiles, and a the 3d models. The fps was only reaching 24fps with volatile images.

It is not important now though. I'm geared towards pure 3d.

Thank you for the tips. I forgot to use octrees :wink:
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG