NOAA GOES 15 & 13 - Satelite Weather Recorder and Time Lapse.

Previous topic - Next topic

mentalthink

Hemlos don't you think put the image in a real 3D sphere?¿, I look the map only it's part of South and Nort America, but I suposse the nasa will give all the globe complete...

Really it's very awesome the things can do GLBasic, this can be very good Demo can do the soft, not all have to be games...

Very very inetersting.

Hemlos

@MT
Nah, other than noaa 15 and 13, they only show one other map that i can find, for europe and it isnt that great, just europe and north africa.
Aside from that, i would need the maps to be square not round to paste it to a sphere.
I love the idea though and i will certainly keep it in mind if i find more data resources on the web.

@All
I have tested the current version, with not much difference in bugs.
I cant find the memory leak, and my current code is rock solid, from what i can tell...debugger is OK with everything too.
I think it might be LOADSPRITE, or NETWEBGET....i need to do many more tests to get to the bottom of this issue to be certain.

Still getting that C++ Microsoft runtime error too, when my ram hits around 47% used of 8 gb.
Im going to reactivate my swap to see if this is the problem...although i dont like running that with an SSD. :rant:
My spidey senses are detecting at least 2 bug reports in the near future.

@fuzzy (or anyone that can fit into this test here that i describe below:
Do you have any programs you wrote that you can test, maybe games and run it for an hour or two (match time ran, runtime test) to test if you get a memory leak with some arbritrary glbasic binary other than this program?
Im just curious to see if its a compilation error with GLBasic or something.
A program with jpg images and maybe type definitions would be ideal to test this.

Bing ChatGpt is pretty smart :O

Hemlos

Screenshot of the ms c++ error
I show my whole desktop...and you will notice i run nothing special on this computer...its a very clean windows 7.
Bing ChatGpt is pretty smart :O

fuzzy70

I'll see what I can find, I know for a fact though that I have no programs that use jpgs as I rarely use them. One thing that springs to mind is the isometric type landscape using fbm & noise, that's a cpu hogger or my mandelbrot generator is another. Nearly all my other programs don't really do much without user input.

Btw done a test of your program again (same version as I tested last time) but this time booted into windows 7 x64. Left it for around same time as last however memory usage was more than double my previous test & also suffered the black screen from restoring from being minimised. Previous test was done in windows 8.1 x64, same pc & gfx drivers etc just have dual boot.

Lee
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

mentalthink

No Hemlos I cooment done in 3D becuase don't have to be too much problem...

If you take a look to this image:

Yo can see a unwrapped Sphere, if you put with this unwrap your images each in each "plane Sphere" you will have a 3D sphere but textured , the only problem I think will be adjust each emisphere, but perhaps putting another layer over and painting something in a.png can solve the problem, ok it's a patch but can works.

I think done a sphere without too much polys can reprudice the texture in real time, or leabing the text at 512x512.

PS: The image about unwrao doens't square but not it's problem done in any 3D soft.

Hemlos

Hey pretty cool mentalthink.
I did understand exactly what you meant in the first place.
The problem is the images i am getting ...both...together...equal only half the earth.
Thats 2 spherical images = 50% of the planet.
To make it work, one of these would need to be half the earth, and the other would need to be the backside(from my perspective, no offense to asia and europe, *chuckle* ) of the earth.

btw..uploading new update, this one make it compatible on all monitors(for fullscreen anyhow)
Plus, my core library grew 2 new objects, woo! lib_Info_Object_ and lib_IO_Object_ ..these provide I\o and Screen info.
Bing ChatGpt is pretty smart :O

Hemlos

hey MT do you have a sphere.ddd with those texture coords in it?
i use a sphere in AGOSA but the mapping is a square that wraps incorrectly for this.
the map on my sphere will wrap a square across it horizontally
Bing ChatGpt is pretty smart :O

mentalthink


Hemlos

thanks mt

edit:
Quote
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   NOAAGOES.exe
  Application Version:   0.0.0.0
  Application Timestamp:   541155bf
  Fault Module Name:   NOAAGOES.exe
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   541155bf
  Exception Code:   40000015
  Exception Offset:   000fa2aa
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:   1033
  Additional Information 1:   a4e0
  Additional Information 2:   a4e07350d6f1cbce82f87fcf9f84379f
  Additional Information 3:   ad77
  Additional Information 4:   ad774b102cd27dbbb0b00716e3f239f8
this is the windows error message i get when it crashes.
i have optimized the program, there are no explicits, and no overstacks.
Bing ChatGpt is pretty smart :O

Hemlos

Alrighty..i dont like "making due" when the power is RiGhT there.
However, i dont really have a choice.
Ive come to terms with this project and will have to split it up.

As moru suggested, run a host in a terminal, and i did with success.
It even runs in a terminal on linux.linux compile, perfect for a host.
So i set it up on an OLD(7 or 8 years old now) ibm compatible pc using linux mint 17 mate, 32 bit OS.

Now i need to setup a viewer, should be easy, its mostly done as it were.
Unfortunetly i tried everything i can think of and cant nail down this memory leak.
BTW i did have this leak in linux too...so its either opengl itself, or perhaps the internal structure of a glbasic command.
Furthermore, i will be continuing to test this problem with new software that im planning on.
I am very patient and will sniff it out like a blood hound, woof.

I brainstormed up a new function to work with console/terminal windows, i named it _GETTIMER()
Which allows for a timer to work the same way as GETTIMER() where is reports the milliseconds per frame.
Without showscreen, it even works in linux compiles...and its purely glbasic code.
I added  this to the next update for SVSAPI, which is a function inside the lib_terminal_object_ module.
If you want to be techinical like this, just return PassesPerSecond instead to recieve fps instead.

Just call this function at the end of a main loop or something and stdout the output to see the frametime, note, not fps:

Code (glbasic) Select
FUNCTION _GETTIMER:
//GETTIMER() returns frametime in ms.
// this doesnt work in a console\terminal because it is depandant on SHOWSCREEN.
//...SO we make one from system time, to be used in a looping routine, in a console.
// In a way, this function essentially replaces GETTIMER() and eliminates the need for SHOWSCREEN.
// One thing to note....it only updates one time per second. However, the response seems to be very accurate.
// SLEEP can be used along with this function, just dont sleep longer than >= one second.
// You can run a console at 10fps by SLEEP 100, and you can prove it with this function.
// There will be fluxuations in the response, and that will be due to your own code causing delays on the memory and/or the cpu.
STATIC PassesPerSecond%, Passes%
STATIC TimeOfLastPass$, TimeOfThisPass$
INC Passes, 1
TimeOfLastPass$ = TimeOfThisPass$
TimeOfThisPass$ = self.TIME_._Get_Seconds$()
IF TimeOfLastPass$ <> TimeOfThisPass$  //detects a new second from the system.
PassesPerSecond = Passes
Passes = 0
ENDIF
self.FrameTime = (1000/PassesPerSecond )
RETURN self.FrameTime
ENDFUNCTION
Bing ChatGpt is pretty smart :O

Moru

When running on Linux, set up a schedule ("crontab -e" on ubuntu) to run your program every x minutes. No problems with memory leaks that way.

Hemlos

Cool thanks moru, ill check that out for other purposes, but it isnt leaking on linux in a terminal as it is.
Im just stirring the pot moru, the point isnt to stop a memory leak for this one app.
The point of reporting this issue in this beta thread is to try and drum up help from the community; to help identify the cause, whether it occurs in any/all programs, or some command, and share them with G in a better bug report.
So far i have only been able to identify the single fact that it is occuring ONLY in Opengl graphical programs.
It isnt NETWEBGET either....my host has been running it for over 24 hours now without a single megabyte of memory being lost.

Id like to run a game server host with GLBasic's opengl graphics.
Between this memory bug and the blackout bug....GLBasic is definetly not able to do it graphically, indefintely, on any OS.
The memory leak has been reported to be experienced on windows 7, windows 8, and linux.
Bing ChatGpt is pretty smart :O