Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to reinitialize the OpenGL window in MFC in order to render another file? Pin
sn00pi25-Oct-08 0:49
sn00pi25-Oct-08 0:49 
Hi,

My animation actually done by using the .obj format file which is created by the 3Ds Max. Total 5 .obj files were used to generate the "animation". Basically just like read all the 5 .obj file then render it using OpenGL so will see animation effect.

As im not really familiar with the OpenGL, all learn from online tutorial. Normally we just need to write program under the drawscene function then able to render the model. But now integrate OpenGL with MFC. Then when click on button it should render another model. So the OpenGL window part should I need to redo all the initialization in order to render new model?

Like when user click on button, the OpenGL window should clear screen and redraw the model. hopefully u can understand. thank you.
GeneralRe: How to reinitialize the OpenGL window in MFC in order to render another file? Pin
Cedric Moonen25-Oct-08 2:02
Cedric Moonen25-Oct-08 2:02 
Question"Warning: GetWindowMenuPopup failed!" Pin
Nikesh Jagtap24-Oct-08 21:07
Nikesh Jagtap24-Oct-08 21:07 
AnswerRe: "Warning: GetWindowMenuPopup failed!" Pin
Iain Clarke, Warrior Programmer25-Oct-08 2:42
Iain Clarke, Warrior Programmer25-Oct-08 2:42 
GeneralRe: "Warning: GetWindowMenuPopup failed!" Pin
Bram van Kampen25-Oct-08 16:35
Bram van Kampen25-Oct-08 16:35 
QuestionConerting vc 6 program into vc 2008 application Pin
VCProgrammer24-Oct-08 20:57
VCProgrammer24-Oct-08 20:57 
AnswerRe: Conerting vc 6 program into vc 2008 application Pin
Cedric Moonen24-Oct-08 21:52
Cedric Moonen24-Oct-08 21:52 
GeneralRe: Conerting vc 6 program into vc 2008 application Pin
VCProgrammer24-Oct-08 21:56
VCProgrammer24-Oct-08 21:56 
GeneralRe: Conerting vc 6 program into vc 2008 application Pin
Cedric Moonen24-Oct-08 22:09
Cedric Moonen24-Oct-08 22:09 
Questionexecution code during installation of setup........... Pin
ani_ikram24-Oct-08 20:53
ani_ikram24-Oct-08 20:53 
QuestionHow to invoke the Perl Function from VC++ Console application Pin
f340492324-Oct-08 20:06
f340492324-Oct-08 20:06 
AnswerRe: How to invoke the Perl Function from VC++ Console application Pin
Bram van Kampen25-Oct-08 16:33
Bram van Kampen25-Oct-08 16:33 
GeneralRe: How to invoke the Perl Function from VC++ Console application Pin
f340492326-Oct-08 14:31
f340492326-Oct-08 14:31 
Questionwhat is the difference of “class instance” and “object”? Pin
WangZHua24-Oct-08 16:42
WangZHua24-Oct-08 16:42 
AnswerRe: what is the difference of “class instance” and “object”? Pin
David Crow24-Oct-08 16:46
David Crow24-Oct-08 16:46 
GeneralRe: what is the difference of “class instance” and “object”? Pin
WangZHua25-Oct-08 0:42
WangZHua25-Oct-08 0:42 
GeneralRe: what is the difference of “class instance” and “object”? Pin
Nemanja Trifunovic25-Oct-08 15:30
Nemanja Trifunovic25-Oct-08 15:30 
GeneralRe: what is the difference of “class instance” and “object”? Pin
David Crow27-Oct-08 2:48
David Crow27-Oct-08 2:48 
AnswerRe: what is the difference of “class instance” and “object”? Pin
Subrat 470826624-Oct-08 22:56
Subrat 470826624-Oct-08 22:56 
GeneralRe: what is the difference of “class instance” and “object”? Pin
WangZHua25-Oct-08 0:54
WangZHua25-Oct-08 0:54 
GeneralRe: what is the difference of “class instance” and “object”? Pin
Bram van Kampen25-Oct-08 16:51
Bram van Kampen25-Oct-08 16:51 
AnswerRe: what is the difference of “class instance” and “object”? Pin
CPallini25-Oct-08 0:24
mveCPallini25-Oct-08 0:24 
QuestionFinding LAN Addresses and Names Pin
Bram van Kampen24-Oct-08 14:58
Bram van Kampen24-Oct-08 14:58 
QuestionRe: Finding LAN Addresses and Names Pin
David Crow24-Oct-08 16:10
David Crow24-Oct-08 16:10 
AnswerRe: Finding LAN Addresses and Names Pin
Bram van Kampen25-Oct-08 16:13
Bram van Kampen25-Oct-08 16:13 

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.