Force a faster Rendering on internal changes

Force a faster Rendering on internal changes

alexisDVJML
Collaborator Collaborator
112 Views
0 Replies
Message 1 of 1

Force a faster Rendering on internal changes

alexisDVJML
Collaborator
Collaborator

We display preview of "virtual" parts in our RenderPlugin subclass.
User can adjust the position of these "virtual" parts by "dragging them, this is handled by our InputPlugin.
For now we update the internal information and call view.RequestDelayedRedraw(ViewRedrawRequests.All) so our Render plugin is called to redraw according to changes.

This works really nice but creates a delay between the mouse dragging position and the actual rendering.
Acceptable, see attached video.

But I'm wondering if there is a way to either directly redraw the part concerned realtime OR ensure our RenderPlugin is called earlier (we could share data to what need to be drawn in priority, for example in the case of Guaranteed Frame option being set).

Main Scientist, Full Stack Developer & When Time Permits Director of IDIGO ► On your marks, Set, Go
0 Likes
113 Views
0 Replies
Replies (0)