RPTools.net

Discussion and Support

Skip to content

It is currently Wed Oct 18, 2017 2:26 am 






Reply to topic  [ 3 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Great Wyrm
 
Joined: Mon Sep 15, 2008 8:27 am
Posts: 1176
Location: Bristol, UK
 Post subject: XOR Line drawing
PostPosted: Thu Jun 18, 2015 4:55 am 
Hi All,

I have a question for any Java Swing experts out there, regarding line drawing. There are a few places in Maptool where where the UI draws some additional guiding lines in black, such as when you draw rectangles on a map or reveal fog. These are very helpful, but of course, vanish entirely when the background is black. This is particular obvious when you are revealing fog, where the background is almost always black ;)

So it occurred to me that this should be easily solved by using the XOR drawing mode, right? Except that the results are almost always awful. I tried specifying different XOR colours to see what effect it produced, but using anything other than black and white just seemed to make things worse :?

What I would really like to see is drawn lines that are either black or white (or possibly grey) but nothing else. Is there a way to limit the drawing palette in this way? Without effect the rest of the interface?

cheers

Jagged


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon Sep 15, 2008 8:27 am
Posts: 1176
Location: Bristol, UK
 Post subject: Re: XOR Line drawing
PostPosted: Thu Jun 18, 2015 1:33 pm 
Okay, seems XOR mode is generally considered rubbish.

Better to do your own outline. So I will draw a white line with a stroke of 3, followed by the original black with a stroke of 1. Looks much better ;)


Top
 Profile  
 
User avatar  Offline
TheBard
 
Joined: Tue Mar 21, 2006 7:26 pm
Posts: 3482
Location: Austin, Tx
 Post subject: Re: XOR Line drawing
PostPosted: Tue Sep 08, 2015 1:02 pm 
heh. Sorry, just reviewing old posts. This made me laugh.

_________________
ImageImage ImageImageImageImage
Support RPTools by shopping
Image
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 3 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