Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFinally! Pin
will138310-Jul-03 1:14
will138310-Jul-03 1:14 
GeneralConfused in abby Pin
PJ Arends9-Jul-03 11:03
professionalPJ Arends9-Jul-03 11:03 
GeneralRe: Confused in abby Pin
Led9-Jul-03 11:26
Led9-Jul-03 11:26 
GeneralRe: Confused in abby Pin
PJ Arends9-Jul-03 11:32
professionalPJ Arends9-Jul-03 11:32 
GeneralRe: Confused in abby Pin
Neville Franks9-Jul-03 12:11
Neville Franks9-Jul-03 12:11 
GeneralProject Converter Pin
308holes9-Jul-03 10:56
308holes9-Jul-03 10:56 
GeneralRe: Project Converter Pin
Mustafa Demirhan9-Jul-03 12:44
Mustafa Demirhan9-Jul-03 12:44 
QuestionHow to keep rendering during user-input Pin
Led9-Jul-03 10:38
Led9-Jul-03 10:38 
Hi,
I'll try to explain my problem in as few words as possible so I won't scare anyone off with long posts Smile | :)


Mission :
I'm working on a hobby-project to render graphics that change with user-input.

Problem :
GfxObjects can be deleted/changed, but *during* rendering that's a big NONO as you'll probably understand Smile | :)

Possible solutions :
- Multithreading.
Tried it, it's a very big pain in the arse.
GfxObjects could be plugins with their own imported edit-dialogs and I don't want other developers to have the burden of doing locking / unlocking everywhere (and give'em a perfect opportunity to crash my app).


- Singlethreaded :
OnIdle is fine, it's just not enough.
F.e. when the mouse enters the menu, idling stops.
Same for window-resizing etc.


The ideal way would be :
{
ProcessUserInput( [for a maximum time of 1/100th sec.] );
RenderFrame();
}

I hope some of you guys have suggestions on how to tackle this Smile | :)

-

Lennart Denninger / GameCoder / Guerilla Games
AnswerRe: How to keep rendering during user-input Pin
Neville Franks9-Jul-03 12:17
Neville Franks9-Jul-03 12:17 
GeneralRe: How to keep rendering during user-input Pin
Led9-Jul-03 12:51
Led9-Jul-03 12:51 
GeneralRe: How to keep rendering during user-input Pin
Neville Franks9-Jul-03 13:08
Neville Franks9-Jul-03 13:08 
GeneralRe: How to keep rendering during user-input Pin
Led9-Jul-03 13:40
Led9-Jul-03 13:40 
GeneralRe: How to keep rendering during user-input Pin
Led9-Jul-03 13:51
Led9-Jul-03 13:51 
GeneralRe: How to keep rendering during user-input Pin
Neville Franks9-Jul-03 15:35
Neville Franks9-Jul-03 15:35 
GeneralRe: How to keep rendering during user-input Pin
Ryan Binns9-Jul-03 17:05
Ryan Binns9-Jul-03 17:05 
GeneralRe: How to keep rendering during user-input Pin
Neville Franks9-Jul-03 18:01
Neville Franks9-Jul-03 18:01 
GeneralModeless dialog with Child style Pin
DionChen9-Jul-03 10:04
DionChen9-Jul-03 10:04 
GeneralRe: Modeless dialog with Child style Pin
Toni789-Jul-03 13:04
Toni789-Jul-03 13:04 
GeneralPrinting PDF SDK Pin
OBRon9-Jul-03 9:39
OBRon9-Jul-03 9:39 
GeneralAggrivating Dialog Problem Pin
Null Monkey9-Jul-03 8:59
Null Monkey9-Jul-03 8:59 
GeneralRe: Aggrivating Dialog Problem Pin
Toni789-Jul-03 13:07
Toni789-Jul-03 13:07 
GeneralRe: Aggrivating Dialog Problem Pin
Null Monkey10-Jul-03 4:29
Null Monkey10-Jul-03 4:29 
GeneralRe: Aggrivating Dialog Problem Pin
Toni7810-Jul-03 17:53
Toni7810-Jul-03 17:53 
GeneralLink Error: Please help me out Pin
lsanil9-Jul-03 8:17
lsanil9-Jul-03 8:17 
GeneralRe: Link Error: Please help me out Pin
John M. Drescher9-Jul-03 8:33
John M. Drescher9-Jul-03 8:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.