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: qlizhi

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    2,481

    When i change it to ...

    When i change it to


    glActiveTextureARB(GL_TEXTURE0_ARB);
    glBindTexture(GL_TEXTURE_1D,m_A2OTexture);

    it shows the same output.
  2. Replies
    8
    Views
    2,481

    Yes, i think it use texture m_A2OTexture, and...

    Yes, i think it use texture m_A2OTexture, and then render it to a 2D quads. It is hard to understand. If you have time , you can download the source code.
  3. Replies
    1
    Views
    1,004

    GPU-based volume raycasting

    hello, i have download an source code of GPU-based volume raycasting,which is based on Qt. And i upload it to my google code as below:
    http://code.google.com/p/qt-color-de...downloads/list
    I have...
  4. Replies
    8
    Views
    2,481

    The last question about this code is the main...

    The last question about this code is the main render code:


    bool VolRenCore::Render()
    {
    glClearColor(m_BackgroundColor[0], m_BackgroundColor[1], m_BackgroundColor[2], 1.0f);...
  5. Replies
    8
    Views
    2,481

    haha~~ i got it. thanks a lot!

    haha~~ i got it. thanks a lot!
  6. Replies
    8
    Views
    2,481

    Thank you very much, but i still donot know what...

    Thank you very much, but i still donot know what does "t1=(0.0-texel_zero.x)/texel_dir_norm.x" mean.
  7. Replies
    8
    Views
    2,481

    GPU-based volume raycasting

    hello, i have download an source code of GPU-based volume raycasting,which is based on Qt. And i upload it to my google code as below:
    http://code.google.com/p/qt-color-delegate/downloads/list
    I...
  8. Replies
    2
    Views
    1,796

    You mean that i did not render the frame to...

    You mean that i did not render the frame to texture?
    I know i do not clear FBO and texture.

    I use the transfer QImage to QPixmap, and show it in QLabel.


    void VolRenCore::RendrToFBO()
    {...
  9. Replies
    2
    Views
    1,796

    render to texture under Qt

    I rendered some graphics in QGLWidget, it works fine. And i want to store a frame to an QImage, so i add a button and the button code is below:


    void VolRenCore::RendrToFBO()
    {
    GLuint fb;...
  10. I got it and thanks for the help, i am now...

    I got it and thanks for the help, i am now reading OpenGL 4.0 Shading Language Cookbook, do i need to read the orange book first?
  11. Thanks a lot. But if i use 'color' in fragment...

    Thanks a lot. But if i use 'color' in fragment shader , there won't have Lighting effects. And when i just use only fragment shader , it works fine.
    798
    So, what is the error?
  12. Hi, the main code is below, and the problem is...

    Hi,
    the main code is below, and the problem is the plane,cube, sphere, torus,cone and teapot were black. what i want is the items in different gray color.


    the shader:
    //passthrough.vert
    void...
  13. the grayscale.fs does not rendering the result i want

    Hello,
    I am a learner to opengl, and i write the codes below to test the grayscale.fs which is an example of chapter 17 in OpenGL Superbible. But the result was all the items were black.

    ...
Results 1 to 13 of 13