Without refresh

Dec 27, 2012 at 5:20 AM

Hi,

I'm new on that subject, so hello everyone.

I try to recognize that librares posibilities. I want to use in with wpf. On my application I need to redraw a opengl not always, but only when I want it - so I want to switch off  loop for redraw. 

Is it possible with that ?

 

thnx in advance

 

Coordinator
Dec 28, 2012 at 11:20 AM

I'll have to double check this for you, but at the moment I think this is not possible - but I can add this as a feature. I've copied this discussion to a work item and will add the feature in the next release.

Coordinator
Dec 28, 2012 at 11:20 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Dec 30, 2012 at 7:39 PM
Edited Dec 30, 2012 at 7:43 PM

This feature has been implemented. To use it, set the 'RenderTrigger' property of an OpenGLControl to 'Manual'. To perform rendering, call the DoRender function of the OpenGLControl.

 

See also the 'RenderTriggerSample' from the SharpGL Samples solution.

Mar 26, 2013 at 2:20 AM
Was this only implemented on the WinForms control? I'm using the WPF control assembly version 2.1.0.0 but I'm not seeing the RenderTrigger property at all?