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
    0
    Views
    659

    error using glut and glew in mex file

    hello. to compile a mex file in matlab that requires glut and glew, I proceeded as follows:
    -put. "lib" in "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ lib"
    -put. "h" in "c:\Program...
  2. Replies
    5
    Views
    1,610

    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. Replies
    5
    Views
    1,610

    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...
  4. 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...
  5. 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...
  6. Replies
    5
    Views
    1,610

    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) {
  7. Replies
    5
    Views
    1,610

    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,...
  8. Replies
    2
    Views
    1,181

    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 8 of 8