Talk About Network

Google





Graphics > OpenGL 3D API > Bad Colors On F...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 4762 of 5061
Post > Topic >>

Bad Colors On Frame Buffer Textures

by Tony <TO'Bryan@[EMAIL PROTECTED] > May 21, 2008 at 03:31 PM

I made a first pass at using frame buffers for rendering to a texture, but
I'm having a puzzling (to me) problem.  It seems that not all OpenGL
functions are operating while the frame buffer texture is actively bound. 
For example, Setting a clear color and using glClear() isn't clearing the
texture, but rather then main display.  Setting a new color and drawing
lines while the frame buffer texture is actively bounds draws to the
texture as expected, but then the background color of the texture object
becomes the same as the line color.

Any suggestions off the top of your heads, or do you need to see my code? 
My code is encapsulated in a class, so I would need to unroll the
execution
and extract the gl* function sequence.  But if no one has any suggestions
without seeing the code, I'll post it.  Before I do that, I wanted to see
if this problem rang any bells.
 




 7 Posts in Topic:
Bad Colors On Frame Buffer Textures
Tony <TO'Bryan@[EMAIL   2008-05-21 15:31:11 
Re: Bad Colors On Frame Buffer Textures
Tony <TO'Bryan@[EMAIL   2008-05-22 08:10:58 
Re: Bad Colors On Frame Buffer Textures
fungus <openglMYSOCKS@  2008-05-22 12:32:46 
Re: Bad Colors On Frame Buffer Textures
Tony <TO'Bryan@[EMAIL   2008-05-22 15:43:32 
Re: Bad Colors On Frame Buffer Textures
"jbwest" <jb  2008-05-22 20:26:09 
Re: Bad Colors On Frame Buffer Textures
Tony <donotreply@[EMAI  2008-05-23 06:02:59 
Re: Bad Colors On Frame Buffer Textures
Tony <donotreply@[EMAI  2008-05-22 19:03:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 16:23:43 PST 2009.