RPTools.net

Discussion and Support

Skip to content

It is currently Wed Aug 23, 2017 3:10 am 






Reply to topic  [ 10 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Cave Troll
 
Joined: Sat Dec 11, 2010 4:20 am
Posts: 31
 Post subject: The VBL layer
PostPosted: Tue Dec 14, 2010 10:19 am 
When you open de VBL you can't see the "Snap to grid" and also u can't use it but I think it could be useful.

Its imposible to do a circle? (I'm talking to the people who program this) because when you try to make a circle with the tool, you get a geometric shape, that's fine, I'm just curious here.

With the sme tool, when you make click and then you move your mouse you can't see the shape gowing uo, you just wanit and discover what you just did n the second click, I think this should work as the square tool, with the previous form in red.

Also I think that the bottom that I show down should change for other like the oprions that I propouse because, unless for me, it looks like something with curves.

Image

I not good drawing so I show the bottoms of an option like this in paint.

I know that all of this ist not a big deal and it is not urgent, but it came to my mind so I post it.


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Mon Sep 24, 2007 5:10 pm
Posts: 321
Location: Rancagua - Chile
 Post subject: Re: The VBL layer
PostPosted: Tue Dec 14, 2010 10:24 am 
If you keep ctrl pressed while drawing your VBL forms, they will be snap to grid.

Also, the circle tool was changed to a more polygonal shape for performance reasons.

_________________
Armazón de Campaña D&D 4a Edición
Moving tokens between maps


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7805
Location: Bay Area
 Post subject: Re: The VBL layer
PostPosted: Tue Dec 14, 2010 11:34 am 
patoace wrote:
If you keep ctrl pressed while drawing your VBL forms, they will be snap to grid.

Also, the circle tool was changed to a more polygonal shape for performance reasons.

It would be nice if the circle had more detail for the polygon. Perhaps make the number of points based on the radius and the grid size. So, larger circles will create more points.

As is, I usually have to draw the circle myself. I would say take the circumference divided by 2/3 the grid size rounded to the nearest even number.

So, currently there are 10 points and on a 50px grid and circle with a 50px radius seems to look good (doesn't go outside a drawn circle with the texture painter). So, in that default case, the circumference is about 315 and using my formula would make it 10 points. Now with a larger circle, radius 250px that would become 48 points and not reveal other area outside the circle or chop off the circle interior. This will cause the VBL to fall with in a 10px wall. I usually make my walls 1/5 of the grid (1ft).

Pseduo-code:
Code:
defined: gridSize, x-radius, y-radius
circumference = pi * sqrt( 2 * (sqr(x-radius) + sqr(y-radius)))
numPoints = round(circumference / (gridSize * 2 / 3))
if( numPoints/2 != round(numPoints/2)): numPoints = numPoints +1
numPoints = max(10,numPoints)

edit: Perhaps keep the minimum of 10 to maintain the shape.

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Sun Aug 27, 2006 8:19 pm
Posts: 1164
Location: Atlanta
 Post subject: Re: The VBL layer
PostPosted: Tue Dec 14, 2010 1:03 pm 
Every line in VBL adds up and if you do a series of circles for a forest, a hundred 20 sided polygons would kill performance in a hurry. They may be a little unsightly when larger but there is a good reason circles have fewer facets.

Many people tend to use Xs for round shapes as it blocks sight past the object but still lets you see most of it at the same time.

_________________
I cast firecube! ~4E


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Sat Jun 21, 2008 12:07 am
Posts: 1950
 Post subject: Re: The VBL layer
PostPosted: Tue Dec 14, 2010 2:58 pm 
Jector wrote:
Many people tend to use Xs for round shapes as it blocks sight past the object but still lets you see most of it at the same time.
This. Good way to handle buildings, rocks, trees, etc.

_________________
Drop-In Utilities:
My Spell Manager for D&D3.5 and PFRPG
My Inventory Manager for D&D and PFRPG, but more generally useable than that.
My Message Manager -- My Top-Down D&D Token Images
and my Custom Initiative & Status/Spell-Effect Tracker (work in progress, but functional).


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7805
Location: Bay Area
 Post subject: Re: The VBL layer
PostPosted: Tue Dec 14, 2010 4:00 pm 
I agree using an X is better in some circumstances. The little formula I made doesn't change the circle vbl drawing for a 2x2 area or smaller, so unless you had really big tree trunks I don't see that as a negative. I think the goal of my formula is to closely follow a drawn circle that the players can see. Entering a large circular cavern or building requires the vbl to be manually drawn not using the circle tool because the area outside the circle is exposed or the room is cut off. It's not so much about aesthetics, but about revealing too much or too little.

But this is only a wish list item because it's not going to be done for 1.3 anyway. Another wish list item would be an X tool. Just like the box except it draws an X instead.

_________________
Downloads:


Top
 Profile  
 
 Offline
Great Wyrm
 
Joined: Tue May 26, 2009 7:51 pm
Posts: 2060
Location: Philadelphia, PA
 Post subject: Re: The VBL layer
PostPosted: Tue Dec 14, 2010 5:59 pm 
I agree with aliasmask as how do you contend with a circular staircase with a wall on both sides? Or a tower? I normally use the circle tool and if too much of the stairs get cut, I re-do the VBL by hand. I also right click to set waypoints for VBL when making dungeons so it is as close to the wall as possible, but still be able to use the grid.


Top
 Profile  
 
User avatar  Offline
Kobold
 
Joined: Wed Jan 05, 2011 1:25 pm
Posts: 4
 Post subject: Re: The VBL layer
PostPosted: Wed Jan 05, 2011 1:29 pm 
aliasmask wrote:
But this is only a wish list item because it's not going to be done for 1.3 anyway. Another wish list item would be an X tool. Just like the box except it draws an X instead.


I agree; this would be a great addition to the VBL tools.


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: The VBL layer
PostPosted: Thu Jan 06, 2011 3:23 am 
Yeah ... it's ready to use but cut out by the feature freeze.

Maybe it will make it so some user hack build...

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Sep 11, 2007 6:31 pm
Posts: 5410
 Post subject: Re: The VBL layer
PostPosted: Thu Jan 06, 2011 8:41 am 
CoveredInFish wrote:
Yeah ... it's ready to use but cut out by the feature freeze.

Maybe it will make it so some user hack build...


Heh.. I guess that was a reference to me eh? Yea... once the "final" build goes out, I will likely have a custom build within a week or so, though I may have several updates to it to add in the functionality I want for my home game and have not made the time yet to code all of them.

_________________
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 10 posts ] 

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