Hi Steven, Sorry, for the late reply as I was on holidays.
As far as painting goes you don't really need any special lookups to find vertices within the brush radius. Once you know the current polygon under the brush center (which you got from the the pick buffer/raycast etc.) you just need to traverse neighbouring polys/verts (using the mesh topology) until you exceed the brush radius. -- Brent From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Steven Caron Sent: 15 August 2012 19:09 To: softimage@listproc.autodesk.com Subject: Re: SDK : caching the tool context pick buffer hey brent GAP related question... are you guys internally using your nearest neighbor/point locator to get points within the brush radius? say for weight painting? s On Wed, Aug 1, 2012 at 11:06 AM, Steven Caron <car...@gmail.com<mailto:car...@gmail.com>> wrote: cheers! s On Wed, Aug 1, 2012 at 10:26 AM, Brent McPherson <brent.mcpher...@autodesk.com<mailto:brent.mcpher...@autodesk.com>> wrote: The pickbuffer doesn't have the information but intenally we could look it up on the mesh more efficiently than you can using either the geometry accessor or polygon arrays in the SDK. (both of which don't seem to be very efficient) -- Brent From: softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com> [mailto:softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>] On Behalf Of Steven Caron Sent: 01 August 2012 18:18 To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com> Subject: Re: SDK : caching the tool context pick buffer i didn't realize the pickbuffer in ogl could provide that or maybe it was a convenience function the sdk would provide over the standard ogl pick buffer? regardless, i will bring this up as a suggestion. s
<<attachment: winmail.dat>>