On 06/07/2016 at 14:21, xxxxxxxx wrote:
Cinema 4D Version: R17
Platform: Windows ;
Language(s) : C++ ;
I am currently working on a plugin which imports externally generated PolygonMesh geometry & vertex data into Cinema 4D.
The external vertex data is set with different values on each Polygon index in a PolygonMesh (where several polygon vertex indices reference the same spatial point).
It looks like that the Tvertexmap Tag data array can only set VertexMap data (e.g. weights) per polygon point and not per polygon index - is this correct ? Thanks.
On 07/07/2016 at 05:09, xxxxxxxx wrote:
yes, correct. Hence the name "Vertex"Map.
On 07/07/2016 at 07:48, xxxxxxxx wrote:
welcome to the Plugin Café forums
Your assumption is correct. For example look at the Alloc() function of the VertexMap tag, it just works with the number of vertices. The tag just carries info per vertex.
Sorry, I know, this answer won't make you happy.
On 11/07/2016 at 07:58, xxxxxxxx wrote:
Thanks. I have used a work-around now by duplicating points where needed.
This subject can be closed.