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...
Type: Posts; User: M77ATTAR
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...
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...
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...
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...
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) {
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,...
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);