THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/10/2006 at 06:12, xxxxxxxx wrote:
Cinema 4D Version: 9.6
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
the docs say it´s not allowed to access the UVW data of an UVW tag directly.
The problem I have is that I cannot allocate an UVW tag for my polygon object directly, as the polygon count is dynamic and therefore impossible to allocate the correct UVW data count beforehand. And allocating the UVW tag after the polygon creation and filling it using the Set() method would require another loop thru all the polygons which is not feasible concerning performance.
Or does PolygonObject::ResizeObject() also change the UVW tag count? (which I don´t think)
So is there a way to set a dynamically allocated array of UVWStruct data directly to an UVWTag?