On 11/11/2016 at 01:40, xxxxxxxx wrote:
Cinema 4D Version: 17
Platform: Windows ;
Language(s) : C++ ;
In an object generator plugin, there's an input polygonal object as geometry, and an output generated object. The constraint is that the input and output are topologically identical.
The general case for my problem is exemplified with the Catmull-Clark Subdivision. The initial vertices of the un-sybdivided object remain, being simply translated to a new position.
How would one in C4D sdk set the uvs of the subdivided object such that there is a topologically identical uv mapping? In other words the uv parameters of the initial verices stay the same, and the generated points have interpolated parameters.
I hope the attached image makes it clear. Left is input, right is output. Notice how the mapping preserves the uvs at he corners and at midpoints.
Thanks in advance!