Click here to Skip to main content
15,867,308 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: USB eject notification Pin
Jochen Arndt9-Aug-17 2:14
professionalJochen Arndt9-Aug-17 2:14 
AnswerRe: USB eject notification Pin
Randor 9-Aug-17 2:43
professional Randor 9-Aug-17 2:43 
QuestionCSplitterWnd with MDI Child Windows Pin
Member 1327791131-Jul-17 3:25
Member 1327791131-Jul-17 3:25 
QuestionRe: CSplitterWnd with MDI Child Windows Pin
David Crow31-Jul-17 3:49
David Crow31-Jul-17 3:49 
AnswerRe: CSplitterWnd with MDI Child Windows Pin
Member 1327791131-Jul-17 5:49
Member 1327791131-Jul-17 5:49 
AnswerRe: CSplitterWnd with MDI Child Windows Pin
Member 1327791131-Jul-17 19:45
Member 1327791131-Jul-17 19:45 
QuestionGood or Bad Idea: C++ OpenGL Application using PureMVC? Pin
DBPatric29-Jul-17 5:38
DBPatric29-Jul-17 5:38 
AnswerRe: Good or Bad Idea: C++ OpenGL Application using PureMVC? Pin
leon de boer30-Jul-17 3:52
leon de boer30-Jul-17 3:52 
Need to cover some basics which you haven't mentioned which is always slightly scary
1.) I assume you are talking new OpenGL that is 3.0+ not old style OpenGL
Old style has the glBegin glEnd etc the new style you can't do anything without a shader and you drag all the function implementation pointers yourself.
2.) On the new OpenGL, GLM is one library you can use for matrix and maths stuff that ultimately ends up out on the shader in a sort of MVC setup.
3.) PureMVC is aimed at breaking the processing up via a predictable framework generally so you can thread it or use multicores.

I take it your current code is a linear application so not something you can port easily to PureMVC you need to design it differently from the start.

The next problem is PureMVC can be problematic in some situations like you have a client app interface sitting on a server which really has all the models. So the model view is handed to the client via the server. Lots of CAD programs and network games work that way and PureMVC is limited to what it can do. You can sort of shim it but you lose much of the effect and there are better techniques.

So can you start with a basic what OpenGL version and how your app is setup (models are where?) and when you say scale up what do you mean (more users, more processor cores)?
In vino veritas


modified 30-Jul-17 9:59am.

GeneralRe: Good or Bad Idea: C++ OpenGL Application using PureMVC? Pin
DBPatric9-Aug-17 13:49
DBPatric9-Aug-17 13:49 
GeneralRe: Good or Bad Idea: C++ OpenGL Application using PureMVC? Pin
leon de boer11-Aug-17 16:29
leon de boer11-Aug-17 16:29 
QuestionDeclare member variable on stack or heap Pin
_Flaviu24-Jul-17 21:06
_Flaviu24-Jul-17 21:06 
AnswerRe: Declare member variable on stack or heap Pin
Richard MacCutchan24-Jul-17 22:22
mveRichard MacCutchan24-Jul-17 22:22 
GeneralRe: Declare member variable on stack or heap Pin
_Flaviu24-Jul-17 23:03
_Flaviu24-Jul-17 23:03 
GeneralRe: Declare member variable on stack or heap Pin
Richard MacCutchan24-Jul-17 23:09
mveRichard MacCutchan24-Jul-17 23:09 
GeneralRe: Declare member variable on stack or heap Pin
_Flaviu25-Jul-17 0:13
_Flaviu25-Jul-17 0:13 
GeneralRe: Declare member variable on stack or heap Pin
Richard MacCutchan25-Jul-17 0:31
mveRichard MacCutchan25-Jul-17 0:31 
AnswerRe: Declare member variable on stack or heap Pin
Victor Nijegorodov24-Jul-17 23:15
Victor Nijegorodov24-Jul-17 23:15 
GeneralRe: Declare member variable on stack or heap Pin
_Flaviu25-Jul-17 0:09
_Flaviu25-Jul-17 0:09 
GeneralMessage Closed Pin
9-Aug-17 0:50
professionalHometurph Indi9-Aug-17 0:50 
GeneralRe: Declare member variable on stack or heap Pin
Victor Nijegorodov9-Aug-17 1:21
Victor Nijegorodov9-Aug-17 1:21 
QuestionIDirect3DSurface9 Problem after Windows 10 Update Creator Pin
002comp24-Jul-17 19:42
002comp24-Jul-17 19:42 
AnswerRe: IDirect3DSurface9 Problem after Windows 10 Update Creator Pin
Jochen Arndt24-Jul-17 21:19
professionalJochen Arndt24-Jul-17 21:19 
GeneralRe: IDirect3DSurface9 Problem after Windows 10 Update Creator Pin
002comp24-Jul-17 23:03
002comp24-Jul-17 23:03 
GeneralRe: IDirect3DSurface9 Problem after Windows 10 Update Creator Pin
002comp25-Jul-17 19:36
002comp25-Jul-17 19:36 
GeneralRe: IDirect3DSurface9 Problem after Windows 10 Update Creator Pin
Jochen Arndt25-Jul-17 20:57
professionalJochen Arndt25-Jul-17 20:57 

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.