Speckles

Hi all,

I test my program on a machine other than my development system and I’m seeing speckles:
http://yfrog.com/6375057941j

This happens with two-sided triangles and both with and without goraud shading.

I’m using floats for all coordinates rather than doubles.

Any clues as to what’s happening?
Thanks.

Hi folks,
As an experiment I switched my coordinates to all doubles for greater precision but I am still getting these speckles everywhere on my model’s surface. As the user rotates the model the speckles twinkle like stars.
What could this be caused by?

This may be caused by imprecision in depth, or T-junctions.

Can we have a wireframe view of the model ?
Do you render triangles twice ?
What is your depth func ?