RPTools.net

Discussion and Support

Skip to content

It is currently Thu Dec 14, 2017 12:10 pm 




Forum rules


Posting now open to all registered forum users.



Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

Previous topic | Next topic 

  Print view

Author Message
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Figure token rending order
PostPosted: Wed Sep 27, 2017 6:02 pm 
If I have a Figure token on the Background layer (say, to represent a wall in the background), shouldn't it render BEFORE an Figure tokens on the Token layer?

Was trying to create something so that inside of a building, you see the walls in the background...but outside, you don't see them.

This works fine from the outside...but inside, once I'm against the "wall" (which is a Large Token) and in the top square (of its 4 squares), I get clipping on my NPC token.

Cobblestone on the ground represents the edges of the "room", the wall is the black in the background.

This is good...

Image

This is not so good (see the clipping?)

Image

And you can see that outside of the "room", I'm getting the effect I'm looking for (can't see the walls)...

Image

And finally, here's the wall image itself (red background is transparent)...

Image

Maybe there's a better way to achieve this, certainly open to that. But it seems that things on the Background should render before things on the Token layer.

Thanks!


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7967
Location: Bay Area
 Post subject: Re: Figure token rending order
PostPosted: Wed Sep 27, 2017 6:09 pm 
Can you upload the campaign file. Tokens on the background layer should not cover tokens on the token layer. There may be an exception having to deal with token vbl though and I'd like to see how you have your tokens set up.

_________________
Downloads:


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Re: Figure token rending order
PostPosted: Wed Sep 27, 2017 6:35 pm 
Sure...whats our preferred method for sharing files nowadays here?


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Re: Figure token rending order
PostPosted: Wed Sep 27, 2017 6:40 pm 
Oh, try this...

https://www.dropbox.com/s/ypb0qcgkfkdw8 ... cmpgn?dl=0


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7967
Location: Bay Area
 Post subject: Re: Figure token rending order
PostPosted: Wed Sep 27, 2017 8:49 pm 
Yeah, that's a bug. If the image is dropped on to an iso map as a token, it keeps that z-order even when changed to the background. If you drop it as background image you won't have this problem. Unfortunately, you can't adjust the z-order once it's dropped on the token layer so the image will have to be deleted. I think this only happens for the iso map. Bring to Front, Send to Back doesn't help either.

_________________
Downloads:


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Re: Figure token rending order
PostPosted: Wed Sep 27, 2017 10:05 pm 
Hmmm, I cleared all the walls off the map, then pulled the image onto the background layer...same issue.

You're right about Bring to front/Send to back not helping, but it also doesn't seem to help if you drop it onto the background layer rather than the token layer.

I assume its something about the "Figure" type? Like the z-order doesn't care what layer its on if its a Figure token?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7967
Location: Bay Area
 Post subject: Re: Figure token rending order
PostPosted: Wed Sep 27, 2017 11:19 pm 
Figure tokens should only be on the token layer. I'm not sure of the behavior if on a different layer.

_________________
Downloads:


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Re: Figure token rending order
PostPosted: Thu Sep 28, 2017 10:09 am 
Wait, so if you want an object (Say, a pillar or a chest) to behave like a figure token (that is, allow something to pass behind it), you should be putting that on the token layer? That doesn't make sense, then pretty much all of the assets for an isometric map would go on the Token layer.

AM, is that what you're saying?


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Figure token rending order
PostPosted: Thu Sep 28, 2017 10:26 am 
I haven't messed with ISO but generally MapTool draws all Background objects first, then Object, then Hidden, then Token. But "walking behind" things would require drawing based on z-order across all layers. I could be wrong but I believe what AM is saying is correct.

Isometric isn't the 100% but better than nothing?

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Re: Figure token rending order
PostPosted: Thu Sep 28, 2017 10:59 am 
K, maybe I'm just pushing on stuff in Maptool that it isn't ready for yet...no worries.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon Sep 15, 2008 8:27 am
Posts: 1183
Location: Bristol, UK
 Post subject: Re: Figure token rending order
PostPosted: Mon Oct 02, 2017 8:05 am 
Actually isometric does work on items on other layers, although I stick to just the object layer.

I believe the problem you are experiencing is due to how the iso code works out where the base of the token sits. Your wall token's base extends below the other token. So is considered to be in front.

I have used this extensively for doors but you will have issues with wall sections if they extend over a single square.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Figure token rending order
PostPosted: Tue Oct 03, 2017 8:37 am 
@Jagged, it sounds like we need the "footprint" to be isometric really.

Was that a can of worms? How many story points would you give it? :-)

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Re: Figure token rending order
PostPosted: Tue Oct 03, 2017 1:39 pm 
So maybe this would work the way I'm envisioning it if my wall section was just medium sized (like a door)? I'll fiddle around with it and see if I can get it to play nice. :)


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 601
 Post subject: Re: Figure token rending order
PostPosted: Tue Oct 03, 2017 1:49 pm 
Setting the wall token to Medium actually did the trick. No clipping and it rendered correctly.

Room with 4 walls (DM view).

Image

Then, in Player view, from the inside (the walls at the bottom disappear, because you wouldn't want to see them blocking the floor).

Image

And then, if you're outside the room...

Image

So the only thing that isn't perfect is the fact that the walls don't extend "upwards" as much as I would like...but I don't think there' much that could be done about that and it still works pretty well.

Coolness...


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon Sep 15, 2008 8:27 am
Posts: 1183
Location: Bristol, UK
 Post subject: Re: Figure token rending order
PostPosted: Wed Oct 04, 2017 7:04 am 
xavram wrote:
So the only thing that isn't perfect is the fact that the walls don't extend "upwards" as much as I would like...but I don't think there' much that could be done about that and it still works pretty well.

Coolness...


Figure Tokens can be as high as you like. Visibility is based entirely on the footprint.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman