PDA

View Full Version : problems with vertex arrays and glmultmatrix



satan
02-21-2002, 06:28 AM
hi ppl


i made a simple class for a square
it has the functions to create a vertex array and to draw it (worked quite well)
now i implemented my own rotations, meaning that i store a matrix containing the transformations and apply it using glmultmatrix before drawing the vertex array using gldrawrangeelements

the problem is that i get render artefacts!!!
now to the strange things

it works well for rotations about the world x-axis (all rotations are done about world axis) but not for y- or z-axis

using immediate mode looks ok and no artefacts appear (for all axis)

i even moved the camera further away as i thought it could be problems with the near clipping plane but that did not help

any ideas?

btw i use a geforce2mx and latest nvidia drivers on linux

any help is highly welcome

thx in advance

satan
02-21-2002, 02:41 PM
as noone could help i solved it myself

thx satan http://www.opengl.org/discussion_boards/ubb/wink.gif