Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / OpenGL & wxWidgets animation

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. OpenGL & wxWidgets animation
#4961
Posted by: 2004-08-06 23:07:29
Hi,

Is there other way of doing OpenGL animation apart from using the idle process?  I am using the idle process to do animation of OpenGL model (using wxWidgets and Dev-C++).  When I click on the windows title, resize and access menu. the animation stopped - since the prog is no more idle?  Anyway to get around this? I would like the animation to be continuous (even at background when a dialog pop up, or when I access the menu).  Anyway to make those clicks (esp title, menu) "non-modal" just like we can make a dialog book "non-modal".  I haven't try dialog box with my animation yet.

Regards
Hong
Message2. Re: OpenGL & wxWidgets animation
#4963
Posted by: upCASE 2004-08-06 23:19:25
Hi!
To make it really contiuous check wxThread. Maybe wxTimer and triggering the drawing using a timer event could be a possibility too.
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: OpenGL & wxWidgets animation
#4997
Posted by: 2004-08-18 07:53:25
Hi upCASE,
Thanks for the response.  This forum was down for a while (?), so I could only get back now.  I have tried the wxThread for a TCP server, and will try it for the animation.
Regards
Hong
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥289.00 ·
 
 
¥1,080.00 ·
 
 
¥1,380.00 ·
 
 
¥638.00 ·
 
 
¥1,290.00 ·
 
 
¥1,420.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0