THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/07/2011 at 20:58, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;
I am looking for the best way to select the points that are inside of the radius of ViewportSelect::GetNearestPoint()
I can iterate through all the points and select all points that fall within the radius but this gets slow when there are a lot of points or the radius is large.
How does the live selection tool handle this? Is there a way to select those points without having to iterate through all points? Is there a class or function in the SDK that I am overlooking to accomplish this?
Perhaps a way to traverse the pixels inside of the determined radius as defined in GetNearestPoint()?
Any help anyone could offer would be huge!
PS It seems that GeRayCOllider is not a viable option here either as it too runs slow at higher point counts. :)