FLTK logo

Re: [fltk.general] Idle function for OpenGL scene?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Idle function for OpenGL scene? Furqan Ullah Jan 14, 2014  
 
Thanks Greg, It really helpful.

I did it, but I am confuse on speed... 1/24 means 24 fps. But when I try to increase the frame per sec speed, I do not see any difference, I try 1/100 fps, it just gives me a very minor effect. How can I increase the animation speed or fps?

In fact, I did pretty much work with glut functions in fltk. But the problem with glut is I can't create a c++ class with these function. These function doesn't provide this facility? Am I right?

glutReshapeFunc
(reshape);
    glutDisplayFunc
(display);
    glutMouseFunc
(mouse);
    glutMotionFunc
(motion);
    glutSpecialFunc
(SpecialKeys);
    glutKeyboardFunc
(keyboard);



So, thats why, now I am moving to Fl_Gl_Window class. It is working well, the only and very important issue I am facing is, real-time Idle function speed. How can I increase the speed of real-time updating?

Thanks.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.