PDA

View Full Version : Some final glitch to fix before the demo...


fabrizio.giudici
06-06-2007, 01:01 PM
Hello.

In a few weeks I'll be demonstrating my application at Jazoon, and definitely WW will be part of the show. At the moment I have two issues (a bug and a possible new feature) that I've to address before I can close the thing (and sleep well at night :-) ).

First, the code I've used for showing geo-referenced photos (using UserFacingIcons) works fine _but_ produces severe flickering. I mean that it renders a frame ok, then it renders a completely white frame, then another good frame etc... It looks like it spends a lot of time while rendering the white frame since it completely jeopardizes the smoothness of the animation. Where should I look?

Second, if it was possible to quickly add a rendering of the Moon (I mean, accessing the surface data), I could add another use case in my app. I have integrated WWXMLLayer by Patrick Murris in my app, so if the moon data were available as an XML Layer it should be easy.

Thank you in advance.

fabrizio.giudici
06-06-2007, 03:13 PM
BTW, it only happens with Mac OS X... on Windows XP it's fine...

Unregistered
06-06-2007, 06:43 PM
I'm having the same problem with icons. See my post:

http://forum.worldwindcentral.com/showthread.php?t=9627

Title: WorldWindowGLJPanel and CompassLayer problems?

I know the thread isn't related completely, but I experience the same flicker in CompassLayer with icons.

As background, I'm also running MacOSX but have yet to try the code under Windows and Solaris. I'll do that today to see if the flicker presents itself on windows. If it doesn't; this 'could' be a problem with JOGL for OSX because I've come across a few other oddities that happen solely in OSX. Again, I'll try running my icon code in windows, and I may even have a potential fix later (I'll post again with an update).

jeremy

patmurris
06-06-2007, 07:55 PM
Here is the Moon Images.xml :
https://svn.sourceforge.net/svnroot/nasa-exp/trunk/wwinstall-1.4/Install/Config/Moon/@Images.xml

Edit : be aware that the cache path is hardcoded to 'Earth' in the actual WWXMLLayer class.

tag
06-07-2007, 04:01 PM
It's hard to say what's going on without knowing more. We haven't seen any Mac-specific problems other than with GLJPanel. (You're not using that, are you? It's not working in WWJ yet, mainly due to cross-platform limitations.) I can tell you that icons are drawn by IconRenderer after all other geometry is drawn, and their drawn in depth order (back to front). How and from where are you rendering the icons? Can you point me to some code, or send/attach your application.

fabrizio.giudici
06-07-2007, 06:01 PM
@tag, @unregistered thanks, at the moment I just wanted to know that there's no known issue. Tonight I'll try to narrow down the problem and will let you know.

@pat, thanks, I'll try it tonight too :-)