Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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
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