From: Williams, J. <Jas...@fh...> - 2005-08-24 12:27:55
|
It may still be a problem even if people aren't aware of it because they = have not used the combination in ways which is very visible. I would = suggest creating a test case which should bring out an obvious symptom = of the matrix transform contradiction. =20 Jason. -----Original Message----- From: sgl...@li... = [mailto:sgl...@li...]On Behalf Of Michael M. = Morrison Sent: Tuesday, August 23, 2005 6:25 PM To: sg...@li... Subject: [sgl-dev] eTRANSFORM_MATRIX statelet In the current code base the eTRANSFORM_MATRIX enumerant in = sglStatelet::StateEnum appears after eSHADE_MODEL and before = eTRANSPARENCY. However, in sglScene::createDefaultStatelets() = sglTransparency is pushed right after sglShadeModel with no space in = between for "transform matrix." And therefore the order in the two = lists is different. =20 Since several places in the code (sglCurrState.cpp) etc reference a = full_state->m_statelet vector using eTRANSFORM_MATRIX and eTRANSPARENCY, = it seems that this should have been causing problems all along. =20 =20 If this is a problem, I am not sure where to put eTRANSFORM_MATRIX in = the enumeration in sglStatelet.hpp because it doesn't appear in the = default statelet vector anywhere. Am I missing something? =20 -Mike =20 |