Animation flicker

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Animation flicker

David Williams
Since the last major release (or soon before it) I'm pretty sure Animation has changed for the worse.

Currently on Mac and Linux (nightly and release) animation flickers quite considerably more than it used to.  I don't think that it's running any slower, I think, perhaps, the screen is being cleared a bit too early?

I just went back to version 2013.01+dfsg-2.2 and although most of my code didn't  run, (children() spoil everything) what did show up was smooth and flicker free.  Back on the current release, showing only that which displayed on the old version, the display still flickered.

It's a bummer, because animation was rocking my world.

I have some pretty crappy video that shows the problem on my machine.

https://www.dropbox.com/s/47yvwiv123408z9/os_flicker.MOV?dl=0

The video starts and ends at full speed with a slo-mo section in the middle.  I hope this helps.  I'd really like flicker free animation back!
Reply | Threaded
Open this post in threaded view
|

Re: Animation flicker

Whosawhatsis
Noticed the same thing, seems like it's clearing the window when it starts rendering the new frame rather than waiting until it's ready to display. Lowering framerate leaves the image up longer, making it more usable, but it's not a good solution.

On Tuesday, March 24, 2015 at 21:49, David Williams wrote:

Since the last major release (or soon before it) I'm pretty sure Animation
has changed for the worse.

Currently on Mac and Linux (nightly and release) animation flickers quite
considerably more than it used to. I don't think that it's running any
slower, I think, perhaps, the screen is being cleared a bit too early?

I just went back to version 2013.01+dfsg-2.2 and although most of my code
didn't run, (children() spoil everything) what did show up was smooth and
flicker free. Back on the current release, showing only that which
displayed on the old version, the display still flickered.

It's a bummer, because animation was rocking my world.

I have some pretty crappy video that shows the problem on my machine.


The video starts and ends at full speed with a slo-mo section in the middle.
I hope this helps. I'd really like flicker free animation back!



--
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Animation flicker

PolyVinalDistillate
In reply to this post by David Williams
I noticed this as well some time back on a new version. Exact version number unknown, but I did wind up returning to the old version I downloaded over a year ago because the animation was more useable!
Reply | Threaded
Open this post in threaded view
|

Re: Animation flicker

PolyVinalDistillate
I can definitely verify this issue in the most recent release of OpenSCAD. It looks like double-buffering has been disabled for the 3D viewport. This hampers use of the animation system to test inverse kinematics equations for CNC machine designs (e.g. for my slightly non-standard delta printer designs).
Reply | Threaded
Open this post in threaded view
|

Re: Animation flicker

Whosawhatsis
Also, old versions used to cache more data, so once every frame had been compiled once, it could be displayed more quickly and smoothly the next time around until something changed. Recent versions don't seem to do this.

On Friday, March 27, 2015 at 04:15, PolyVinalDistillate wrote:

I can definitely verify this issue in the most recent release of OpenSCAD. It
looks like double-buffering has been disabled for the 3D viewport. This
hampers use of the animation system to test inverse kinematics equations for
CNC machine designs (e.g. for my slightly non-standard delta printer
designs).



--
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Animation flicker

David Williams
In reply to this post by David Williams
I have added this to the GitHub issue tracker.

https://github.com/openscad/openscad/issues/1284

Reply | Threaded
Open this post in threaded view
|

Re: Animation flicker

David Williams
Sorry to waste forum bandwidth, but...

Thank you so much for fixing this! I downloaded the nightly build and we're back to buttery smooth animation again.  So happy!
Reply | Threaded
Open this post in threaded view
|

Re: Animation flicker

jdawgaz
just downloaded latest snapshot version. thanks for fixing this, in such a timely manner.


Jerry

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. 
- Anonymous

If writing good code requires very little comments, then writing really excellent code requires no comments at all!
- Ken Thompson


On Tue, Apr 14, 2015 at 8:43 AM, David Williams <[hidden email]> wrote:
Sorry to waste forum bandwidth, but...

Thank you so much for fixing this! I downloaded the nightly build and we're
back to buttery smooth animation again.  So happy!




--
View this message in context: http://forum.openscad.org/Animation-flicker-tp12199p12367.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org