Cruisers Forum
 


 
  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 Rating: Thread Rating: 5 votes, 4.80 average. Display Modes
Prev Previous Post   Next Post Next
Old 25-11-2013, 20:40   #11
Registered User

Join Date: Jan 2013
Posts: 31
Re: OpenCPN Radar Overlay PlugIn

Dear Joel

That was really helpful - thank you.

I changed the source as you suggested and the screen did NOT draw red all over.

I then added another line of code inside the drawing code to make a log entry each time the radar tried to draw a blob to make sure that the drawing code was being called - and quickly generated a huge log which proved that the radar plugin was trying to draw blobs and they do not appear.

In other words, I did this:

Code:
                glColor4ub((GLubyte)red, (GLubyte)green, (GLubyte)blue, (GLubyte)alpha);    // red, blue, green
                wxLogMessage(wxT("Drawing blob right now"));
                draw_blob_gl(angleDeg, radius,  blobRadius, .75);
So...I think it must be an openGL phenomenon: it can't be just a 64 bit issue since you're running 64 bit so I'll concentrate on the openGL flags/switches/variables.

The only other anomaly I can see by comparing the logs from the working box with the non working is that the non working box always reports max_range as 0 -- like this:

Code:
10:48:51 SGT: Rotating image for HDT=0.000000 Correction=0 Rotation=0.000000 Result=0.000000
10:48:51 SGT: max_range=0 angle_prev=4095
Not sure if this is material.

If any one has any ideas I'm all ears...

Thank you Joel

Pete
GHammond is offline   Reply With Quote
 

Tags
opencpn, paracelle, radar


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 for Navigation gpshephe Marine Electronics 10 30-12-2013 09:33
What Do You Think of Selling OpenCPN? esan6 OpenCPN 25 23-10-2013 08:35
Help with OpenCPN Sailorman375 Navigation 3 11-08-2013 20:58
For Sale: Radar Mount sailorman14 Classifieds Archive 5 23-04-2012 20:50
OpenCPN Version 2.6 Beta Build 1524 bdbcat OpenCPN 115 09-04-2012 11:10

Advertise Here


All times are GMT -7. The time now is 16:11.


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.