Advertisement

Texture Painting

Started by July 17, 2003 10:06 AM
2 comments, last by BGCJR 21 years, 7 months ago
I''m putting together a texture painter program. I draw on the screen and then glcopyteximage2d to save it. But glCopyTex is not saving to texture. i redraw the texture as a background , paint a vertex in othro then glcopy to the texture (background). Maybe setup? maybe MFC? maybe glCopy? Bobby
Game Core
I''m not sure I fully understand your question, but if you want to read back from the framebuffer(screen) then have a look at glReadPixels
don''t piss on an electrical fence
Advertisement
I have to draw the background with a texture.
then paint on it. then to save the changes write scene to background texture then repeat alot.

I have a 1/4 screen stays drawn while the rest shrinks to 0,0 as update the texture.

the 1/4 that appears to be 0,0 to 256,256.

Bobby
Game Core
NeverMind, found the problem.
Game Core

This topic is closed to new replies.

Advertisement