PDA

View Full Version : weird ...



Peixinho
06-30-2011, 04:30 PM
Im doing some tests with opengl and everything is going well, until this happened:
(These are several meshes with the same position, but you can see what its reaaly wrong and different from the 2 pictures)
http://img217.imageshack.us/img217/5919/screenshot20110630at724.png
Other example:
http://img197.imageshack.us/img197/341/screenshot20110630at745.png
Most of the times this doesnt happen, everything shows like is supposed, but I don't have a clue why sometimes the geometry looks like this.
thanks in advance ;)

Ffelagund
06-30-2011, 04:56 PM
I bet my right hand that this is a bad memory access in your vertex buffers. Check them again: size, number of vertices, number of vertex components, types...

Peixinho
06-30-2011, 05:54 PM
Will do. Hope your hand will be safe :P
Btw, if it is memory problem, shouldn't this happen every time?

Thanks