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

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,136

    vertex buffer object with dynamic color array

    Hi all,

    I have a static scene where the only thing that changes on each frame is the color of each vertex. I'm using VBO and GLSL for drawing my scene. The color array is calculated on each frame,...
  2. Replies
    4
    Views
    964

    Can you give my some example, I'm a bit...

    Can you give my some example, I'm a bit confused... I know about attributes but can I use them with VBO and VAO?
  3. Replies
    4
    Views
    964

    Passing arrays per vertex to shader

    Hi everyone!

    I have an application where I calculate an array of 16 floats per vertex and now I need to send these arrays to my shader program to do the further calculations. I have no idea how to...
  4. Replies
    3
    Views
    785

    Thanks for your replies! Actually my image...

    Thanks for your replies!

    Actually my image sequences are in EXR format and they're quite large without compression and I'm now looking for the best way to resize and filter it on GPU. So I have...
  5. Replies
    3
    Views
    785

    Loading image sequences in real time

    Hi!

    I'm trying to load a series of image sequences in my openGL program to do further calculations on them in my shader. these image sequences will produce an animation. My question is if it is...
  6. Thread: Shader Error

    by saam_b
    Replies
    7
    Views
    1,776

    Re: Shader Error

    ok now I have another problem!
    I'm loading a HDR texture with EXR format in my program by the following code:



    bool loadTexture(const char *path)
    {
    Imf::Rgba * pixelBuffer;
    GLuint...
  7. Thread: Shader Error

    by saam_b
    Replies
    7
    Views
    1,776

    Re: Shader Error

    This was the problem I had, now It's fixed :)

    http://www.geeks3d.com/20101002/tips-how-to-quickly-test-glsl-shaders-for-ati-on-a-nvidia-system/
  8. Thread: Shader Error

    by saam_b
    Replies
    7
    Views
    1,776

    Shader Error

    Hi,

    I have the following fragment shader:



    varying vec3 oNormal;
    varying vec3 oVertexP;
  9. Replies
    3
    Views
    899

    Re: eye-space to Image-space

    Tnx for your explanations, but I've calculated the linear depth in one stage and saved the result on a texture and now in my program I have to convert this depth from texture coordinate to eye-space...
  10. Replies
    3
    Views
    899

    eye-space to Image-space

    Hi!

    I have a very basic but confusing question. I want to project an Eye-space radius on the image plane but I'm confusing about these projections. Can someone explain me more about image space...
  11. Replies
    7
    Views
    1,316

    Re: Creating texture from HDR image

    it's always good to know where you're making mistake! tnx a lot for your explanation! :)
  12. Replies
    8
    Views
    2,051

    Re: Passing arrays to shader

    tnx! :)
  13. Replies
    7
    Views
    1,316

    Re: Creating texture from HDR image

    Problem solved!! I made a stupid mistake by creating the texture before initializing glut!! you code works perfectly Rosario Leonardi! tnx a lot! :)
  14. Replies
    7
    Views
    1,316

    Re: Creating texture from HDR image

    First tnx for your help! I also tried your code but I can't see the image any more, I know I'm mixing sth with these conversions...

    this is my Color class:



    class Color
    {
    public:
  15. Replies
    8
    Views
    2,051

    Re: Passing arrays to shader

    yeah that can be what i want! A 4*4 matrix can work too, but is there any other ways without using VBO? I'm don't know about vertex buffers and try to not to use it.
  16. Replies
    8
    Views
    2,051

    Re: Passing arrays to shader

    Can you explain why it's not a good idea to use ARB?
  17. Replies
    7
    Views
    1,316

    Re: Creating texture from HDR image

    I've tried what you said, and it is still not working, actually the code for reading the file is taken from PBRT and I'm sure it is correct, but I don't know how I have to assign in to a texture....
  18. Replies
    7
    Views
    1,316

    Creating texture from HDR image

    Hi, I'm having trouble with setting up a texture which I've read from the OpenEXR file. It's a HDR light probe image and I'm trying to set it as a texture of a big sphere for showing it as my...
  19. Replies
    8
    Views
    2,051

    Passing arrays to shader

    Hi, I have two questions, I am implementing spherical harmonics lighting and trying to use GLSL for the real time part. I have an array consisting of 16 element with type of Color. Color is a class...
Results 1 to 19 of 19