July 27th, 2009, 06:27 AM
I found the problem, there was "static" variables inside functions.
July 22nd, 2009, 11:56 AM
I uses VC++ 6.0 on Windows XP x32
I have defined in settings page "Code generation" "Use run-time library" as "Debug Multithreaded DLL" for debug and for realize "Multithreaded DLL". Do you...
July 22nd, 2009, 07:01 AM
There is on shared variables, functions working separately. The heap allocation data is not synchronized. But as I read in Internet - operator new and delete should be sinhronized.
July 21st, 2009, 12:51 PM
I've got a problem with sinhronisation of a function which is called from several threads. The function do no use static variables. And there is no connection variables between threads. In debuger...
April 29th, 2009, 10:23 AM
We use standard OpenGL from MicroSoft
April 29th, 2009, 08:37 AM
I found hint to solve the problem - to add aditionals lights with opossite directions.
But anyway would like to have correct solution of this problem.
April 29th, 2009, 08:04 AM
I am using glDrawArrays function and sets befor glLightModel(GL_LIGHT_MODEL_TWO_SIDE,GL_TRUE). Polygons are drawn with one side lighting. If I change glDrawArrays drawing to usage of glBegin(...
April 29th, 2009, 08:00 AM
Will I have improvements in drawing with OpenGL, if I would sort objects by their colors (materials) and call functions glColor, glMaterial when the color is changed? How fast glColor, glMaterial...
April 9th, 2009, 10:12 AM
I am drawing using OpenGL and GDI on top of a picture which were drawn before in CView::OnDraw function.
First 2-3 seconds it draws sucessfully, and then cursor of mouse become "clock"( meanth...
February 18th, 2009, 04:25 AM
It is bad idea to do that. But big part of code is already implemented. And to rewrite everything to OpenGL will take huge amount of time. So, I am looking for easest way to solve the problem
February 17th, 2009, 05:22 AM
Iíve got problem with using GDI on top of OpenGL in Windows Vista. Iíve found that if GDI graphic would be drawn before any drawing operation of OpenGL than everything what was drawn by GDI would be...