Im using NetBeans7.2 under Windows7. When creating the GL window you have to set the "window style" parameter. When I used Netbeans 6.9(under WinXP) I used to set it to WS_POPUP and it worked fine....
Type: Posts; User: Aliii
Im using NetBeans7.2 under Windows7. When creating the GL window you have to set the "window style" parameter. When I used Netbeans 6.9(under WinXP) I used to set it to WS_POPUP and it worked fine....
Thanks a lot! Its clear now.
I think the immediate stuff is not a bad thing. Many people start to learn opengl cause its relatively easy, it gives you results fast. At least they dont end up with...
Thanks a lot! I would have a few more questions...
"Deprecation doesn't mean anything in practice. You have everything in OpenGL 4.x, including the old immedate mode stuff (i.e. glBegin), but if...
Ive been using OpenGL 1 for a few years and now I want to move on to the programmable pipeline.
There are a few things I would like to know:
-How can I install a newer GL version?
-I dont...
//********************************************************************
bool CVector3f::crossP(CVector3f* v1, CVector3f* v2){
coord[0]= v1->coord[1]*v2->coord[2] - v1->coord[2]*v2->coord[1];
...
Is this what you are trying to do?:
pushMatrix()
loadIdentity()
for(every object){
pushMatrix()
translate()
rotate()
Thanks! I solved both problems by reinstalling MinGW and MySys and by handling the lose-focus event with "ShowWindow( hWnd, SW_MINIMIZE)"
Under win7 when I use Alt+Tab my app loses focus but its not minimized, it stays there in fullscreen. I have to use Ctrl+Alt+Del. (I dont know if it has anything to do with it but the debugger doesnt...
Im working on a 3D modelling program. Ive made a similar rotate gizmo as in 3DS Max. I disabled DepthTest so the gizmo is in front of all the other objects, but the 3 rings "hide each other"...
Which one shoud be the "up" axis when making a platformer game and in a game where I view the map from above? (z/y?) Thanks!
Thanks! works
Thanks! EnumDisplaySettings works perfectly.
but getClientRect doesnt.
Im trying
LPRECT c_rect;
GetClientRect( hWnd, c_rect);
and it crashes. hWnd is "set up" already.
When I set up a fullscreen window, how do I know whats the aspect ration of the monitor, and what are the resolutions that it supports?
2nd:
In windowed mode I need to know what is the size of...
Thanks! It works now.
Im working on a 3D modelling program. I have a view cube in the bottom left corner. I want to draw it in perspective mode, but when I look down the negative Z(initial camera angle), I only want to...
Im working on a program where I can move around with the camera in the "world" and draw objects. All objects have a position ...a pivot point.
I draw this way:
----------------...
Thanks! Thats what I needed(well ...no. a new PC:)) The video is perfect but the app becomes 10x slower. I need it for demos, it will be OK.
Sorry for this offtopic. Im trying to record an openGL screen. Now Im currently using Blueberry Flashback. It has "Record games or videos" mode but it still does a poor job. It slows down the...
Are there places on the net where I can find such images? Well, I can find plenty backgrounds but I cant "take those apart" ...so its not good for scrolling. Thanks!
Thanks! It worked(glDepthRange(1, 1)) except that Im doing parralax scrolling with more layers and now it draws them according to the drawing sequence.
("Seems to be needed" ...I like theese kind...
Im trying to draw a few things then switch to OrthoMode and draw a background. The problem is that the background hides the objects that I drew in normal mode.
I found someone having the same...