iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

Alternative map pass the border rendering #81

Closed dany-on-demand closed 9 years ago

dany-on-demand commented 11 years ago

Some map designs may have different desires for what's rendered beyond the map border.

  1. Indestructible enclosed maps will desire nothing rendered beyond the border, since you won't ever see the outsides anyway. Maybe not even indestructible maps, this simply should be an option.
  2. Some maps may want just a skybox rendered.
  3. Other maps may desire some kind of scenery rendered beyond the borders. See the map awp_india for an example of what I mean.
rakiru commented 11 years ago

Maps can be pretty big, so 3 isn't that big of an issue (you can still shoot it). It would be nice to have some sort of skybox though.

dany-on-demand commented 11 years ago

I think 3 would still be nice if we had splatter/billboard rendering of voxels because then it'd be a bit faster. It is however a special case so I don't know. But I imagine it'd possibly be used by mappers even more often than skyboxes because you can't draw a skybox in the pmf editor.

infogulch commented 11 years ago

What about maps that completely wrap around? If designed correctly, auto gen maps can be completely seamless at the edges. If the player code can be adjusted to wrap around seamlessly as well, edges wouldn't even be a thing. Possible?

asiekierka commented 11 years ago

@infogulch - I aleady suggested that to GM. Might be a good idea to mark as an issue.

dany-on-demand commented 11 years ago

Right, maybe we could have vertex shader that would make the whole map a sphere. Imagine like the reverse of that one "Inception" Minecraft mod! Would work awesome especially on big maps! Maybe even allow passing the border?

iamgreaser commented 10 years ago

Digging through the issues list I stumble across this and suddenly end up with an excellent idea.

Perhaps the client could deal with 4 (same-dimension) maps at once, so kinda like this:

A|B --+-- C|D

where D is the map at (0,0) onwards. This pattern would wrap around. You could even set A,B,C to be nil and you won't get the wraparound, or A=B=C=D and you'll get a full wraparound.

asiekierka commented 10 years ago

That is a fantastic idea, iamgreaser. That could ensure full wraparound, horizontal or vertical wraparound only or no wraparound.

iamgreaser commented 9 years ago

Closing mostly for housekeeping reasons. Wraparound is deprecated and typically disabled when possible.