|
|
23-11-2015, 02:51
|
#406
|
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
|
|
|
23-11-2015, 03:20
|
#407
|
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.
|
|
|
23-11-2015, 05:24
|
#408
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
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.
|
|
|
23-11-2015, 09:54
|
#409
|
Registered User
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
|
|
|
23-11-2015, 09:59
|
#410
|
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
|
|
|
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.
|
|
|
23-11-2015, 10:23
|
#412
|
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.
|
|
|
23-11-2015, 11:32
|
#413
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
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.
|
|
|
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
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.
|
|
|
|
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
From the Draw-PI all the objects can have names - one item in properties, like a waypoint or a track.
|
|
|
|
23-11-2015, 12:25
|
#416
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
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
|
|
|
23-11-2015, 12:43
|
#417
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
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.
|
|
|
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
|
|
|
23-11-2015, 13:43
|
#419
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
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.
|
|
|
23-11-2015, 13:55
|
#420
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
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.
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|