THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2012 at 05:30, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;
---------
Hi folks,
I'm doing some simple experiments on object plugins and am getting stuck on one in particular. I have a basic object that holds polygon/point data and am wanting to view that in the editor view. But I'm not sure where I should draw it from, or how.
So far, I can select the polygons, points, edges and can use Cinema's tools with it. Data is stored in Tpoint and Tpolygon tags, and renders out fine. But I can't seem to get them to show up in the editor viewport unless I mouse over them in one of the tool modes (such as polygon mode).
Might this have something to do with GetCache() and/or GetDeformCache()? Is it possible to use Draw() or DrawPolygon() (or another type?) to get the tag data and draw the object into the viewport?
How does a simple editable polygon work/how is it drawn into the viewport?
Kind regards, WP.