Saving Frame Buffer

nicromonicon
Unregistered
 
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
Luminary
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
Moderator
Posts: 680
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 3,550 Apr 27, 2013 11:53 AM
Last Post: clam61
  saving images for games: what color profile? Najdorf 1 2,202 Jul 25, 2009 06:16 AM
Last Post: AnotherJake
  Frame buffer objects seem to be messing with my computer Jar445 2 3,268 Feb 24, 2009 08:59 AM
Last Post: Jar445
  saving photos on iphone 1.1.4 dimat 1 2,216 Jun 30, 2008 12:23 PM
Last Post: kodex
  Intel & Saving Audio Data mars 4 3,147 Feb 25, 2006 04:47 PM
Last Post: OneSadCookie