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

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    953

    problem with idle function

    hello, in a program I want to put the camera in certain places, for this I used the idle function. my problem is: when I write eyex + = r things do not work, but when I replace the variable r by its...
  2. Replies
    5
    Views
    953

    problem with idle function

    hello, in a program I want to put the camera in certain places, for this I used the idle function. my problem is: when I write eyex + = r things do not work, but when I replace the variable r by its...
  3. yes, my current code displays a single object,...

    yes, my current code displays a single object, but thanks to the idle function it displays multiple views. I want that my program displays all the objects in a successive course for each object must...
  4. successive display of multiple items 3D with views

    hello I'm working on a project opengl. spot to do is to display a set of 3D objects in the form of successive views
    (6 views for each object, for example). For extremely I happened to do the...
  5. Replies
    5
    Views
    953

    yes indeed it works well with idle. static...

    yes indeed it works well with idle.

    static void idle(void)
    {
    ex +=2;cp=1;
    if (ex > 6) {
    ex=0;ey +=2;cp=3;
    if (ey > 6) {
    ey=0;ez +=2;cp=5;
    if (ez > 6) {
  6. Replies
    5
    Views
    953

    views of a cube

    hello;
    in a program opengl, I drew a cube. when I input a letter the program displays a view of the cube, calculates and records (in a text file with glreadpixel ()) the number of pixels of red,...
  7. Replies
    2
    Views
    678

    how to use glreadpixel() ?

    hello,

    I just draw a rectangle as follows:

    glColor3f(1.0,.0,.0);
    glBegin(GL_POLYGON);
    glVertex2f(.0,.0);
    glVertex2f(0.2,.0);
    glVertex2f(0.2,1.0);
    glVertex2f(.0,1.0);
Results 1 to 7 of 7