BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

opengl and multimedia timer

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Jeff
Guest





PostPosted: Sun Oct 23, 2005 5:05 am    Post subject: opengl and multimedia timer Reply with quote



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





PostPosted: Sun Oct 23, 2005 6:15 am    Post subject: Re: opengl and multimedia timer Reply with quote



On Sun, 23 Oct 2005 05:05:35 GMT, Jeff wrote:

Quote:
Hi Everyone...

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.