Hi,
still can't really believe I fiddled through all those fortran translation libraries and scientific code comments (tap on my own shoulder) but somehow I made it work...
I now have a 3D model of earths internal and external magnetic fields by traced field lines every 72° longitude (pentagon) and every 9° latitude (I only need the the Northern Hemisphere since the lines connect to S) and up to 250 points each... which is as small as I found I could go, without provoking computation warnings. Of course I could also completly ignore the longitude and only trace the ones which are strictly parallel to the solar wind thus, drawing a 2D profile of the magnetoshere.
As expected its a hard hit on performance and I now get around 1.6 fps as opposed to 30+ as before.
Therefore my question would be if its possible to maybe run it as another thread (I have no idea of such programming concepts in c++, unfortunately), possibly even on the other core of my cpu ?
Otherwise, it would also be good to run another thread with a renderbar and stop the simulation updates so one can explore a high resolution model with decent frame rates. Maybe RTT image sequences would also be cool...
Any basic information on how to make new threads, links to some reading, anything.
thx in advance...
