On 7-Dec-05, at 4:51 PM, Marco Bambini wrote:
On Dec 7, 2005, at 10:22 PM, Frank Condello wrote:
My OpenGLView control can have its own async loop attached, so it
is complete independent from RB.
That could be useful... Can you provide more details on how this
works?
Every control has a "period" property (integer, milliseconds) and a
DrawScene event (nFrame As Integer, Interval As Double)
If you select the myOpenGLView.StartAsync method, then the
DrawScene event is called every "period" milliseconds and this
"custom loop" is complete independent from RB (the nFrame parameter
is automatically incremented at every call).
Sounds good - does this use preemptive threads under the hood or is
there another way to get this same effect?
I'm interested because this is very similar to an interface I had
planned out for a generic "PreemptiveTask" class, but I haven't had
time to research it further. I wonder if you'd be willing to release
a standalone/generic version of this?
P.S. I have just seen your http://developer.chaoticbox.com/ and you
are really doing a great work.
Thanks - so much crap, yet so little to show for it!
Frank.
–––––––––––––––––––––––––––––––––
Open Source RB Goodies and Shareware
<http://developer.chaoticbox.com/>
<http://www.chaoticbox.com/>
–––––––––––––––––––––––––––––––––
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|