Archived

This topic is now archived and is closed to further replies.

dashlines in pbuffers

This topic is 5111 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, I''m struggling against a strange problem with pbuffers. My pbuffer used with RGBA or Z is polluted by some kind of empty dash-dot lines (??!!) I mean i fill my pbuffer with a Z or RGBA, and Some pixels are not filled and remain empty. don''t understand why !? If I switch to use a framebuffer (or zbuffer) instead of pbuffer, the problem disapear. here''s a picture (hope it works) blue is the clear color, other is my pbuffer partially filled. [url="http://mapage.noos.fr/equentric/index.html"]image[/url] My card is geforce 4 ti 4600. thanks

Share this post


Link to post
Share on other sites
hey, i find the solution !

It was a problem with the code from a nvidia''s paper(http://developer.nvidia.com/object/gdc_oglrtt.html )
I''ve done a simple cut and paste without thinking.

For the texture they use :
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
GL_LINEAR_MIPMAP_LINEAR );

If you don''t use MIPMAP like me it''s better to use :
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,GL_LINEAR );

Hope this will help you.

And my apologize for my english !

Share this post


Link to post
Share on other sites