Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Mass redrawing for no obvious reason

For general discussion related FlowStone

Mass redrawing for no obvious reason

Postby tulamide » Fri Jan 23, 2015 5:32 pm

Since I already missed the info on how Flowstone deals with interpolation while drawing, I might have missed something here, too.

Can someone explain this to me (see fsm and follow exactly the comment)?
Attachments
redrawing.fsm
(1.2 KiB) Downloaded 750 times
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Mass redrawing for no obvious reason

Postby MyCo » Fri Jan 23, 2015 6:47 pm

Interesting... just did some investigation.

Although this seems only to affect selected modules, there is a chance to speed up FS when this gets fixed.
Attachments
redrawing (tulamide, MyCo).fsm
(1.64 KiB) Downloaded 751 times
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Mass redrawing for no obvious reason

Postby tulamide » Fri Jan 23, 2015 7:26 pm

It gets even more strange. I currently wonder if it has somehow to do with calling the output method. I've extended the schematic with a second module that will surprise you...
Attachments
redrawing (tulamide, MyCo) version 2.fsm
(2.22 KiB) Downloaded 772 times
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Mass redrawing for no obvious reason

Postby MyCo » Fri Jan 23, 2015 8:39 pm

My guess is, that the output method forces a redraw of the output connector, and that redraw is forwarded to the module's GUI as well to draw its content below the output connector
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Mass redrawing for no obvious reason

Postby tulamide » Sat Jan 24, 2015 6:40 am

Yes, I think so, too. Had some testing with the sprite font project. Remember that I complained about continous redraws? It's because of the output triggers. They can cause feedback loops, and that's what's happening there (A char list is drawn, the number of rows is sent to a slider. The slider takes it as input and sends out the current position. As soon as both are directly adjacent, one of those "redraw areas outside the view area" triggers redraws, which forces the loop).
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Mass redrawing for no obvious reason

Postby Walter Sommerfeld » Sat Jan 24, 2015 2:41 pm

Well, i also noticed this behaviour before... :(

.. and ended up using an external redraw via prim!
I also used a ruby area output to minimize CPU load...

Had no time to mention this before... :geek:
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany


Return to General

Who is online

Users browsing this forum: No registered users and 83 guests