 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jeff Guest
|
Posted: Sun Oct 23, 2005 5:05 am Post subject: opengl and multimedia timer |
|
|
Hi Everyone...
{using delphi 6 pro}
I've wanted to switch to a multimedia timer for better time resolution.
Currently in my code, I am using an onidle event to redraw my opengl scene.
If i switch to a ttimer, i get about the same resolution depending on the
hardware platform. Now, I've tried to use third part multimedia timer
wrappers in place of the Timer... but my scene does not appear to draw, I
just get a black window. I get nothing at all if I don't have a
SwapBuffers(DC); command at the end of my draw scene. Apparently it's not
straightforward to switch toa multi media timer? I am using a timer that I
got off Torry's Delphi site. If i put text or other stuff in the window to
update it works fine at the frequency i chose.. just not working for opengl
stuff. (Some components called Wave Audio comes with a multimedia timer)
help
Jeff
|
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Sun Oct 23, 2005 6:15 am Post subject: Re: opengl and multimedia timer |
|
|
On Sun, 23 Oct 2005 05:05:35 GMT, Jeff wrote:
Hoi Jeff
You need to repost your question using the Borland news server, if you want
to find somebody to help you with an answer.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|