Cruisers Forum
 


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 06-01-2018, 11:53   #136
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
Re: OCPN Beta 4.8.1 PreAlpha

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

Corrected ownship "Real scale bitmap" mode in github.

Problem was clear. In GL mode, the calculated scale factor was applied twice, leading to a scale-squared render.

Let me know how this looks now.....
Thanks
Dave
Dave..
Hubert is mostly saying the same as me while writing and my comments are:

1) Scale bitmap now has a wideness and looks OK.
2) I've to increase "Minimum screen size" from 11 to 15 to get the same size as before, = 4.8.0
3) The GPS circle is misplaced compared to my settings. See picture.
4) Real Scaled Vector is no longer possible to select. Or, it's possible to select but once the OK is pressed it forced back to Scaled Bitmap.
Håkan
Attached Thumbnails
Click image for larger version

Name:	shipsymbol.PNG
Views:	63
Size:	32.3 KB
ID:	161698  
Hakan is offline   Reply With Quote
Old 06-01-2018, 12:09   #137
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
Re: OCPN Beta 4.8.1 PreAlpha

Dave..
I'm not sure what I'm doing here but if I put the glScalef(...) back:
Code:
// Set a default early, adjust later based on render type
            float gps_circle_radius = 3.0;
            glScalef(scale_factor_x, scale_factor_y, 1); <<<<<<<<<

            if( g_OwnShipIconType == 0 ) { // Default Bitmap
The GPS circle is correct positioned and the icon size is increased.

Håkan
Hakan is offline   Reply With Quote
Old 06-01-2018, 12:14   #138
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN Beta 4.8.1 PreAlpha

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

Corrected ownship "Real scale bitmap" mode in github.

Problem was clear. In GL mode, the calculated scale factor was applied twice, leading to a scale-squared render.

Let me know how this looks now.

Also, anyone tried ownship usericon, and various scaling logic?

@bcn, I recall you have a nice ownship user icon...

Thanks
Dave
Dave

Not that much difference. Size is now 8mm decreasing to 6 when zooming out.

I make th same observation as Hakan
Quote:
3) The GPS circle is misplaced compared to my settings. See picture.
4) Real Scaled Vector is no longer possible to select. Or, it's possible to select but once the OK is pressed it forced back to Scaled Bitmap.
Thanks

Thomas
cagney is offline   Reply With Quote
Old 06-01-2018, 12:49   #139
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OCPN Beta 4.8.1 PreAlpha

Latest commit f1a4723 20 minutes ago bdbcat Correct typo.

Not really....
And the misplaced antenna position with raster has not changed
Attached Thumbnails
Click image for larger version

Name:	2018-01-06 21_44_40-OpenCPN 4.8.10101 -- [Portable(-p) executing from C__Users_XPS_Desktop_OCPNb.png
Views:	66
Size:	10.9 KB
ID:	161703  
bcn is offline   Reply With Quote
Old 06-01-2018, 13:02   #140
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by bcn View Post
Both chart types, raster and vector (S-57)
EDIT: oeSENC neither


Do you have touch interface turned on?
transmitterdan is offline   Reply With Quote
Old 06-01-2018, 13:02   #141
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
Re: OCPN Beta 4.8.1 PreAlpha

Dave..
After typo correction ( == 1) issue 4)) is OK.
The rest remains.
And, the scaled vector is much bigger then the scaled bitmap?? (But GPS circle is correct positioned)
Attached Thumbnails
Click image for larger version

Name:	shipsymbol.PNG
Views:	65
Size:	33.9 KB
ID:	161708  
Hakan is offline   Reply With Quote
Old 06-01-2018, 13:07   #142
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by transmitterdan View Post
Do you have touch interface turned on?
tested both - Touch ON and OFF - and after Hakan's observation with one or several charts.
OpenGL ON/OFF just in case.

No differences.

We had something similar when testing the latest Android version btw.
bcn is offline   Reply With Quote
Old 06-01-2018, 13:11   #143
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN Beta 4.8.1 PreAlpha

Dave

After the typo is corrected.....
Real scale vector looks like this.....
Click image for larger version

Name:	Screenshot_20180106_160656.png
Views:	68
Size:	8.2 KB
ID:	161712

Inner black frame is 10 mm, outer red boat is 20 mm.
My size settings are still the same.

Thomas
cagney is offline   Reply With Quote
Old 07-01-2018, 03:23   #144
Registered User

Join Date: Jun 2015
Posts: 379
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by bcn View Post
No chart information hovering over the piano.
Win 8.1
Are you sure they are not under ocpn window? Could you try with Ocpn not full screen?

Likely a249548381e2 , moving to a full window under window manager control has issues, it's not the same coordinates (screen vs parent windows) and on linux it's unreliable (race? or too many window managers with not exactly the same behavior).

I think not information windows if only one chart is an older bug, something to do with the rubber band near screen borders.
did-g is offline   Reply With Quote
Old 07-01-2018, 03:38   #145
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OCPN Beta 4.8.1 PreAlpha

Did try this - and here an extreme example where a hidden chart information should show up even under the OpenCPN window.
Attached Thumbnails
Click image for larger version

Name:	2018-01-07 12_35_23-OCPN Beta 4.8.1 PreAlpha - Page 10 - Cruisers & Sailing Forums.png
Views:	89
Size:	18.0 KB
ID:	161750  
bcn is offline   Reply With Quote
Old 07-01-2018, 03:46   #146
Registered User

Join Date: Jun 2015
Posts: 379
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by bcn View Post
Did try this - and here an extreme example where a hidden chart information should show up even under the OpenCPN window.
And if you compile without a249548381e2 . Either by reverting it or checking out commit prior it?
did-g is offline   Reply With Quote
Old 07-01-2018, 08:56   #147
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OCPN Beta 4.8.1 PreAlpha

Dave...

with afc6e786 on the XPS18/W8.1
- now OwnShip raster real size ok - size and antenna pos.
- OwnShip vector is missing the (red) color with OpenGL ON only. Size is ok.

Hubert
bcn is offline   Reply With Quote
Old 07-01-2018, 09:02   #148
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by bcn View Post
Rendering of dredged areas and other structures.
Cancel the observations from post #135

With Display category "All" everything in place.
The screenshot was "Mariners Std." with a lot of object types disabled.
bcn is offline   Reply With Quote
Old 07-01-2018, 09:08   #149
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by bcn View Post
Dave...

with afc6e786 on the XPS18/W8.1
- now OwnShip raster real size ok - size and antenna pos.
- OwnShip vector is missing the (red) color with OpenGL ON only. Size is ok.

Hubert
Dave

I agree with Hubert, but I have no problem with real scale vector coloring.

Thank You!

Thomas
cagney is offline   Reply With Quote
Old 07-01-2018, 10:50   #150
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
Re: OCPN Beta 4.8.1 PreAlpha

Dave..
Commit "Correct ownship Real Scale Bitmap rendering, afc6e786086" installed and tested on Win10 and XP.
All my issues for this task are solved and the "Minimum screen size (mm)" is now more correct and also equal on different system compared to released 4.8.0 and before.
Thanks
Håkan
Hakan is offline   Reply With Quote
Reply


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
OCPN Beta Version 4.1 PlugIns bdbcat OpenCPN 5 28-09-2015 05:44
How to use MMR2-C-Map card reader with OCPN ? Flemming Torp OpenCPN 6 28-05-2012 08:39
Pictures of OCPN in action. cagney OpenCPN 0 03-04-2012 09:16
Furuno and OCPN KrisCatteceur Navigation 2 12-01-2012 13:04
Does OCPN support NMEA 0183 v3.1? Netsurfer OpenCPN 5 25-05-2010 07:42

Advertise Here


All times are GMT -7. The time now is 03:22.


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.