GIDForums  

Go Back   GIDForums > Computer Programming Forums > OpenGL Programming
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 25-Jun-2008, 12:24
sheree sheree is offline
Awaiting Email Confirmation
 
Join Date: Mar 2008
Posts: 15
sheree is on a distinguished road
Unhappy

Problem with udating a function in opengl


Hello everyone,
I had a problem by dealing with the display function in opengl.
Well, the problem goes as following:

I would like to use a function inside display function of opengl, and having a variable in that function which can be changed interactively, could be by keyboard function,but in here I couldn't right now achieve this since I always have a good result when the variable is setting to zero but whenever I change it the displayed picture starts falshing and flashing just like when you don't use
CPP / C++ / C Code:
glFlush(); 
at the end of your rendering procedure

Could any one give me an advice or explaine what is the alternative solution could be?

By the way: the variable that I tried to change it, effects directly on an array the is used to render the result between

CPP / C++ / C Code:
glBegin();
.
.
glEnd();

Comments, new suggestions are really appreciated
  #2  
Old 25-Jun-2008, 12:33
sheree sheree is offline
Awaiting Email Confirmation
 
Join Date: Mar 2008
Posts: 15
sheree is on a distinguished road

Re: Problem with udating a function in opengl


sorry for the repetition, I am don't know how can I remove it yet.
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
run script command on ns2.26 newbie06 Computer Software Forum - Linux 65 19-Aug-2009 08:50
Airport Log program using 3D linked List : problem reading from file batrsau C Programming Language 11 29-Feb-2008 08:44
Flex and bison coding lucky88star C++ Forum 5 24-Dec-2007 12:57
Need Help with input files. Efferus C++ Forum 2 24-Nov-2007 17:19
[Include] Doubly-linked List dsmith C Programming Language 6 14-Apr-2006 14:12

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 08:11.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.