THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/01/2005 at 10:32, xxxxxxxx wrote:
Cinema 4D Version: 9.012
Platform: Windows ;
Language(s) : C++ ;
Hi PPL !
WE have now an Plugin that can export Vertices (THX !!!) and now we need to get the VertexMaps.
I know how to get them ( BaseTag* ptag = Obj->GetTag(Tvertexmap); ) but I dont know the Vertexmap Structure and dont find in the help it.
I mean i can get UVWMap so:
BaseTag* ptag = Obj->GetTag(Tuvw);
UVWStruct uv = static_cast<UVWTag*>(ptag)->Get(i);
But how can i use Vertexmap ? VertexMapStruct doesnt exist I found something about GetDataAdress or so.
Someone can help ?
On 02/01/2005 at 11:35, xxxxxxxx wrote:
VertexMap tags are VariableTag derivatives.
GetDataAddress() returns an array of Reals, same number of elements and indices as vertices for the Point/PolyObject.
The Real elements of the array determine the weighting of their vertex counterparts (0.0 = 0%, 1.0 = 100%).
On 02/01/2005 at 11:44, xxxxxxxx wrote: