Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 23-11-2015, 02:51   #406
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,703
Re: Ocpn-Draw and Boundary

Jon,

testing with your latest version under Win8.1
- installer: selecting a path for a parallel install like ..\plugins will result in ...\plugins\OpenCPN where one has to delete the latter manually.

- no icons in toolbar (mouse tip shows ok) (OpenGL On and Off)

- Toolbar will stay always on top (even with other programs)

- Inclusion and exclusion points are ok here (OpenGL On & Off)

Getting better and better...

Hubert
Attached Thumbnails
Click image for larger version

Name:	2015-11-23 11_34_25-OpenCPN 4.1.1108-no-icons.png
Views:	112
Size:	20.0 KB
ID:	113599   Click image for larger version

Name:	2015-11-23 11_39_44-Opciones.png
Views:	138
Size:	22.3 KB
ID:	113600  

Click image for larger version

Name:	2015-11-23 11_41_08-OpenCPN 4.1.1108-toolsOnTop.png
Views:	109
Size:	20.4 KB
ID:	113601   Click image for larger version

Name:	2015-11-23 11_38_43-OpenCPN 4.1.1108-PointsIncludeExclude.png
Views:	122
Size:	13.5 KB
ID:	113602  

bcn is offline   Reply With Quote
Old 23-11-2015, 03:20   #407
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,703
Re: Ocpn-Draw and Boundary

DR works as announced....
OpenGL On&Off
(Green one time based, Magenta one distance based)

And putting now EBLs from the DR path will give you nice bearings for checking in case your GPS is not working.
Attached Thumbnails
Click image for larger version

Name:	2015-11-23 12_12_55-OpenCPN 4.1.1108-DR.png
Views:	168
Size:	40.7 KB
ID:	113603  
bcn is offline   Reply With Quote
Old 23-11-2015, 05:24   #408
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
Images: 2
Re: Ocpn-Draw and Boundary

Perhaps the plugin was not installing properly. I had been checking that, but stopped recently when I thought it was resolved. I will check this tonight.

PS It did install properly and it was #559

Will test current one tonight.
rgleason is online now   Reply With Quote
Old 23-11-2015, 09:54   #409
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: Ocpn-Draw and Boundary

+1 thanks jongough! and thanks to rgleason for the compilations to try
HappySeagull is offline   Reply With Quote
Old 23-11-2015, 09:59   #410
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,703
Re: Ocpn-Draw and Boundary

Happy,

the one I've tested is 0.563 from Jon's Github account:
https://github.com/jongough/ocpn_draw_pi/releases

Hubert
bcn is offline   Reply With Quote
Old 23-11-2015, 10:12   #411
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: Ocpn-Draw and Boundary

Now that there is a boundary alarm in watchdog, maybe I can try adding boundary inclusion and exclusion zones to weather routing.

I really don't like the interface used with the GUID. Is it possible for boundaries to have names? Maybe at least I could populate a list of guid, then when the user selects each one in the list, that boundary would be redrawn in pink or something so it is easy to select the right boundary.
seandepagnier is offline   Reply With Quote
Old 23-11-2015, 10:23   #412
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,703
Re: Ocpn-Draw and Boundary

From the Draw-PI all the objects can have names - one item in properties, like a waypoint or a track.
bcn is offline   Reply With Quote
Old 23-11-2015, 11:32   #413
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
Images: 2
Re: Ocpn-Draw and Boundary

Bcn

Quote:
testing with your latest version under Win8.1
- installer: selecting a path for a parallel install like ..\plugins will result in ...\plugins\OpenCPN where one has to delete the latter manually.
When the prompt for install location comes up with c:/Program Files x86/Opencpn
I simply backspace and get a list of alternative installs, then pick

"c:/Program Files x86/Opencpn4.1.1108"

and hit enter. The installer knows to pick the "plugins" next.
I find that the plugin installs properly and this is the way I would expect it to work.
Almost 100% of the other installers work this way too I believe.

The extra Opencpn directory comes about when you send the install to

"c:/Program Files x86/Opencpn4.1.1108/plugins"

I've done that several times on this and other plugins. We normally are just selecting the parent Opencpn directory and the plugin installer does the rest. It is easier for new users that don't know about the plugin directory.
rgleason is online now   Reply With Quote
Old 23-11-2015, 11:42   #414
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Ocpn-Draw and Boundary

The reason the GUID is used is to ensure that the correct boundary is selected. If I used the name it is quite possible that there would be two or more boundaries with the same name. The only way around this would be to put up a selection list and let the user pick the one they want to use, but this would then require showing each boundary on the chart as it was hovered over/single click selected before using its GUID. I thought the easiest method, and probably the most likely to be used, would be for the boat to be within a boundary and the user to just click the GUID button (this is an anchor/inclusion alarm after all).

For the exclusion alarm there is no GUID or name to enter. The current alarm will look for the boat or its predictor to be in side any exclusion boundary and raise the alarm if it is.

If the above is not working for people can you give me a hint as to what might?

Jon

Quote:
Originally Posted by boat_alexandra View Post
Now that there is a boundary alarm in watchdog, maybe I can try adding boundary inclusion and exclusion zones to weather routing.

I really don't like the interface used with the GUID. Is it possible for boundaries to have names? Maybe at least I could populate a list of guid, then when the user selects each one in the list, that boundary would be redrawn in pink or something so it is easy to select the right boundary.
jongough is offline   Reply With Quote
Old 23-11-2015, 11:45   #415
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Ocpn-Draw and Boundary

The issue with human derived names is that they are likely not to be unique whereas the GUID is. But as you say ALL OD objects can have human given names as well as descriptions, but you do have to open the properties (right click/select properties, or double left click the object, or via the OD Manager).

Jon

Quote:
Originally Posted by bcn View Post
From the Draw-PI all the objects can have names - one item in properties, like a waypoint or a track.
jongough is offline   Reply With Quote
Old 23-11-2015, 12:25   #416
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
Images: 2
Re: Ocpn-Draw and Boundary

Quote:
using patch 562 and have tried it in Win 7 under VirtualBox, Win 8.1 and now (it auto upgraded me) Win 10 and they show Inclusion Boundary Points correctly. You need to have "Show Point Range Rings" checked, Number of Point Range Rings > 0, a big enough range ring to clearly show and a colour that you can see.
Using ocpn_draw_pi-0.4.563-win32 ( I have double checked this.)
Using Opencpn 4.1.1108 Build 2015-111-08
d7673fa Set upper bound on scaled vector chart text size.

With OpenGL = OFF
Attached Thumbnails
Click image for larger version

Name:	No-OpenGL.png
Views:	156
Size:	74.2 KB
ID:	113637   Click image for larger version

Name:	NoOpenGL-bigger.png
Views:	117
Size:	136.0 KB
ID:	113638  

rgleason is online now   Reply With Quote
Old 23-11-2015, 12:43   #417
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
Images: 2
Re: Ocpn-Draw and Boundary

With OpenGL=0N, with No texture caching, also the same with Texture Caching=ON.

"Inclusive Boundary" is not left blank in the middle.

Jon also please note the following:
1. All the DR lines now blink and flash on and off, do not know what causes this.
2. Boundaries do not show a solid line (both Opengl on and Opengl off).

The machine is a Dell Laptop XLS 15 L502 it is using
Nvidia Geforce GT 540M with updated OpenGL drivers.
Intel HD Graphics Family
I have set all the versions of OpenCPN to use Nvidia as it is better.
I have checked this setting just now and it is for Nvidia
I have tested with OpenGL with Texture Cache on and off, using Nvidia and there is no hole in Inclusive Boundaries.
I can check on the drivers if you want & get the number.
I am using Windows 7


Sorry, I know how difficult this has been working with OpenGL.
Attached Thumbnails
Click image for larger version

Name:	OpenGL-ON-no-cache.png
Views:	147
Size:	136.9 KB
ID:	113640  
rgleason is online now   Reply With Quote
Old 23-11-2015, 13:04   #418
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Ocpn-Draw and Boundary

Rick,
I have managed to find out how to reproduce your error. If you draw the boundary anticlockwise it all works, if you draw it clockwise the centre gets filled in. I think it is to do with the tesselation winding rules. I am working on it and it is not windows specific, just the way you draw the object!

Jon
jongough is offline   Reply With Quote
Old 23-11-2015, 13:43   #419
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
Images: 2
Re: Ocpn-Draw and Boundary

And I thought it was hardware...
-------
Dell Laptop XPS 15 L502x 04/2011
nVIDIA GeForce GT 525M/GT540M Graphics Driver MS Download 331.65

We have this problem that needs to be solved when rendering polygons in CAD. Right hand rule. The polys have to be flipped by the program so that they can all be rendered. I should have thought of it!! Great that you worked it out.
rgleason is online now   Reply With Quote
Old 23-11-2015, 13:55   #420
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
Images: 2
Re: Ocpn-Draw and Boundary

Yes, this is exactly the problem. Thank you BCN. Before rendering we used to have to run a helper program to help sort out inside and outside. The sometimes a polygon would not render and we would have to flip it manually. That was a long time ago, now the program takes care of it automatically.

We need that logic now.
Attached Thumbnails
Click image for larger version

Name:	Counter-Clockwise.png
Views:	108
Size:	223.3 KB
ID:	113651  
rgleason is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Rookie questions - boundary circles; exporting options; GPX files fredgmeyer OpenCPN 5 23-05-2014 22:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 06:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 15:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 09:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 17:00

Advertise Here


All times are GMT -7. The time now is 15:39.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.