[Bf-committers] windows coder needed!
Ton Roosendaal
bf-committers@blender.org
Thu, 12 Jun 2003 19:38:38 +0200
Hi,
I've put back the ESC callback timer, which was removed while
integrating Ghost in Blender. This will effectively solve the 'slow
render bug', which was caused by too many calls to the event processing
routines of GHost. And of course solve the current hacked in code,
which gives bad interactivity.
For posix systems (everything except Windows) the signal()
functionality supports this. You can set a callback function that is
called with a certain timer interval. I use it to only read the event
queue a few times per second, and set a global to be detected simply
while rendering.
Now, it's tested & works at OSX. I want to commit it, but we need the
Windows counterpart function. I've located it at msdn:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/
winui/windowsuserinterface/windowing/timers/timerreference/
timerfunctions/settimer.asp
This manual page has alink to an example as well.
Who's available to code this? Then I can do the commit.
It's pretty simple for people used to windows libs. I am online
available for help too.
-Ton-
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton@blender.org
http://www.blender.org