Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: sguTiger

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,583

    glReadPixel error when used remoterly

    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...
  2. Replies
    1
    Views
    625

    glutBitmapString misses blank spaces

    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,...
  3. Replies
    2
    Views
    630

    Re: DevIL screenshot

    I find it, it is glutGet().
  4. Replies
    2
    Views
    630

    Re: DevIL screenshot

    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],.....);
    ...
  5. Replies
    2
    Views
    630

    DevIL screenshot

    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...
  6. How to ouput text information next to image?

    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...
  7. Replies
    2
    Views
    1,517

    How to render a sequence into movie?

    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...
  8. Replies
    1
    Views
    1,510

    wglMakeCurrent for multiple windows in MFC

    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...
  9. Replies
    2
    Views
    1,037

    read and write standard image files.

    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...
  10. Replies
    3
    Views
    1,609

    How to implement region selection?

    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...
  11. Re: texture lookup function and texture parameter

    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...
  12. texture lookup function and texture parameter

    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...
  13. Replies
    2
    Views
    1,611

    internal format in glTexImage*()

    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...
  14. Replies
    1
    Views
    839

    gluScaleImage for 3D texture

    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.
  15. texture problem--transition layers on the boundary

    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:
    ...
  16. Replies
    1
    Views
    1,639

    opengl 1.2 or higher for ATI Radeon X850

    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...
  17. Replies
    2
    Views
    2,487

    opengl 1.2 for ATI Radeon X850

    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...
  18. Replies
    1
    Views
    817

    wobble problem

    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...
Results 1 to 18 of 18