SHARE
TWEET
Untitled
a guest
Apr 26th, 2019
15
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- int polygon, vertex, polygonIndexCounter = 0;
- for(polygon = 0; polygon < polygonsCount; polygon++) {
- const int polygonSize = mesh->GetPolygonSize(polygon);
- for(vertex = 0; vertex < polygonSize; vertex++) {
- if(polygonIndexCounter >= indexCount) {
- continue;
- }
- FbxVector2 UVValue;
- int UVIndex = useIndex ? UVElement->GetIndexArray().GetAt(polygonIndexCounter) : polygonIndexCounter;
- UVValue = UVElement->GetDirectArray().GetAt(UVIndex);
- std::cout << "Found uv value: " << UVValue << std::endl;
- polygonIndexCounter++;
- }
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
