Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Foreground Map Layer

Score + 1249
October 07 (10 years ago)

Edited August 09 (7 years ago)
Similar to the Background Map Layer, I'd like to have a Foreground layer. It's not click-able by the players, but it rests on top of the token layer. It would allow us to place fog textures on top of the tokens, without interfering with the players ability to play (or the GMs ability to click on tokens). Either use transparency with .png files, or maybe have an adjustable opacity setting for the Foreground layer.
So the layer order would be from bottom to top:
  1. Background Layer
  2. Token Layer
  3. Foreground Layer
  4. GM Layer
EDIT (2.5 years later):

Thank you to everyone for all your support for this suggestion!  The Roll20 Dev team actually addressed this suggestion, as well as most of the other highest voted suggestions in their roundtable stream last March.  The TL;DR from the video is essentially that they really really want to do this, but it's going to require a complete rewrite of the tabletop system, so don't expect it soon.  But they really want to do it, so rest assured.

https://youtu.be/cRrxsfMYCW8?t=9m22
October 08 (10 years ago)
Or even better, would it be possible to let us create custom layers and order them? Sort of like Photoshop, and we could give each layer certain characteristics, like "player visible/invisible" and "interactive/non-interactive" etc.
October 08 (10 years ago)
That would be the logical next step, but I'm trying to ask for a simple feature (at first). :D
October 09 (10 years ago)

Edited October 09 (10 years ago)
Spyke
KS Backer
It would also enable things like trees or rooves - suitably transparent - to appear above the tokens.

And games where the GM needs to use something like a ruler or a turning key would be made simpler. The players could see the item, it would appear above the tokens, but trying to select it wouldn't accidentally select the underlying tokens.

It could also be used for a custom fog of war, where complex pieces could be set in advance and removed as required.

Or it could be used to cast the whole playing surface with a particular mood colour, to give it a red tinge for fire or sunset, or to darken it for night.

Or how about using it for cutouts, such as an old TV, where the playing surface takes place 'inside' on the screen?
October 12 (10 years ago)
vÍnce
Pro
Sheet Author
The more layers the better. Love to see a transparency slider on a foreground layer. Anyone that has played around with a graphics editing program, Gimp, Photoshop, Paintshop Pro, etc. understands the power of layers. +1
I agree, one or two more layers is all I really find myself hurting for, though I can see lag issues should -to- many layers be added.
October 24 (10 years ago)
I would really love this.
October 25 (10 years ago)
Cyberspark
Sheet Author
I'd like to add to this a conditional opacity on the foreground layer. For instance you see a building's roof from the outside, but when you go inside you can see inside the building.
November 07 (10 years ago)
Kevin B.
Marketplace Creator
Would really add more depth to the games. Literally.
November 11 (10 years ago)
I could see all kinds of creative maps with this. People on tops of buildings and walkways, raining down death on enemies below. Combined with dynamic lighting, you could get some really cool effects.
November 14 (10 years ago)
vÍnce
Pro
Sheet Author
Might be cool if a foreground layer was used to show the tops of objects that would normally be blocked when used with Line of Sight. I could have picked a more "top-down" map for this, but something to this effect.
November 19 (10 years ago)
I'm liking the idea of a foreground layer that's akin to the map layer in that it's un-selectable, but over the tokens. (fog, overhangs.. etc)
I lIke the idea of being able to see what kind of obstacle is obstructing your line of sight. Like for a column for example it would be nice if you can see the actual column but not behind.
November 20 (10 years ago)
vÍnce
Pro
Sheet Author
Another example of how this might be useful. The deck of ship is the Foreground Layer, set to 60% opacity.
The hull of the ship is on the map layer.



November 21 (10 years ago)

Edited November 21 (10 years ago)
Hmm Foreground with an opacity slider is a good idea, though even without it I can still use an image manipulator to do that.
November 22 (10 years ago)
If we want to get really crazy, add parallax effects to the layers for 3d effects.
November 22 (10 years ago)
vÍnce
Pro
Sheet Author

Ken L. said:

Hmm Foreground with an opacity slider is a good idea, though even without it I can still use an image manipulator to do that.

You can use an external graphics editor to get the "look", that's what I did with the ship image above, however, without a Foreground layer you still have the issue of placing your semi-opaque token/map/image on top of your player's tokens. We get a nice visual effect with this method, but trying to manipulate the underlying tokens becomes very difficult. Solution, add a Foreground layer.
November 24 (10 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter

Vince said:

Might be cool if a foreground layer was used to show the tops of objects that would normally be blocked when used with Line of Sight. I could have picked a more "top-down" map for this, but something to this effect.

This.

So much could be done with just this.
  1. Background Layer
  2. Token Layer
  3. Walls Layer (Dynamic lighting)
  4. Foreground Layer (now you can do "shadowy areas" using a 50% opacity copy of the map layer. )
  5. GM Layer

Its really just second GM layer visible to the players.
November 25 (10 years ago)
Really nice suggestion - the application for trees alone would make it invaluable, but you could apply it to overhanging rocks, clouds, birds, canopies, clothes-lines strung across a street between buildings, partial roofing, prison cage shadows, underwater surface refraction etc.

You could even extend it further and have two foreground layers to allow you to have a tree < tree shadow < map setup.

It opens up things from a content-creation aspect, allowing the marketplace to offer more interesting products :)

It also could play nicely with global illumination by allowing all-over lighting, but with some stark noon-day shadows (which tokens would be darkened by, instead of just the background, so they can look realistically as though they are being shaded from the light).

The only downside could be that each additional layer starts to eat up system resources: they probably would need to default to non-rendering unless they have content inside them. That way if you have low-end systems being used, you could opt out of using them entirely.

November 25 (10 years ago)
Great suggestion. Would love to see it happen.
December 02 (10 years ago)
I like this idea as well. Perhaps there could also be an option to hide or fade the foreground layer when you're moving your token.
December 02 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter

Vince said:

Might be cool if a foreground layer was used to show the tops of objects that would normally be blocked when used with Line of Sight. I could have picked a more "top-down" map for this, but something to this effect.

It occurs to me that you could get almost this same effect by having lines that only block sight in one direction. A circle that only blocked sight from the inside out would let you see into the interior of the circle, but not past it. That would be a more general solution, and applicable for other use cases. You'd certainly want to be able to specify that it blocks in the opposite direction (or not at all), or your players would all get trapped in trees and shrubs. =D
December 02 (10 years ago)

Edited December 02 (10 years ago)

The Aaron said:

Vince said:

Might be cool if a foreground layer was used to show the tops of objects that would normally be blocked when used with Line of Sight. I could have picked a more "top-down" map for this, but something to this effect.


It occurs to me that you could get almost this same effect by having lines that only block sight in one direction. A circle that only blocked sight from the inside out would let you see into the interior of the circle, but not past it. That would be a more general solution, and applicable for other use cases. You'd certainly want to be able to specify that it blocks in the opposite direction (or not at all), or your players would all get trapped in trees and shrubs. =D

One sided vision blocking is easy when it's a single line, for curved and complex polygons (including non-polygonal + intersections) it gets... confusing at times when you think computationally to try to resolve what is 'intended'. Unless the user needs to specify for each and every edge which would be painful.
December 02 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
It becomes a UI problem certainly. I think it can be done well without being confusing. Currently selected lines on the Dynamic lighting layer could have little arrows indicating directions they allow travel of light and markers, and those could be toggled between the 4 possible states (block both, block side A, block Side B, block none). That could be done for both light and movement (the color of the arrows could be different).

As for computational complexity, that's a matter for speculation. It is definitely possible. *shrug*
December 03 (10 years ago)
+1 -- This is a feature I would love to have, not only for terrain but also for certain building structures (from large things like rooftops to small things like tunnels or archways).
December 06 (10 years ago)
vÍnce
Pro
Sheet Author
I wonder if it could be possible to also move player tokens to a Foreground layer as well? This could help distinguish differences in elevation between tokens when looking down, or depth of field perception for a "sideview" depiction...
December 09 (10 years ago)
vÍnce
Pro
Sheet Author
Foreground layer has reached centennial! Maybe we can get a Dev comment? :-)

Tom said:

Or even better, would it be possible to let us create custom layers and order them? Sort of like Photoshop, and we could give each layer certain characteristics, like "player visible/invisible" and "interactive/non-interactive" etc.

We can dream can't we :D If a feature like that ended up existing I can just image how much easier some of the API scripting can get with the ability to have your own custom amount of layers with custom properties. I wonder if in such properties you can go as far such as with tokens and make a layer visible to only a set group of players or a single player rather than just Dms or players. I could just imagine a custom layer for all users that have true sight that would see the true version of all the tokens on the token layer while the other players see the normal ones on the layer below.
December 12 (10 years ago)

Edited December 12 (10 years ago)
Congratz everyone, we're now not only the Highest Voted Suggestion-without-a-dev-response, we're also nearly 30 votes higher than the second highest Suggestion-without-a-dev-response (barring "Custom Status Icons" since it's been set as "Long-Term").

Let's push to have at least 172 votes, that way we'll be at the top of the list!
December 14 (10 years ago)
Antti V.
KS Backer
Oooh this! I just made a similar suggestion (as a sidenote along with some other ones), since I didn't see this one before. Sorry :)
But yes, you've got my vote. Exactly what I wanted. +1
December 18 (10 years ago)
Oh? I've been wanting this one for awhile! +1 indeed!
December 18 (10 years ago)
Pat S.
Forum Champion
Sheet Author

Vince said:

Foreground layer has reached centennial! Maybe we can get a Dev comment? :-)

You had my +1 from the get go. Devs don't usually comment in the suggestion forum. Just not their way (personal observation on that, nothing official). They do read the forum.

This thread and all the others are here because they want to hear the community's voice on what they want so keep your votes going and be vocal in your comments (nice, polite, and civil like) for that tells them more then a simple +1.
December 18 (10 years ago)
Thanks for the support Pat! a Mod Response is better than nothing ;)

Realistically speaking, I suspect a feature like this would probably be considered long term. Adding more and more independent layers on top of and below the dynamic lighting would probably directly contribute to client side lag, since there would be even more things to load.
December 18 (10 years ago)
Pat S.
Forum Champion
Sheet Author
That is probably correct but that is an assumption on my part as I'm not a coder.
December 19 (10 years ago)
vÍnce
Pro
Sheet Author
Thanks for posting Pat. I guess I was looking for Riley's "Dev Response" tag on the thread. ;-) Threads without one just seem inferior.
December 19 (10 years ago)
Pat S.
Forum Champion
Sheet Author
Alot of the ones that have dev's responses on them are ones that Riley or another dev copied from the old suggestion forum when the voting was implemented. There might be a few that has an actual dev response in them but those are generally rare.
December 19 (10 years ago)
Foxt
Pro
I'd love to see this so I could have hanging chandeliers players walk under in buildings, or trees for them to walk under in forests, etc. It could really add a lot of cinematic depth to maps without much work involved. Just maybe have a light blurring or opacity slider so that the objects could be transparent or out of focus.
December 22 (10 years ago)
I have to wonder if you could extend this idea to allow for animated gifs to try weather effects :P
December 22 (10 years ago)
vÍnce
Pro
Sheet Author
API script that moves tokens of clouds across the sky.
December 22 (10 years ago)
Would be more efficient to move a single transparent image on a foreground layer.
December 22 (10 years ago)
vÍnce
Pro
Sheet Author

HoneyBadger said:

Would be more efficient to move a single transparent image on a foreground layer.
Certainly. Animated gifs were mentioned which currently aren't supported on roll20, so I was just thinking of an option that could work a foreground layer. Clouds, a fog bank, rain, a swarm, smoke, etc., are a few things that might benefit from a foreground and perhaps a little API token movement thrown in.

December 30 (10 years ago)
This is such a great idea that I imagine the only reason we don't have it yet is technical. The system in use can already bog a bit on slower/older networks/computers, so I'm sure the devs have to watch added graphical features pretty closely.
That said, heck yeah this would be sweet!
January 02 (10 years ago)
+1
January 05 (10 years ago)
Yes. Layer control would be great! Photoshop or Gimp layer functionality would be a great boon to developing and organizing maps, content and tokens.

+1

Thanks.
Jake
January 20 (10 years ago)
This is really great!
January 26 (10 years ago)

Edited January 26 (10 years ago)
Russ H.
Marketplace Creator

Jakob M. said:

Yes. Layer control would be great! Photoshop or Gimp layer functionality would be a great boon to developing and organizing maps, content and tokens.

+1

Thanks.
Jake

Agreed with initial suggestion and the further expansion of the suggestion if possible later. +1
January 27 (10 years ago)
This would be a really cool idea... especially for the addition of weather and fog effects to add just that extra touch of realism to the outdoor maps.
January 31 (10 years ago)
I was going to post a suggestion to be able to add custom layers(order them kinda as sub-layers, like under background layer you'd have your own multiple layers for easy selection). Fortunately I did a search first. Please! More layers!
February 01 (10 years ago)

Edited February 02 (10 years ago)
DXWarlock
Sheet Author
API Scripter
If custom layers would be too much trouble, and cause performance issues they would have to deal with explaining when people went layer crazy, Id be perfectly content with a 'map' like layer but on top of everything.
A place to put trees, fog, etc. over everything else that tokens can move under. Putting it on map layer looks weird when people move on top of it, putting it on tokens layer makes it so I have to move it constantly to select people/mobs under it.
Maybe make it like GM layers is to GM for transparency, but everyone can see it. 1/2 transparent, so say you have a tree, they can see the tree, but can surely tell they are under it and see their token to grab it to avoid the problem of people loosing tokens under things:

And use it for walls for dynamic lighting. Like vince's example.

For me at least that one extra 'over everything' layer would solve 95% of my issues of "Just imagine you are under that" or "no no that weird shadow black void is a pillar in the room".
February 02 (10 years ago)

William R. said:

For me at least that one extra 'over everything' layer would solve 95% of my issues of "Just image you are under that" or "no no that weird shadow black void is a pillar in the room".

Exactly, that is my original suggestion. Obviously "Photoshop" like layering would be awesome, but considering all the server load issues we're having lately anyway, adding in all these numerous layers and layer effects would slow everyone down to a crawl.

Just a single Foreground layer, it doesn't even need to have an opacity slider. You can very easily create .PNG assets with alpha channels, we already have that support. Then you can create multiple levels of opacity within the same layer.
February 02 (10 years ago)

Edited February 02 (10 years ago)
DXWarlock
Sheet Author
API Scripter
True, Id be happy with it normal everyday foreground layer too. :)
The opacity suggestion was more for those that are doing good to know what a png vs jpg is, or how to edit them. more a would be nice vs a must have for me.