darren
02-12-2003, 08:22 AM
Hi,
I'm working on a program that creates a relatively high poly-count object from some data. This object is static (for now). I qsort the polys of the object based on z distance before drawing, so I can do some blending.
The problem is I can not rotate the object without getting artifacts with glBendFunc(GL_SRC_ALPA,GL_ONE_MINUS_SRC_ALPHA). It seems apparent that the original draw ordering is being used as glRotate rotates the object.
Is there a cheap / fast way of modifying the drawing order relative to rotation?
thx,
D
I'm working on a program that creates a relatively high poly-count object from some data. This object is static (for now). I qsort the polys of the object based on z distance before drawing, so I can do some blending.
The problem is I can not rotate the object without getting artifacts with glBendFunc(GL_SRC_ALPA,GL_ONE_MINUS_SRC_ALPHA). It seems apparent that the original draw ordering is being used as glRotate rotates the object.
Is there a cheap / fast way of modifying the drawing order relative to rotation?
thx,
D