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 05-03-2013, 18:34   #211
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

MS VC Debugger failed, but I got this screen shot. The errors are listed with line number
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Break-Image-Again.jpg
Views:	166
Size:	404.2 KB
ID:	56280  
rgleason is online now   Reply With Quote
Old 05-03-2013, 19:01   #212
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

weatherfax_pi.dll!WeatherFaxImage::RenderImage(wxD C & dc, PlugIn_ViewPort * vp) Line 494 + 0x34 bytes C++

weatherfax_pi.dll!weatherfax_pi::RenderOverlay(wxD C & dc, PlugIn_ViewPort * vp) Line 227 C++



Also if you don't hit Apply I think there is an error.
rgleason is online now   Reply With Quote
Old 05-03-2013, 19:17   #213
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

weatherfax_pi.dll!WeatherFaxImage::RenderImage(wxD C & dc, PlugIn_ViewPort * vp) Line 494 + 0x34 bytes C++


weatherfax_pi.dll!weatherfax_pi::RenderOverlay(wxD C & dc, PlugIn_ViewPort * vp) Line 227 C++
rgleason is online now   Reply With Quote
Old 06-03-2013, 19:17   #214
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: WeatherFax...

Quote:
Originally Posted by ChuckSK View Post
It was the assert error. Your update has fixed it.
Have you had any issues with the plugin since the update?

Quote:
Originally Posted by rgleason View Post
weatherfax_pi.dll!WeatherFaxImage::RenderImage(wxD C & dc, PlugIn_ViewPort * vp) Line 494 + 0x34 bytes C++


weatherfax_pi.dll!weatherfax_pi::RenderOverlay(wxD C & dc, PlugIn_ViewPort * vp) Line 227 C++
I think this happens if you put in invalid image coordinates and are not using opengl a case I probably forgot to test. I should be able to correct this.

Could you try with opengl enabled. Also, try with valid image coordinates. True ratio should be 1 in most cases, but if the input polar image is stretched it could be different. If it is -1 or negative at all, then you have done something wrong.

Also, are there any other crashes or assert failures?
seandepagnier is offline   Reply With Quote
Old 07-03-2013, 19:01   #215
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

weatherfax_pi.dll!WeatherFaxImage::RenderImage(wxD C & dc, PlugIn_ViewPort * vp) Line 494 + 0x34 bytes C++

weatherfax_pi.dll!weatherfax_pi::RenderOverlay(wxD C & dc, PlugIn_ViewPort * vp) Line 227 C++

This was for a polar with Australia. I believe I got the basic coords and lat long close. When "Applied" the fax is rendered with straight lines. When "Finish" it bombs.

IDY00030.201302181800-Polar.png
Attached Thumbnails
Click image for larger version

Name:	IDY00030.201302181800-Polar.png
Views:	130
Size:	61.9 KB
ID:	56406  
rgleason is online now   Reply With Quote
Old 07-03-2013, 19:23   #216
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

bitmapimage.cpp 802 (I think that was the line in the popup message, I could not get a screenshot.)

only have
> wxbase28ud_vc_custom.dll!wxTrap() Line 678 C++
in call stack.

It failed very fast.

Here are the images (same file as above) tried again. -Both without OpenGL
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Austrailia-before-render-coords.jpg
Views:	419
Size:	353.6 KB
ID:	56410   Click image for larger version

Name:	Weatherfax-Austrailia-after-render-coords-2time.jpg
Views:	189
Size:	300.7 KB
ID:	56411  

rgleason is online now   Reply With Quote
Old 08-03-2013, 04:48   #217
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Ok, this morning do it again.
1. No opengl
2. Same file IDY00030.201302181800-Polar.png as attached above after inspecting with Gimp
3. Entered the following coords and guidelines -see screen shot.

292 -40
368 -130
292 -10
4 -130
After apply and processed - see screen shot.
412 -40
293 -130
412 -10
38 -130
Hit finish and instant fault - see screen shot.

...\..\src\tnsw\bitmap.cpp(802): assert "image.Ok() failed in wxbitmap::wxBitImage::CreatefromImage(): invalid range.

4. The only call stack item is
> wxbase28ud_vc_custom.dll!wxTrap() Line 678 C++
There are no non-widget items in the call stack that I can find.
5. I've included a screen shot of MS VC++ below.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Austrailia-1.jpg
Views:	174
Size:	349.2 KB
ID:	56431   Click image for larger version

Name:	Weatherfax-Austrailia-2.jpg
Views:	153
Size:	343.1 KB
ID:	56432  

Click image for larger version

Name:	Weatherfax-Austrailia-3-Fail.jpg
Views:	157
Size:	397.6 KB
ID:	56433   Click image for larger version

Name:	Weatherfax-Austrailia-4-MSVC.jpg
Views:	156
Size:	398.9 KB
ID:	56434  

rgleason is online now   Reply With Quote
Old 08-03-2013, 06:02   #218
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Ok Sean, you'll like the next series using the same Australian polar file. The first part is with OPENGL checked.
I noticed that with OpenGL checked different lat long settings are required, why? Shouldn''t they be the same? The latitudes have to be foreshortened or the blue circle diameters are too short and do not align with latitudes. Note the differences in what Lat Long is entered. With opengl on, the polar fax is not rendered, but the program does not crash, and you can go back and edit the fax, and adjust the coords and lat/long. I did that several times and tried to get the fax to render on the chart.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-1.jpg
Views:	322
Size:	351.2 KB
ID:	56435   Click image for larger version

Name:	Weatherfax-Austrailia-2.jpg
Views:	174
Size:	343.1 KB
ID:	56436  

Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-3.jpg
Views:	380
Size:	347.1 KB
ID:	56437   Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-4-straightlines.jpg
Views:	318
Size:	298.7 KB
ID:	56438  

Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-5-Finish.jpg
Views:	608
Size:	265.4 KB
ID:	56439  
rgleason is online now   Reply With Quote
Old 08-03-2013, 06:03   #219
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Okay, it did not fail. So still using OpenGL I went back to Edit and tried adjusting more. Making straightlines (used the same settting that were used for no Opengl and those did not produce straightlines). When finishing it did not fail but image did not appear. Sliders and invert check are a little reluctant to work.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-6-Edit.jpg
Views:	166
Size:	304.5 KB
ID:	56444   Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-7-Edit.jpg
Views:	363
Size:	340.7 KB
ID:	56445  

Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-8-straightlines.jpg
Views:	124
Size:	293.3 KB
ID:	56446   Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-9-finish.jpg
Views:	356
Size:	254.6 KB
ID:	56447  

rgleason is online now   Reply With Quote
Old 08-03-2013, 06:12   #220
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Then I went back in and did some more adjustments to match up the blue rings with latitudes. (This does not look like the rings are right. I must have the sequence of this process wrong) It did not bomb and I could go to edit again.

- Anyway the lat settings required to align the blue rings are different (shorter -40 and -20 ) than when it is not using OpenGL!! Why is that I wonder???
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-7-Edit.jpg
Views:	351
Size:	340.7 KB
ID:	56448   Click image for larger version

Name:	Weatherfax-Austrailia-OpenGL-9-finish.jpg
Views:	417
Size:	254.6 KB
ID:	56449  

rgleason is online now   Reply With Quote
Old 08-03-2013, 06:23   #221
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Okay I've sort of forgotten the next screens, these are without OpenGL on (I just turned it off in the Debug version 3.2 and continued. In this case it bombed again with the same codes as before.

I had to change the lat settings I believe (Ok this is where I had to adjust to lat to be -40 and -20, rather than -10) anyway the values are shown in the images. It failed wwith the same error.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Austrailia-10.jpg
Views:	122
Size:	343.5 KB
ID:	56450   Click image for larger version

Name:	Weatherfax-Austrailia-11.jpg
Views:	137
Size:	340.3 KB
ID:	56451  

Click image for larger version

Name:	Weatherfax-Austrailia-12.jpg
Views:	169
Size:	287.4 KB
ID:	56452   Click image for larger version

Name:	Weatherfax-Austrailia-13.jpg
Views:	129
Size:	388.3 KB
ID:	56453  

Click image for larger version

Name:	Weatherfax-Austrailia-14.jpg
Views:	148
Size:	365.4 KB
ID:	56454  
rgleason is online now   Reply With Quote
Old 08-03-2013, 07:46   #222
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Mercator, with OpenGL, Maritius mercator

(Hint: on images, hoover over image and see the title of the image which helps explain. -Also above.)

First set coords
with Upper Red coords set on lower right corner (because that is towards south pole?)
and Lower Blue coords set on upper left corner.
Entered coords as I thought they should be and Finished.
Image was stretched.

Then reversed the Coords
Upper Red coords set on upper left
Lower Blue coords set on lower right
Also changed the lat/longs.
Finished and still stretched.

Then reversed the longitudes and Finished.
The image was not stretched, but I am not sure if it was in the correct location.

When working with southern mercators it is confusing.
How do we apply the tools to get it right?

I would like to have some color on the right menu
(Coord #1 Values on top - Red)
(Coord #2 Values on bot - Blue)

Okay I made a stupid error. EAST is PLUS!
See the last screenshot

Maybe have some reminder, or is this too rudimentary?
East of Greenwich is +
West of Greenwich is -
North of Equator is +
South of Equator is -
Mercator projections can we pick
Coord 1=red = upper left
Coord 2=blue= lower right
for both North and South Hemispheres?
Looks like yes. Maybe we should say so?
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Maritius-1-Applied.jpg
Views:	114
Size:	334.3 KB
ID:	56456   Click image for larger version

Name:	Weatherfax-Maritius-2-Finish-StretchedFax.jpg
Views:	317
Size:	342.7 KB
ID:	56457  

Click image for larger version

Name:	Weatherfax-Maritius-3-Applied-Coords-Reversed-Red-Upper-Left.jpg
Views:	179
Size:	357.5 KB
ID:	56458   Click image for larger version

Name:	Weatherfax-Maritius-4-Finish-Still-Stretched-what-is-wrong.jpg
Views:	172
Size:	345.8 KB
ID:	56459  

Click image for larger version

Name:	Weatherfax-Maritius-6-Finish-Reversed-Longitude.jpg
Views:	423
Size:	307.9 KB
ID:	56460   Click image for larger version

Name:	Weatherfax-Maritius-5-Apply-Reversed-Longitude.jpg
Views:	168
Size:	331.9 KB
ID:	56461  

Click image for larger version

Name:	mauritius.jpg
Views:	162
Size:	63.4 KB
ID:	56462   Click image for larger version

Name:	Weatherfax-Maritius-7-Resolved-East-is-PLUS.jpg
Views:	320
Size:	409.9 KB
ID:	56463  

rgleason is online now   Reply With Quote
Old 08-03-2013, 07:53   #223
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Polar Projections Suggestion:
Have the Red coordinates show a Red Arrow in the direction of the Pole!!!!
with a note that the red arrow has to point in the direction of the pole (north or south)

Sorry, you have the note for
N+, S-, E+, W-
rgleason is online now   Reply With Quote
Old 08-03-2013, 08:18   #224
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Suggestion.
Keep left margin coords and lat-long
Identify them with appropriate color (red & blue)
After coords are selected possibly have
these colored arrows appear in the right margin
alongside the image.
^ [red arrow up]
v [red arrow dn]
[IMAGE OF FAX HERE]
^ [blue arrow up]
v [blue arrow dn]
< > [red arrows] < > [blue arrows]
In small area under image, colored arrowsappear after
coords are picked.
rgleason is online now   Reply With Quote
Old 08-03-2013, 08:42   #225
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: WeatherFax...

Maybe the red & blue arrows that appear on the margin should be on the left side, so scroll appears on the right side.

Also it looks like you may be planning on putting the Coord Mapping Correction in the left margin under Coords setting... sort of like this?
Input type [dropdown]
Output type Mercator
Size [input]
W/H [input]
Pole X input ^v
Pole Y input ^v
Equator Y input ^v
Get Mapping button [greyed out in mercator or when not used]
True width ratio [Input]
Information button
Apply (before finish) or Reset Button
rgleason is online now   Reply With Quote
Reply

Tags
paracelle


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
For Sale: SSB, Tuner, Amp, WeatherFax Palarran Classifieds Archive 7 19-03-2011 07:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 20:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 21:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 14:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 13:28

Advertise Here


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


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.