Saving Frame Buffer

Post: #1
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 Smile
Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #2
No, you need to store all your scene information yourself and redraw it each frame.
Quote this message in a reply
Posts: 684
Joined: 2002.11
Post: #3
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
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  SLOW performance drawing multiple polygons per frame with stencil buffer clam61 7 11,323 Apr 27, 2013 11:53 AM
Last Post: clam61
  saving images for games: what color profile? Najdorf 1 3,414 Jul 25, 2009 06:16 AM
Last Post: AnotherJake
  Frame buffer objects seem to be messing with my computer Jar445 2 5,542 Feb 24, 2009 08:59 AM
Last Post: Jar445
  saving photos on iphone 1.1.4 dimat 1 3,584 Jun 30, 2008 12:23 PM
Last Post: kodex
  Intel & Saving Audio Data mars 4 4,946 Feb 25, 2006 04:47 PM
Last Post: OneSadCookie