Saving Frame Buffer
hey guys,im a using Opengl with C# (Tao Framework), im a making a simple coloring book,so far so good,but when i do actually "color" the scene is the problem
see i have three circles,i colored the first one,no problem,but when i color the second,the 1st on returns to white!
i thought i could attach each circle to its own color,but thats not generic,what i need is to save the whole scene,instead of re-drawing it every time
is there something like pushmatrix,popmatrix but whith scenes?
please help
thanks in advance
see i have three circles,i colored the first one,no problem,but when i color the second,the 1st on returns to white!
i thought i could attach each circle to its own color,but thats not generic,what i need is to save the whole scene,instead of re-drawing it every time
is there something like pushmatrix,popmatrix but whith scenes?
please help
thanks in advance
No, you need to store all your scene information yourself and redraw it each frame.
When the user is drawing, save the data from every frame. When they finish a stroke, redraw it all to the buffer and store it in a pixmap. Redraw the pixmap under everything else. Repeat as necessary.
My web site - Games, music, Python stuff
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| SLOW performance drawing multiple polygons per frame with stencil buffer | clam61 | 7 | 569 |
Apr 27, 2013 11:53 AM Last Post: clam61 |
|
| Frame buffer objects seem to be messing with my computer | Jar445 | 2 | 2,669 |
Feb 24, 2009 08:59 AM Last Post: Jar445 |
|
| saving photos on iphone 1.1.4 | dimat | 1 | 1,935 |
Jun 30, 2008 12:23 PM Last Post: kodex |
|
| Intel & Saving Audio Data | mars | 4 | 2,839 |
Feb 25, 2006 04:47 PM Last Post: OneSadCookie |
|
| DevIL - saving images to file!!!! | alert | 2 | 2,465 |
Jun 2, 2005 03:43 AM Last Post: alert |
|

