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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thanks mhagain, The hint helped. It worked...

    Thanks mhagain,

    The hint helped. It worked fine after the inclusion of



    glPixelStorei(GL_UNPACK_ALIGNMENT,1);


    I went through the documentation, and it is confusing. Some explanation...
  2. Thanks for the hint! I stepped through each...

    Thanks for the hint!

    I stepped through each line and i found the i am having the crash with following call for the second time:



    //specify some data for the texture
    ...
  3. Hi forum, I found at which point the...

    Hi forum,

    I found at which point the application crashes, but did not find the reason behind it. Here i need your help ,folks. I am loading two texture image one after another as follows:


    ...
  4. Hi I could not track down the problem. Here...

    Hi

    I could not track down the problem. Here goes the code snippet . Probably someone within the forum will be able to track what is wrong with the code:



    int main( void )
    {
    //...
  5. the application crashes but runs fine with GDB

    Hi forum,

    I am having a segmentation fault with the tiny application i developed. To track down the problem i ran the app with the gdb and then it runs fine with gdb.

    Where should i look into...
  6. Replies
    5
    Views
    378

    Hi forum, Eventually i got it correct with the...

    Hi forum,

    Eventually i got it correct with the following snippet :




    void loadTexture(const string &filename)
    {
    //load the image using SOIL image library
  7. Replies
    5
    Views
    378

    Hi Carsten, I tried it as well and i have the...

    Hi Carsten,

    I tried it as well and i have the blank screen now. Check the following snippet that i tried with:



    void loadTexture(const string &filename)
    {
    //load the image using SOIL...
  8. Replies
    5
    Views
    378

    OpenGL 4.3 and glTexStorage2D

    Hi forum,

    I started my learning with the most recent opengl profile and i am having problem with the function glTexStorage2D(....). I did it as follows:



    //generate a name for the...
  9. more explanation on tesselation control shader

    Hi forum,

    I am going the recent opengl redbook and i am having it difficult to understand as mentioned in book :

    "The amount of tesselation is controlled by specifying two sets of values: the...
  10. FBO with phong and multi-pass blur shader

    Hello forum,

    I want to get the following effects from the usage of multiple shaders. I want to have a rotating teapot model on each face of thhe box primitive and this teapot model goes through...
  11. Replies
    1
    Views
    691

    Cube Plane intersection points

    Hello forum,

    I am going through the code that finds and store the plane-cube intersection points. The total number of intersection points ranges from 3 to 6.

    I am finding it hard to follow the...
  12. Replies
    1
    Views
    446

    model view matrix and view direction

    Hello forum,

    Is the view-direction found inside the model-view matrix. I read somewhere that the third column of the model-view matrix contains the view direction.

    How and Why ?

    Some...
  13. Replies
    1
    Views
    801

    Hi forum, The issue is solved. The problem is...

    Hi forum,

    The issue is solved. The problem is with the very first statement inside the render() function. I commented it and now i can see the rippling effect.

    I guess the rippling effect was...
  14. Replies
    1
    Views
    801

    basic vertex shader

    Hi forum,

    I am trying to get the rippling effect of the plane . But i am not getting the progressing ripple effect with time. Here goes the attached code:



    // Include standard headers...
  15. Replies
    1
    Views
    582

    basic fbo issue

    Hi forum,

    I am trying to implement the basic fbo technique where a cube is rendered to the texture first and unbind the frame buffer object , read the rendered texture and pass it through the...
  16. Replies
    5
    Views
    1,176

    Sorry for posting the buggy code. I am actually...

    Sorry for posting the buggy code. I am actually not doing any model-view transformation at all.



    I fixed the issue as follows:



    static const GLfloat vertexData[] =
    {
  17. Replies
    5
    Views
    1,176

    Yes i m doing the transformation in the vertex...

    Yes i m doing the transformation in the vertex shader


    In that case , should i not see a floor bottom and the camera is looking down to the negative z-direction ? The camera up vector is (0,1,0)....
  18. Replies
    5
    Views
    1,176

    Yes, the vertex shader is applying the...

    Yes, the vertex shader is applying the transformation as follows:



    #version 430 core

    uniform mat4 camera;
    //uniform mat4 modelview;

    in vec3 position;
  19. Replies
    5
    Views
    1,176

    render a quad - blank screen

    Hi

    I believe that this something every opengl programmer encounter initially . I am trying to render a quad as follows:



    void loadGeometry()
    {
    //load the vertices for the floor
  20. Replies
    4
    Views
    890

    The issue has been resolved with the...

    The issue has been resolved with the glGenerateMipmap instead


    Thanks
  21. Replies
    4
    Views
    890

    Thanks for the hint! Basically i am trying to...

    Thanks for the hint!

    Basically i am trying to port an old OpenGL application (2.x) to the modern OpenGL. (4.x).
    My driver does support 4.3 and i believe that the required extension is present in...
  22. Replies
    4
    Views
    890

    basic texturing

    Hi forum,

    I am stuck with the problem of basic texturing. Check the following snippet:



    void startup()
    {
    //now load the floor texture
  23. Sorry for the typo . "glTexStorage2D" is giving...

    Sorry for the typo . "glTexStorage2D" is giving me the error.

    So i am rolling back to glTexImage2D.

    I am using the OpenGL 4.3 core profile


    Any more hint ?
  24. glTexStorage - was not declared in this scope

    I have the OpenGL driver 4.3 , but i am having the above error with the glTexStorage command.

    I am using glew to access the opengl extensions

    What am i missing in the process ?


    Thanks
  25. Replies
    4
    Views
    1,901

    Thanks Folks for all the hint. I shall elaborate...

    Thanks Folks for all the hint. I shall elaborate more on this issue. Basically the problem arose in whiling working with OpenSceneGraph System which uses OpenGL down the pipeline. I am working on...
Results 1 to 25 of 27
Page 1 of 2 1 2