Jump to content
The Dark Mod Forums

Beyond +/-65k world space ?


Recommended Posts

Hmmm...

"Grid size is 131,072 x 131,072 units x 131,072 (inches) or about 2 x 2 x 2 miles"

https://wiki.thedarkmod.com/index.php?title=Limits,_Max,_Min,_Stats,_etc

This wiki is a little out-of-date since @stgatilov removed the entity limit in 2.10 ...

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

You will run into problems with worldspawn geometry, since the engines are usually working with single-precision floats. You'll not be able to distinguish anymore from planes that are 0.5 units apart (which sounds ok, but for angled intersections and sealing geometry this might not cut it, literally).

(This question really is not so much about the editor, which is working with doubles to store geometry - even though the DR renderer is also operating on single precision floats - this provides a huge performance benefit over doubles).

  • Like 2
Link to comment
Share on other sites

I think the real efficient limit is about 10K.
Beyond that you risk getting physics/collision problems that will not be fixed, unfortunately.

On the other hand, if you want to set some kind of background stuff which does not use physics and is not involved in gameplay, you can try doing that. For example, Swing mission creates swinging background, which is pretty large: larger than 10K. And it works well.

Speaking of skybox, I have no idea why you want to put it that far.
Just find some unoccupied space in the void, create heavily minified version of skybox there, then use the engine skybox feature.

Link to comment
Share on other sites

6 minutes ago, stgatilov said:

Beyond that you risk getting physics/collision problems that will not be fixed, unfortunately.

Nah, it works fine (at least in Storm Engine 2, based off Doom 3 BFG). We did have to fix a bug where player would get stuck in the mesh terrain, but as far as physics go (vehicles for example) - never had any bugs.

7 minutes ago, stgatilov said:

Speaking of skybox, I have no idea why you want to put it that far.

Because my playable area is massive, probably 100k x 100k units. So naturally I want skybox geo (kinda like what they did in RAGE 1) to be outside and away from that area.

Link to comment
Share on other sites

Depending on what it is, a simple logical scale might be the easiest solution.  Make something at 0.125 scale and then scale it 8X to view it properly, possibly beyond the 65K bounds.  The opposite is also true, things can be smaller than tightest grid by simply scaling, you can literally have the size of a human hair, creating it 8X bigger and scaling 0.125, or more. Saves and loads fine.  Exporting is the issue, but it worked for me.

Maybe DR could do with an option to use a higher setting for precision and area with more decimals in the map file.

Link to comment
Share on other sites

I wonder if we are allocating too much of our precision to smaller scales? If we figure out the smallest asset size we might want to account for in polygons ( rings, coins, silverware ) then make anything more than 1.5x smaller merge polys with surrounding geometry or disappear,  we might gain another 3 or 4 bits of precision at the larger scales to grow those larger maps? This would might also solve things like invisible geometry slivers causing map bugs or invisible hair-line leaks. Easier said than done though...

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • The Black Arrow

      Hey @Ansome, are you still around? I think it's been about 3 months since you've had an issue with an SSD, right?
      · 3 replies
    • Sotha

      Brushes: ~1300
      Patches: ~990
      Entities: ~960
      Ambients: Done, EFX: Done, Objectives: Done, Briefing, Done, Location System: Done.
      Going to final polishings before beta.
      · 0 replies
    • Sotha

      WIP mission name confirmed: "The Last Offering"
       
      · 7 replies
    • Sotha

      Today I started writing readables for my WIP mission.
      I wrote my usual text and then crammed it into AI and boom, high quality stuff comes out.
      I used to say that clipper is the mappers best friend, but now it seems it is more like "AI is the mappers best friend."
      · 3 replies
    • The Black Arrow

      Just saw further into 2.13 development, or is it 2.14? Anyway, proper Parallax Mapping...Absolutely fuck yes, please!
      · 2 replies
×
×
  • Create New...