Help on Drawpixel or elimination of small black spots

Hi, I am doing a raytracing project while my raytracing result there are lots of small balck spots on the scene, and some of them
really hurt the clearity of the object edge and shape. While, these spots appears among other colored pixels, I dont know
how to eliminate them.

I use a orthogonal projection and use glBegin(GL_LINE_STRIP) to draw the raytracing pixels on the project plan.

While, I tried to use glDrawpixel(), but I dont know how to specify the pixel information pointer. Can anyone give some
comments of did anyone meet similar prolem and eventually work out a solution?

Thanks o

Originally posted by jojozhong:
While, I tried to use glDrawpixel(), but I dont know how to specify the pixel information pointer. Can anyone give some
comments of did anyone meet similar prolem and eventually work out a solution?

A solution could be to render off-screen and then use glCopyPixels to get the pixels on the framebuffer.
About the black holes, they could be dangerous… eat up your computer…
I can’t guess the cause, maybe a screenshot, or more info will help.

[This message has been edited by paolom (edited 11-21-2000).]