Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 02-12-2015, 03:44   #316
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OpenCPN Beta test 4.1.1108 Release

Night mode and the Draw PI:

your opinions needed -

drawn objects are not dimmed. Feature or "not so nice"?
Attached Thumbnails
Click image for larger version

Name:	2015-12-02 12_33_58-OpenCPN 4.1.1108-OD575-nightmode.png
Views:	209
Size:	73.3 KB
ID:	114185   Click image for larger version

Name:	2015-12-02 12_35_19-OpenCPN 4.1.1108-OD-575-night.png
Views:	206
Size:	76.5 KB
ID:	114186  

bcn is offline   Reply With Quote
Old 02-12-2015, 03:45   #317
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by bdbcat View Post
@cagney...

re:
Code:
Using latest git code I get a busy cursor as soon as I  zoom in or out.
All chart types? OpenGL?

Thanks
Dave
Dave

I don't think the busy cursor had anything to do with O.
Yesterday I had the problem every time I restarted O. This morning, after a restart of my laptop, the busy cursor is gone.
Sorry for the red herring!

Thomas
cagney is offline   Reply With Quote
Old 02-12-2015, 06:10   #318
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by juehoe View Post
Hi there,
I just discovered, that OCPN shows LAMBERT CONFORMAL CONIC charts nicely with a perfectly aligned grid (see screen shot of NOAA chart 14983). It seems that all the projection code insn't needed, at least as long as the charts have embedded polynoms.

To get the chart loaded, edit it with a hexeditor and replace LAMBERT CONFORMAL CONIC with MERCATOR and blanks...
What problem are you solving by doing this? Please explain. I believe it will defeat some important logic if you specify the wrong projection.

Quote:
Originally Posted by bcn View Post
Night mode and the Draw PI:

your opinions needed -

drawn objects are not dimmed. Feature or "not so nice"?
They should be maximum contrast, at least by option. So the user can specify a dimming value maybe, but to make them most visible they should have the maximum brightness for whatever color then use a black background.
seandepagnier is offline   Reply With Quote
Old 02-12-2015, 06:28   #319
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by bdbcat View Post
NahanniV...

The "right" way to allow docking of any PlugIn is to modify the PlugIn so that it's windows become wxAUI clients, like Dashboard does. When that is done, the control windows and/or dialogs can float as they do now, or dock if desired.

This is a relatively simple modification, using Dashboard as a sample instance to study.

Perhaps the best thing to move this forward is a Feature Request against the Radar PlugIns....

Dave
Thanks, but, is this the method that Sean mentions as "orthogonal to any goal of decoupling opencpn from a specific widget library such as wxwidgets" ?
Perhaps Orthogonal but expedient ?

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 02-12-2015, 06:30   #320
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by boat_alexandra View Post
What problem are you solving by doing this? Please explain. I believe it will defeat some important logic if you specify the wrong projection.
Several charts from US NOAA are in Lambert Conformal Conic projection. OpenCPN refuses to display these charts.
transmitterdan is offline   Reply With Quote
Old 02-12-2015, 06:33   #321
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Beta test 4.1.1108 Release Texture Cache

Regarding texture cache I wonder if this is really necessary. I have a lot of RNC charts because I try to work O hard to expose problems. My texture cache is reported as 10.9GB. Is it really worth it to have texture caching with such a large set of data?

I presume we have this feature for hardware platforms that are less powerful from a graphics standpoint. But can these low power systems afford such huge cache files?
transmitterdan is offline   Reply With Quote
Old 02-12-2015, 06:35   #322
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: OpenCPN Beta test 4.1.1108 Release

Tdan
Quote:
Go to Options->Display->Advanced->Options (next to OpenGL selection). There you will find a button to manually rebuild the texture cache.
Thanks, ..Its greyed out.

Quote:
Sounds like you may be running with the Windows GDI Generic OpenGL driver. This will cause Texture caching to be disabled, since this OpenGL driver is not very compatible with the standard. It is missing several functions we need, and is known to be very slow.

Have you changed your configuration lately?
Please post your logfile entries for OpenGL, and we will take a look.
Have not changed it to my knowledge.

Attached Log file shows its using HD Graphics which is inccorrect!

Quote:
9:24:39 AM: Warning: iCCP: known incorrect sRGB profile
9:24:40 AM: OpenGL-> Renderer String: Intel(R) HD Graphics Family
9:24:40 AM: OpenGL-> Version reported: 3.0.0 - Build 8.15.10.2342
9:24:40 AM: OpenGL-> Detected Intel renderer, disabling stencil buffer
9:24:40 AM: OpenGL-> Texture rectangle format: de1
9:24:40 AM: OpenGL-> glGenerateMipmap unavailable
9:24:40 AM: OpenGL-> Detected Windows Intel renderer, disabling Vertexbuffer Objects
9:24:40 AM: OpenGL-> Vertexbuffer Objects unavailable
9:24:40 AM: OpenGL-> Using Framebuffer Objects
9:24:40 AM: OpenGL-> Using FBO Stencil buffer
9:24:40 AM: OpenGL-> Using Depth buffer clipping
9:24:40 AM: OpenGL-> Using s3tc dxt1 compression
9:24:40 AM: OpenGL-> Compressed tile size: 128kb (6:1)
9:24:40 AM: OpenGL-> Minimum cartographic line width: 1.0
9:24:40 AM: OpenGL-> Minimum symbol line width: 1.0
9:24:40 AM: Warning: iCCP: known incorrect sRGB profile
It should be using Nvidia Geforce 540m adapter.
-Perhaps I should update the HD Graphics drivers now anyway? v8.15.10.2342 from 2011 search on drivers says it is up to date.

Collapse/Expand GRAPHICS INFORMATION
Graphics Product [1] Intel®HDGraphics3000
Video Memory 4.0 GB
Current Graphics Resolution 1920x1080
Current Color Depth 32 Bits Per Pixel
Graphics Product [2] Intel®HDGraphics3000
Video Memory 1.7 GB
Apparently no updates to this graphics.
I saw it is "OpenGL 4.0"

I am going to change back to the Nvidia Geforce GT 540M
Attached Files
File Type: doc Log-File-OpenGL.doc (87.4 KB, 38 views)
rgleason is offline   Reply With Quote
Old 02-12-2015, 06:45   #323
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by juehoe View Post
Hi there,
I just discovered, that OCPN shows LAMBERT CONFORMAL CONIC charts nicely with a perfectly aligned grid (see screen shot of NOAA chart 14983). It seems that all the projection code insn't needed, at least as long as the charts have embedded polynoms.

To get the chart loaded, edit it with a hexeditor and replace LAMBERT CONFORMAL CONIC with MERCATOR and blanks...
Just an idea but has anyone tested these to see if they are indeed an image actually calibrated to the projection advertised in the header? My experience with old Canadian bsb/kaps indicates that the header is not necessarily an accurate descriptor of the calibration. (ie: mine advertise as NAD27 but are in fact calibrated to wgs 84. )

It would need extracting the image and testing as to proportional size and shape....

I have some UTM , TMs and Poly's I can play with....
HappySeagull is offline   Reply With Quote
Old 02-12-2015, 06:46   #324
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN Beta test 4.1.1108 Release

NahanniV....

Regarding the Radar window docking.

"Expedient" is the word. We are soon going to release Version 4.2.

Any plan to move OCPN away from wxWidgets display base is longer term, and has no real design nor resource allocation yet. Lots of questions here, but the main one in my mind is: "What if user doesn't have OpenGL, for whatever reason."

Dave
bdbcat is offline   Reply With Quote
Old 02-12-2015, 06:50   #325
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,546
Re: OpenCPN Beta test 4.1.1108 Release

Since wxWidgets 3.0 is now used also for Windows and Linux some more people see these warnings in their logs:
Quote:
9:24:39 AM: Warning: iCCP: known incorrect sRGB profile
...
9:24:40 AM: Warning: iCCP: known incorrect sRGB profile
Reason is the newer png library in wxWidgets 3.0 and OpenCPN still use outdated png images.

Gerhard
CarCode is offline   Reply With Quote
Old 02-12-2015, 06:53   #326
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN Beta test 4.1.1108 Release

TDan...

Raster texture cache is pretty important. Generating the multiple scaled chart tiles (mipmaps) from raw .KAP files is very CPU intensive. Without caching, this would have to be done on every chart load, in real time.

Of course, it is your machine. If a user values disk storage over runtime performance, the option to disable caching is available....

Dave
bdbcat is offline   Reply With Quote
Old 02-12-2015, 07:02   #327
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: OpenCPN Beta test 4.1.1108 Release Texture Cache

Quote:
Originally Posted by transmitterdan View Post
Regarding texture cache I wonder if this is really necessary. I have a lot of RNC charts because I try to work O hard to expose problems. My texture cache is reported as 10.9GB. Is it really worth it to have texture caching with such a large set of data?

I presume we have this feature for hardware platforms that are less powerful from a graphics standpoint. But can these low power systems afford such huge cache files?
Most of the little ARM boards can have a 64G SDcard and some even have SATA.

The caching certainly gives a huge performance improvement on these boards, but it is clearly broken at the moment.

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 02-12-2015, 07:19   #328
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN Beta test 4.1.1108 Release

TDan....

re:
Code:
Several charts from US NOAA are in Lambert Conformal Conic projection. OpenCPN refuses to display these charts
.

If OCPN does not display the chart, it means that he does not know how to georef the specified projection. He doesn't "try to get close enough", whatever "close enough" might be.

Modify the chart .KAP file to trick O into showing the chart, and all bets are off. Playing with fire here.....

But, as we say, YMMV.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 02-12-2015, 07:58   #329
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN Beta test 4.1.1108 Release

Hakan...

re:

Code:
Multiple Dashboards:
The mouse right click  view/hide check boxes are not working.
No problem here on Win7.

Anyone else tested this?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 02-12-2015, 08:06   #330
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: OpenCPN Beta test 4.1.1108 Release

All along I've been using the NVIDIA program to set the application to use the NVIDIA Card, this utility no longer seems to be working. Have tried it several times.

Quote:
10:53:23 AM: OpenGL-> Renderer String: Intel(R) HD Graphics Family
10:53:23 AM: OpenGL-> Version reported: 3.0.0 - Build 8.15.10.2342
rgleason is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn


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
OpenCPN Beta test 4.1.1022 Release bdbcat OpenCPN 122 07-11-2015 01:12
OpenCPN Beta test 4.1.925 Release bdbcat OpenCPN 177 04-11-2015 08:16
OpenCPN Beta test 4.1.602 Release bdbcat OpenCPN 193 13-10-2015 08:19
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 02:53

Advertise Here


All times are GMT -7. The time now is 14:19.


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.