lot of flickering in my awayd3D project ;(

23 views
Skip to first unread message

Necrosoft

unread,
Nov 6, 2008, 7:47:07 AM11/6/08
to away3d.dev
hi

I have a lot of flickering in my awayd3D project ;(

All my items, in my world, have flickering when I turn my camera. It
hurts the eyes ;(

with Renderer.CORRECT_Z_SORT , my engine is very too slow ;(
... and the problem is still there.

a soluce please ?

Very very thanx in advance ;o

Mango

unread,
Nov 6, 2008, 11:02:39 AM11/6/08
to away3d.dev
Could you post a file or a link so that we can see the problem?

Thanks

Peter Kapelyan

unread,
Nov 6, 2008, 11:39:05 AM11/6/08
to away3...@googlegroups.com
I think there was a problem like that a month ago with .alpha, which was fixed...are you sure it's the latest version?

-Pete

--
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Necrosoft

unread,
Nov 6, 2008, 1:05:23 PM11/6/08
to away3d.dev
thanks Mango, thanks Peter

I have tested with the latest version : same problem .
I prepare a link to see the problem.




On Nov 6, 5:39 pm, "Peter Kapelyan" <flashn...@gmail.com> wrote:
> I think there was a problem like that a month ago with .alpha, which was
> fixed...are you sure it's the latest version?
>
> -Pete
>

Necrosoft

unread,
Nov 6, 2008, 3:22:50 PM11/6/08
to away3d.dev
hi

simple example :

http://necrosoft.free.fr/flickering/Flickering.swf

It's a HoverCamera3D that operates as a Camera3D (moveforward,
moveleft ...).

I exactly forward position (x, y ) / rotation (x, y ) from Camera3D to
HoverCamera3D
and from HoverCamera3D to Camera3D in Real-time, in the same scene and
without visual interruption.

to view : mouse
To move : arrows keyboard (dont 't forget to click in frame for
activate walk)

My problem is that I have a lot of flickering in black picture when I
turn my camera. It hurts the eyes ;(

The problem is not my "special camera", I test with only Camera3D or
HoverCamera3D. I have
the same problem.

weakness of away3D ? all items in the same container ?
Renderer.CORRECT_Z_SORT ? ownCanvas=true ?
add GlowFilter ?

hum ..very very very thanks in advance !

marco

Peter Kapelyan

unread,
Nov 6, 2008, 3:29:39 PM11/6/08
to away3...@googlegroups.com
Hi Marco,
 
I tried 4 different Standalone Flash players (9 and ten) also tried firefox online, none of them show flickering!
 
Are you sure you are not talking about a slow redraw of your video card? because I see no flickering...please take a screenshot if you can... Did you try a different machine and /or Flash player?

-Pete

Necrosoft

unread,
Nov 6, 2008, 4:08:10 PM11/6/08
to away3d.dev

thanks Pete for quick answer !

none of them show flickering ! hum .. incroyable ! ,(

slow redraw of my video card? Hum .. I test in differents machines
(geforce 7/8 )
and with differents Flash player (9 / 10 ) > Same result .

In my work , at home , I have flickering in the black picture (the
edges particulary)
when I move QUICKLY my mouse horizontally (right to left ou left to
right )

Sorry , I'm french flickering is for me : jumpiness , flutter ..
Haha , my english is more and more bad ;o

screenshot , impossible : image too fast ! no flickering is visible ;
(

I will see the settings for my video card.

thanks
marco
> > > > HTTP://AWAY3D.COM <http://away3d.com/>

Peter Kapelyan

unread,
Nov 6, 2008, 4:19:38 PM11/6/08
to away3...@googlegroups.com
Hi Marco,
 
Yes I see it also, but I think this has to do with Screen Refresh/Redraw....

I see what you are talking about ALOT, especially on this LCDS screen, some screens seem to take long to draw black....or certain colors.

Anyhow I am 101% sure this has nothing to do with Away3d.
 
Try opening photoshop, make a large white background. Then make a black box and drag it around the screen - you should see exactly the same thing! And likewise a grey background + a white box etc...
 
So Unfortunately this is due to screen redraw/refresh :(
 
Luckily however it's not a bug in away3D.

A way you cna know for sure is to try to take a screenshot of that flicker - it should be impossible because it's not "really" happening, it is just the LCD/monitor "shows" it that way.

-Pete

Necrosoft

unread,
Nov 6, 2008, 4:44:28 PM11/6/08
to away3d.dev
Pete

just two words: good explanation !

you're absolutely right.

thank you for taking time to answer me with as much detail.

Very nice of you
very
Marco


On Nov 6, 10:19 pm, "Peter Kapelyan" <flashn...@gmail.com> wrote:
> Hi Marco,
>
> > > > > > HTTP://AWAY3D.COM <http://away3d.com/> <http://away3d.com/>

Fabrice

unread,
Nov 6, 2008, 4:55:03 PM11/6/08
to away3...@googlegroups.com
je crois que Peter a raison, je vois pas de default 3D. Plutot un
probleme de rafraichissement de l'ecran.
mais en effet sur le macbook, le redraw decoupe ton object Plane en
bougeant rapidement.
Ajoutes pour voir, quelques objects en plus, et ne place pas de
couleur trop accentuées sur ces objects.
quelle qualité de player a tu mis? fps swf?

Fabrice

Necrosoft

unread,
Nov 6, 2008, 5:21:29 PM11/6/08
to away3d.dev
Salut fabrice

Merci pour ton test.

Peter a complètement raison. J'ai fait entièrement fausse route .
Le test avec photoshop est tres parlant. C'est effectivement un
problème de rafraîchissement d'écran.

Cette scène comporte initialement une trentaine d'objets. J'ai cet
effet de scintillement sur tout les objets.
"Pas de couleur trop accentuée" , ok , je vais voir cela.

Je vais essayer de diminuer la vitesse de défilement également.

Qualité du player, j'ai testé les 3. Aucun changement.

Merci encore !

marco

////////////////////////////////////////////////////////////////////////////


Hi fabrice

Thank you for your test.

Peter was completely right. I completely wrong.
The test with photoshop is very understandable. It's indeed a problem
of refreshing screen.

This scene has initially thirty objects. I have this flicker on any
objects.
"No color too pronounced", okay, I will see that.

I will try to reduce the frame rate as well.

Quality player, I tested the 3. No change.

Thank you again!

marco

Peter Kapelyan

unread,
Nov 6, 2008, 5:28:20 PM11/6/08
to away3...@googlegroups.com
Marco,
 
I am glad to help. I also took 8 years of French in school , but my French is not as good as your English - so do not feel bad! :)
 
I think if you finish your game, add more stuff etc, you will not notice that much!
 
People (and you) will pay more attention to the game /scene itself.

If anything can help, it's not too move the screen too fast, because a fast moving scene will cause headaches usually even without flickering :P
 
-Pete

Necrosoft

unread,
Nov 6, 2008, 5:39:34 PM11/6/08
to away3d.dev
Peter,

Your French is not as good as my English, I have a secret : Google
translation:)

headaches ! hum ... my project will be given with aspirin ;)

Again thanks for your advice !

Marco
> > > >>>>> HTTP://AWAY3D.COM <http://away3d.com/> <http://away3d.com/>

Fabrice

unread,
Nov 6, 2008, 5:51:30 PM11/6/08
to away3...@googlegroups.com
another possible way to avoid some of those artefact is synch the swf rate to the movements
you could try use the TimeBase class for this and set the fps value to swf rate.

Fabrice

Necrosoft

unread,
Nov 6, 2008, 5:58:26 PM11/6/08
to away3d.dev

TimeBase class ... Hum ... I'll see it immediately !
Merci !

On Nov 6, 11:51 pm, Fabrice <fabric...@gmail.com> wrote:
> another possible way to avoid some of those artefact is synch the swf  
> rate to the movements
> you could try use the TimeBase class for this and set the fps value to  
> swf rate.
>
> Fabrice
> On Nov 6, 2008, at 11:28 PM, Peter Kapelyan wrote:
>
> > Marco,
>
> > I am glad to help. I also took 8 years of French in school , but my  
> > French is not as good as your English - so do not feel bad! :)
>
> > I think if you finish your game, add more stuff etc, you will not  
> > notice that much!
>
> > People (and you) will pay more attention to the game /scene itself.
>
> > If anything can help, it's not too move the screen too fast, because  
> > a fast moving scene will cause headaches usually even without  
> > flickering :P
>
> > -Pete
>
> > On Thu, Nov 6, 2008 at 5:21 PM, Necrosoft <necrosof...@gmail.com>  
Reply all
Reply to author
Forward
0 new messages