Hello,
I have a program which runs well on a local machine. When I run it remotely(using ssh -X to login the remote machine), it still runs and display correctly on the X-window. However, when...
Type: Posts; User: sguTiger
Hello,
I have a program which runs well on a local machine. When I run it remotely(using ssh -X to login the remote machine), it still runs and display correctly on the X-window. However, when...
Hi,
It seems that glutBitmapString misses blank spaces.
I am making an animation, at each time step, I use glutBitmapString to print out some information like this,
sprintf(message,...
I find it, it is glutGet().
I took a look at the source code. It seems that this is how ilutGLScreen is hard coded. It queries the size of viewport by glGetInteger() then use glReadPixels(0,0,Viewport[2],viewport[3],.....);
...
Hi,
I am using the package DevIL for screenshot. However, I encounter a problem.
In my program, the viewport is only part of the window.
glViewport((GLsizei)w*0.1, (GLsizei)h*0.1...
Hello,
I have an application which ouput opengl graphics into a MFC window(using WGL). But I also want to output some text information next to the graphics(like std::cout, printf, which does...
Hi,
I have already rendered a sequence into a window(created by MFC). Now I want to make this sequence into a movie of standard format(avi,mpeg ect). How can I do this? I google this topic and...
Hi,
This is a dialog-based application. The dialog holds 2 windows of the same class CWndT with nID=0 and nID=1;
The class CWnd has data member m_hDC, m_hRC to hold its device context and...
Hello,
I am currently doing some image applications. The first thing to do is loading the standard image files such as img, gif, bmp, jpg, ect. And I also want save a particular part of my...
I want to provide the users the functionality that they can choose a polygonal region of an image. One way to implement it is that users can click somewhere of the image and then that point is...
Thanks for the repies. But in which stages do the texture filtering and clamping happen? It happened in the rasterization immediately after the vertex shader or in the texure lookup in the fragment...
Hello,
We need to set the texture parameter before the texture mapping. But how do those parameters control the behavior of the texture mapping? Does it happen within the texture lookup...
Hello,
I am not clear about the role of the internel format in glTexImage*(); The format and the data type specifies the array we feed the function. Does the internel format specify how the data...
Hi,
I need to use the not-power-of-two 3D texture. But the gluSceleImage only works for 2D-texture.Is ther Any similar function for 3D-texure? Thank you.
Hi,
I am using 4*4 texuture. The upper 3*3 texels are pure red(RGB:(1,0,0)), the others are pure green(RGB:(0,1,0)). I am using the following setting:
...
Hi,
My graphics card is ATI Radeon X850. I have installed the driver package. And I got opengl 2.1 when I used glGetString(). But my header gl.h is still the old one. I need to use 3D texture, but...
My graphics card is ATI Radeon X850. I have installed the driver package. And I got opengl 2.1 when I used glGetString(). But my header gl.h is still the old one. I need to use 3D texture, but the...
I have a MFC program using wgl. I want to change the eye position by moving the mouse, and then I plot the eye position as a point but it is wobbling.
OnMoveMove() like this:
void...