Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit ec1c89e8 by Kenneth Vanhoey

amelioration de decimation lightfield

parent 31038dc3
 ... @@ -68,7 +68,6 @@ void Approximator_Frame::approximate(Dart d) ... @@ -68,7 +68,6 @@ void Approximator_Frame::approximate(Dart d) REAL t = std::max (std::min (segment * segmentNew , REAL(1)) , REAL(0) ) ; // Orthogonal projection on segment v1-v2 of new vertex REAL t = std::max (std::min (segment * segmentNew , REAL(1)) , REAL(0) ) ; // Orthogonal projection on segment v1-v2 of new vertex VEC3 n1, n2 ; VEC3 n1, n2 ; this->m_attrV[d].getSubVectorH(2, 0, n1) ; this->m_attrV[d].getSubVectorH(2, 0, n1) ; this->m_attrV[dd].getSubVectorH(2, 0, n2) ; this->m_attrV[dd].getSubVectorH(2, 0, n2) ; ... @@ -76,7 +75,7 @@ void Approximator_Frame::approximate(Dart d) ... @@ -76,7 +75,7 @@ void Approximator_Frame::approximate(Dart d) VEC3 newN = slerp(n1,n2,t) ; // spherical interpolation VEC3 newN = slerp(n1,n2,t) ; // spherical interpolation newN.normalize() ; newN.normalize() ; VEC3 newI = n1 ^ n2 ; // i is perpendicular to newNormal VEC3 newI = n2 ^ n1 ; // i is perpendicular to newNormal newI.normalize() ; newI.normalize() ; VEC3 newJ = newN ^ newI ; VEC3 newJ = newN ^ newI ; ... ...
 ... @@ -123,7 +123,7 @@ bool QuadricRGBfunctions::findOptimizedRGBfunctions(RGBFUNCTIONS& cf) cons ... @@ -123,7 +123,7 @@ bool QuadricRGBfunctions::findOptimizedRGBfunctions(RGBFUNCTIONS& cf) cons coefs = Ainv * b[col]; coefs = Ainv * b[col]; assert (cf.setSubVectorH(col,0,coefs) || "QuadricRGBfunctions::findOptimizedRGBfunctions(cf) setSubVector failed") ; assert (cf.setSubVectorH(col,0,coefs) || !"QuadricRGBfunctions::findOptimizedRGBfunctions(cf) setSubVector failed") ; } } return true; return true; ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!