Using W7
Opengl: I only get the weatherfax pic (.tif downloaded with Airmail/viewfax) when selecting 'inverted'
Legacy display: fine without inverting
(see pics)
How is performance? legacy is probably slower?
When you change transparency does it work at all in opengl not inverted?
Quote:
Request: being able to specify a lat/long template instead of using the calibrating procedure.
This will be added in the next version
Quote:
Re: UK weatherfaxes (downloaded with i.e. Airmail/viewfax) They use a polar stereographic projection, and I have little hope they can be displayed with OpenCpn.
Many thanks, Pavel...
If someone could explain to me the transformation required to convert it from polar stereographic mercator, I would add this and make it possible to to display these. Otherwise I might get to researching this but it's low priority at the moment.
Quote:
Originally Posted by cagney
Kubuntu 64 bit 12.10
I compiled my own. No problems.
All proceeds well until it's time to actually display the fax. This is what I get. Attachment 54758
??
I tried to turn of OpenGL. not surprisingly the app crashed.
Thomas
Quote:
Originally Posted by rgleason
Thank you sailor54. Downloaded pwam99.tif put in FaxWx directory.
In OpenCpn 3.1.1405 using weatherfax_pi.dll plugin compiled by Pavel.
Was able to open Weatherfax icon, browse to FaxWx directory, could not see tiff file until I selected "all files". Might want to add "*.tiff" to supported image files. Then changed file to "*.tif" and it shows up under suppported image files.
will have this in the next version
Quote:
Set Coordinates view. Picked "Set Coordinates" Hit ok.
Picked 30n 90w enter 30 then -90
Picked 60n 0 enter 60 then 0
Then OK fax coord entry window goes away
Leaves Weather Fax popup window showing the file highlighted.
Now the Opencpn chart area screen is getting corrupted by other stuff.
I close the Weather Fax popup and it goes away, the fax does not come up in Opencpn which I think is supposed to happen, and the corruption of the chart window continues. I havve to shut down Opencpn now.
Here is a view of Opencpn
I've turned off OpenGL and also have tried it when on.
This is a Dell XPS15 Laptop with Nvidia Geforce GT 540M
Hmm.. so all goes well until it needs to render. Could you try with a smaller image and see if the result is the same? Try something less than 1000 pixels in either dimension.
Quote:
Originally Posted by ChuckSK
I cloned Nohal's weatherfax_pi.git with his windows fixes. With one small change it compiled and ran OK. PCM.cpp lines 42,43,44,45 change "isnan" to "_isnan".
1. Testing with noaa gifs, a large file will cause an error at weatherfax_pi.cpp line 246. If the file is cropped to about 1200X750 it works fine.
2. Using OpenGL I also noted that the image must be inverted to display.
Interesting, you seem to have the same issue as sailorF54. I will look into the non-inverted display issue on opengl closer.
With the wide range of different results for different people it is proving to be difficult to develop this plugin. I keep reporting the issues, and I'll try to have an update soon which should help resolve things.
Anyone tried with audio files yet? (not going to work on windows with prebuild dll)
When you change transparency does it work at all in opengl not inverted?
The position of the pic area is clearly visible with non inverted Opengl (see pic)
Could you try with a smaller image and see if the result is the same? Try something less than 1000 pixels in either dimension.
Using a small tif (316 x 250) doesn't make any difference (OK under legacy, only inverted with OpenGl (see pic)
This is a Dell XPS15 Laptop with Nvidia Geforce GT 540M
Hmm.. so all goes well until it needs to render. Could you try with a smaller image and see if the result is the same? Try something less than 1000 pixels in either dimension.
cmake ..
looked pretty good
cmake --build .
had 253 warnings and 4 errors
\plugins\weatherfax_pi\src\libaudiofile\modulles\P CM.cpp(42) error C3861: isnan: identifier not found ...weatherfax_pi.wcxproj
same ... PCM.cpp(43) same
same ...PCM.cpp (44) same
same ...PCM cpp (45) same
When compile MS VC++ 2010 Express Debug > Build
see two attached files.
It made a new weatherfax_pi.dll
and place it in
C:\Data-Dart....\Navigation\opencpn-git\build\plugins\weatherfax_pi\Release
Copied weatherfax_pi.dll to
C:\Data-Dart\...\Navigation\OpenCPN 3.1.1405\plugins
to test in Opencpn 3.2.2405
Are there any other files needed from the
C:\Data-Dart....\Navigation\opencpn-git\build\plugins\weatherfax_pi\Release
That the plugin needs? Or is everything in the dll?
The above was done with Dell XPS15 Laptop with Nvidia Geforce GT 540M with Win7
with OpenGL checked in OpenCPN and with no special instructions regarding use of the Geforce Gt 540M other than to use OpenGL.
Next I went into NVIDIA software and made a special setting for OpenCPN 3.1.1405 exe program to use Intel Integrated Graphics rather than the NVidia card and I turned off OpenGL in Opencpn 3.1.1405
The weather fax window did not corrupt after adding the first fax, so I was able to add two more, but highllighting the faxes does not do anything. Double click does nothing. No fax shows up. How do we execute a fax to get it to show on the screen? Or should it just appear with no command?
This is getting pretty frustrating for Sean as well as me. I am sorry.
Okay, I tried Checking OpenGL in Opencpn 3.1.1405 with the Graphics program override so that OpenCPN is still using Intel Integrated Graphics. So the program is using Intel Integrated Graphics with OpenGL.
The Weatherfax Popup started corrupting again after adding the first fax. When I don't have OpenGL checked in Opencpn, I can add multiple faxes and move the Weatherfax popup around without corruption, however the faxes do not show up.
When I shut the Weather fax Popup and reopen it the Faxes are still showing and I can highlight each one (but nothing seems to happen).
When I shut down the weather fax poppup and then shut down Opencpn, the two faxes are lost and have to be reselected and coordinated positioned.
It would be more useful if they were only deleted when we select them to be deleted.
Just to be clear, I have no been abble to get the faxes to appear over the charts in transparency.
Inverted thing was a bug introduced from changes to make it compile with visual studio. Fixed now
Quote:
Originally Posted by rgleason
Okay, I tried Checking OpenGL in Opencpn 3.1.1405 with the Graphics program override so that OpenCPN is still using Intel Integrated Graphics. So the program is using Intel Integrated Graphics with OpenGL.
Does this computer have both intel and nvidia graphics cards or something? Do you physically switch the monitor cable as well? Do you have a machine with only a single card?
Quote:
The Weatherfax Popup started corrupting again after adding the first fax. When I don't have OpenGL checked in Opencpn, I can add multiple faxes and move the Weatherfax popup around without corruption, however the faxes do not show up.
What version of wxwidgets are you using? It is possible that wxImage::GetSubImage is not properly implemented on your version which would explain it.
Quote:
When I shut the Weather fax Popup and reopen it the Faxes are still showing and I can highlight each one (but nothing seems to happen).
When I shut down the weather fax poppup and then shut down Opencpn, the two faxes are lost and have to be reselected and coordinated positioned.
It would be more useful if they were only deleted when we select them to be deleted.
you mean to save between sessions of opencpn? this is planned but not yet implemented
Quote:
Just to be clear, I have no been abble to get the faxes to appear over the charts in transparency.
yes, opengl is needed for partial transparency though it may be possible to implement in legacy mode.
I have updated the git.. but wait another day or two and there should be substantial improvements as I am adding a new interface and many options.
If the fax image is scrolled while the coordinates are being set GetSubImage fails.
This occurs with both gif and wav files and with opengl or not.
Very enlightening... So if the image is not scrolled, or is in the upper left on both bars it works? Also, can you check if the parameters passed to GetSubImage are valid?
If the image is not scrolled it works. An image with scroll bars will work if the image is not scrolled or returned to the non-scrolled position. The parameters seem to be valid.
Does this computer have both intel and nvidia graphics cards or something? Do you physically switch the monitor cable as well? Do you have a machine with only a single card?
Dell Laptop XPS15 with onboard Intel bleIntegrated Graphics and Nvidia Card.No cable to remove.
---------
Quote:
The Weatherfax Popup started corrupting again after adding the first fax. When I don't have OpenGL checked in Opencpn, I can add multiple faxes and move the Weatherfax popup around without corruption, however the faxes do not show up.
Quote:
What version of wxwidgets are you using? It is possible that wxImage::GetSubImage is not properly implemented on your version which would explain it.
C:\wxWidgets-2.8.12
Opencpn compiles in Build Release or Debug. Charts work Faxes can be overlayed as Kap files, etc. are you telling me wxImage::GetSubImage isn't working, when Opencpn is? How do I test or check if wxImage::GetSubImage is correct? or exists?
------------
I have gotten the Debug version of Weatherfax working now, so I can debug it. This evening I started by entering lat long and there was a break and the program stopped. Tried to capture image of code, but lost it and program forced a shutdown due to low memory in computer.
What information screens will you want when I run this tomorrow?
Very enlightening... So if the image is not scrolled, or is in the upper left on both bars it works? Also, can you check if the parameters passed to GetSubImage are valid?
Changing all occurrences of CalcUnscrolledPosition to CalcScrolledPosition fixed the problem.
I spoke to soon. The change allows the image to appear, but it is not complete. The scrolled part of the image is missing.