![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
![]() |
A few weeks ago I found that in certain cases putting UserFacingIcons on the Earth model caused severe flickering with Mac OS X.
After some investigation, I can confirm that the problem happens only with Mac OS X, and in particular only with icons larger than 16x16 (this is why the original code by Pat Murris worked). If the icons are just a bit larger (e.g. 17x17), in the method: Code:
private Point drawIcon(DrawContext dc, OrderedIcon uIcon) Code:
dc.drawUnitQuad(texCoords); For my demo of Tuesday I've applied a quick-and-tragic workaround, that is I've reduced my photo icons to 16x16. But it's really small :-( even though it wouldn't severely impact my demo. Any quick hint?
__________________
-- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941 Last edited by fabrizio.giudici; 06-24-2007 at 10:53 PM. |
|
|
|
|
|
#2 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Could it be related to non power of two texture sizes ?
Does it flicker with say 64x64 ? |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
![]() |
YES!! :-) 128x128 works and now I can make a workaround that won't have any visual impact. :-)))
I definitely have to pay you a beer! I'm not sure yet if you live in Canada or Côte d'Azur - in the latter case I could pay my debit somewhat quickly...
__________________
-- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941 |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
![]() |
Ok, my fix works. This makes me happy for a while.
Now, do you believe it's a WWJ bug or a JOGL bug? I'd like to file a bug, so I will be able to remove my fix in future.
__________________
-- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941 |
|
|
|
|
|
#5 |
|
Member
Join Date: May 2007
Posts: 57
![]() |
Patmurris is the man ! I will try to add 'photos point' like gEarth with your advices.
|
|
|
|
|
|
#6 | ||
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Quote:
![]() Quote:
Having all your textures with POTs dimensions is certainly the safest way. |
||
|
|
|
|
|
#7 |
|
Senior Member
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
![]() |
Drop me a line when you're going to go to Nice...
__________________
-- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941 |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jul 2007
Posts: 19
![]() |
I just started seeing this problem as I'm doing tests on MacBooks and MacBook Pros. It seems that the flickering problem occurs on the Pro but not on the normal MacBook.
|
|
|
|
|
|
#9 |
|
Guest
Posts: n/a
|
no, it occurs on the macbook also.
I've had a flickering problem while using java based games. |
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reg compiling the source code | Raj | Developers' Corner | 10 | 08-26-2008 06:58 PM |