Does anyone know how to use this 2 lines and what they really mean?
I have tried looking at an old version of the “redbook” but I don’t really understand how it works.
I am looking in the direction of rendering a series of scenes but each scene must retain certain ‘parts’ of the previous scene.
I am using MFC with open GL and adopting the Doc/View architecture. This means that any data storage or processing is done in the Doc class.
For example, I have 5 cups on the screen. A change in a particular array variable in the Doc class should indicate whether each particular cup is filled with water or without. When variable 1 is changed, cup 1 is filled up and the scene should be rendered. When the next event to happen is variable 2 changing, cup 2 should fill up but cup 1 should retain its former look and the entire scene is rendered again.
Does this have anything to do with push and pop for the attribute bits? Or does anyone know the conventional and ‘correct’ method to do this? Pls help. Thanks.
I hope I have described the situation well enough for you to understand, if not, pls post a message to me for any clarification? Thanks alot!!