Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 15-03-2016, 13:06   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Attenuate Less Critical Targets

Would someone please explain if this change has anything to do with
"Attenuate Less Critical Targets?"

Fix the real size AIS target display being scaled with the chart obje……cts - The size of the target has to always respect reality.

https://github.com/nohal/OpenCPN/com...fa07599a1ba24d
if (g_bDrawAISSize && bcan_draw_size)
{
dc.SetBrush( wxBrush( UBLCK, wxBRUSHSTYLE_TRANSPARENT ) );
- dc.StrokePolygon( 6, ais_real_size, TargetPoint.x, TargetPoint.y, scale_factor );
+ dc.StrokePolygon( 6, ais_real_size, TargetPoint.x, TargetPoint.y, 1.0 );


If so, I believe it should be undone.
__________________

__________________
rgleason is offline   Reply With Quote
Old 15-03-2016, 15:54   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Attenuate Less Critical Targets

Rick...
What is the problem you are seeing?

Thanks

Pavel
__________________

__________________
nohal is online now   Reply With Quote
Old 15-03-2016, 16:02   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: Attenuate Less Critical Targets

Pavel,

I have not built and run the result of this, nor have I followed it in the code.

Rooie Dirk Dirk Smits created an AIS "declutter" feature which makes AIS Targets that meet certain specific parameters smaller. This was a reasonable response to many complaints about over cluttered screens in densely populated AIS areas.

You may not have seen the features development and Bdbcat's acceptance of the pull request.

Since the changes to code appear to remove scaling of AIS Target, I have asked about it.

PS:Maybe it is related to some efforts of did-g to make the AIS target "lines" write more clearly? - Brush?
__________________
rgleason is offline   Reply With Quote
Old 15-03-2016, 16:07   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Attenuate Less Critical Targets

Rick...
This patch has nothing to do with that, it fixes the real size of the vessels being scaled according to the chart object scaling setting, which is wrong - a 30m long vessel is simply 30m long, regardless of how big you want to see the chart objects.

Pavel
__________________
nohal is online now   Reply With Quote
Old 15-03-2016, 17:54   #5
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: Attenuate Less Critical Targets

Yes, of course that is right.
Thanks.
__________________
rgleason is offline   Reply With Quote
Old 16-03-2016, 06:51   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: Attenuate Less Critical Targets

After thinking about it further.. Of course real world objects have a scale of 1:1 to be shown properly. It is when text and symbols get involved that things get different.

There is a feature which allows increase of ownship size above 1:1. I assume this feature is not dependent on that variable value "scale_factor"

Sorry to bring it up again.
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
cal

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
boom less, track less staysail advice Abrain Deck hardware: Rigging, Sails & Hoisting 17 19-12-2013 09:57
critical decision before criticizing decision slowpoker Atlantic & the Caribbean 23 29-12-2011 07:35
Force Anchor Swivel - Critical Failure Charon Anchoring & Mooring 5 19-11-2011 14:18
Critical Dimensions for Cruising SPARK General Sailing Forum 4 11-06-2011 14:30
The Critical Mass tardog General Sailing Forum 18 23-03-2009 20:06



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 04:52.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.