Selecting points, polys, and edges.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/01/2010 at 16:23, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;---------
I have asked this question before and I remember that ViewportSelect was part of the answer , but how do I make it so that the user can select polygons, edges, or points, by clicking on them?I'm thinking I will need to somehow use
GetNearestPoint(), GetNearestPolygon, and GetNearestEdge()
Could someone help me get started with this?
Thanks.,
~Shawn
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/01/2010 at 06:22, xxxxxxxx wrote:
Hi,
actually i dont really know, but another part of the answer might be to set a special flag in the RegisterToolPlugin call: PLUGINFLAG_TOOL_HIGHLIGHT.
And maybe you also have to return DRAW_HIGHLIGHTS from your Draw function.
thats just me guessing though, never used that stuff myself..
greetings,
Daniel