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: Ali S. Alfaraj

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,438

    Re: Correct Specularity with Texturing

    Thanks MaxH. unfortunately the edition I downloaded for Opengl super Bible no longer contain this section.
  2. Replies
    9
    Views
    1,438

    Re: Correct Specularity with Texturing

    Hi MaxH, Can you tell what chapter I can found this paragraph?

    Also, I want to point out that I want to correct specularity using GL_BLEND.
  3. Replies
    9
    Views
    1,438

    Re: Correct Specularity with Texturing

    Hello,

    Thanks for the replies.

    When I apply texture mapping on my object, the light specularity changes. I'm using a solid sphere as my light source. When applying the texture mapping, the...
  4. Replies
    9
    Views
    1,438

    Correct Specularity with Texturing

    Hello friends,

    I'm using texture mapping on some of my objects in openGl. I want to display correct specularity with texturing using Blending (GL_BLIND). I'm not sure how that is done and hope you...
  5. Replies
    1
    Views
    565

    gluLookAt

    Good day friends,

    I'm writing the camera code for my scene in openGl. I'm attempting to write a code that enable me to zoom in/out and rotate the camera. The problem is that to rotate the camera I...
  6. Replies
    3
    Views
    956

    Re: glmaterial

    Thanks for the reply Alfonse,

    You are right. But the thing is that I have several objects in the scene. Fore example, I have an object standing on a ground and I only want to change the colour...
  7. Replies
    3
    Views
    956

    glmaterial

    Hello friends,

    I'm using the glmaterial to change the colour of objects in a scene in openGl. The problem is that I want to change the colour of one object, but end up changing the colour of all...
  8. Re: Controlling several objects in openGl independentl

    Thanks for the reply Zbuffer. I'm sure It will help me a lot.

    Ali
  9. Replies
    3
    Views
    2,432

    Re: glutSolidSphere

    Thanks for your helpful reply..:)
  10. Controlling several objects in openGl independentl

    Controlling several objects in openGl independently

    Hi friends,

    I'm creating a scene in openGl. There will be a number of different objects in this scene, and I would like to have the freedom...
  11. Replies
    3
    Views
    2,432

    glutSolidSphere

    Hi friends,

    I'm attempting to draw a ground with a light source in openGl.
    I did draw the ground (a cube face on x-z plan).
    I draw a solid sphere (glutSolidSphere) to represent the light source,...
  12. Replies
    6
    Views
    23,949

    Re: rotate cube with mouse - opengl

    Thanks for the sharing your code.

    One question If i may ask, what is the purpose of the idle function:

    void idle()
    {
    if (!mouseDown)
    {
    xrot += 0.3f;
    yrot += 0.4f;
  13. Replies
    2
    Views
    710

    Re: Transformation in Opengl

    Hi friends,

    Is there something not clear about my question?
  14. Replies
    2
    Views
    710

    Transformation in Opengl

    Good day all,

    I wrote a code, in Opengl, to display an object (e.g. cube) in the display window.

    What I want to do next is to rotate this object around the X, Y and Z axis based on the X and Y...
Results 1 to 14 of 14