Message 1 of 2

Not applicable
11-18-2016
05:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I have done the following:
fnMesh.create(uniquePositionsList->Count, mesh->Triangles->Count, mPointArray, polygonCounts, polygonConnects, meshTransformObj, &status);
MString setName = "UVSet";
fnMesh.createUVSet(setName);
fnMesh.setCurrentUVSetName(setName);
if (fnMesh.clearUVs(&setName) == MStatus::kFailure) { cerr << "clearUVs Error" << endl; } if (fnMesh.setUVs(uArray, vArray, &setName) == MStatus::kFailure) { cerr << "setUVs Error" << endl; } if (fnMesh.assignUVs(polygonCounts, uvIDs, &setName) == MStatus::kFailure) { cerr << "AssignUVs Error" << endl; }
No errors are coming up -- but when I click on the created mesh -- and open the UV editor -- it is completely empty?
I do see the name "UVSet" selected however.
Solved! Go to Solution.