It's been there since 1.4 at least. :) See Dirk's port about commit digest. Things are looking up, even though I was well would appreciate a list with what's been added, what's being worked on and what is and is not planned for the fututre.
/Marcus Allen Bierbaum wrote:
calcVertexTangents? That's awesome. When was that added? Even monitoring the cvs commits I missed that one. Is there a running "what's new" page on the website or anything that has a list of things like this that may have slipped through while I wasn't watching. :) -Allen 신선형 wrote:Hi, I used "calcVertexTangents" function in OSGGeoFunctions.cpp file to calculate the tangents and binormals for the geometry's vertices. calcVertexTangents(carGeo, 0, Geometry::TexCoords1FieldId, Geometry::TexCoords2FieldId); I think the tangents will be saved into TexCoords1 and binormals into TexCoords2. Isn't it right? I want to see the results of that function. OSG::GeoTexCoordsPtr texCoordsPtr; texCoordsPtr = carGeo->getTexCoords(); for( int i=0; i<texCoordsPtr->getSize(); i++) { Pnt3f ppp = texCoordsPtr->getValue( i ); printf( "%f,%f,%f\n", ppp[0],ppp[1],ppp[2] ); } But it seems it doesn't work. The "z"(ppp[2]) values are always zero. How can I see the results of "calcVertexTangetns" function? Thank you always! Regards Estee------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op�k _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op�ick _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
