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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,005

    Hi, All. I already solve this problem. The...

    Hi, All.

    I already solve this problem.

    The reason causing the odd situation is that I normalize the vector from world eye position to world vertex position before calculate the reflect vector....
  2. Replies
    4
    Views
    1,005

    Hi, all. Does someone happen the odd...

    Hi, all.

    Does someone happen the odd situation as like as mine?

    1026

    I attempt to check my matrix, but I think that isn't related with my problem.

    Because I saw my plane looked like two...
  3. Replies
    4
    Views
    1,005

    Does you mean that you want to draw sphere at...

    Does you mean that you want to draw sphere at current frame and then exchange the one to cube at next frame ?

    If you want to do this thing, you can use the function glutSolidCube and...
  4. Replies
    4
    Views
    1,005

    Problem of environment mapping

    Hi, all.

    I encounter a odd phenomenon when I make a environment mapping effect on a cube.

    It is shown as follow :

    1020


    Does some one encounter same situation as like as mine ?
  5. Replies
    4
    Views
    1,006

    Thank you. I will try it.:)

    Thank you. I will try it.:)
  6. Replies
    0
    Views
    487

    FBO and glTexImage2D

    Hi all,

    I have a question about the relation of Frame Buffer Object and texture linking with it.

    After using the function glFramebufferTexture2D, we will link a FBO and a texture together.
    ...
  7. Replies
    4
    Views
    1,006

    Thank you very much. I check my compiler error...

    Thank you very much.

    I check my compiler error after reading your answer.

    But I didn't see any error in vertex shader log, fragment shader log, and linking log.

    Maybe it's related with...
  8. Replies
    4
    Views
    1,006

    uniform struct array

    Hi, all.

    I try to write a structure and declare an array as follow :



    struct ShadowMapping
    {
    mat4 light_coordinate_system;
    sampler2DShadow shadow_map;
  9. Replies
    3
    Views
    669

    To Nowhere-01 : Thank you very much. I...

    To Nowhere-01 :

    Thank you very much.

    I will follow you advices to modify my shading program.

    Sincerely yours,

    La-La, Chen.
  10. Replies
    3
    Views
    669

    Hi, all. I have a new discovery about my...

    Hi, all.

    I have a new discovery about my problem

    If I decrease my number of declaration for varying array, the shader can work.

    But I don't know how many varying variable we can use ??
    ...
  11. Replies
    3
    Views
    669

    A problem about if-else in for-loop

    Hi, all.

    I tried to write a if-else statement to chose a vector form to different arrays in for loop yesterday. But an odd thing occurred, my program has linking error.

    The error is as...
Results 1 to 11 of 11