: 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.commailto:car
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
: 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
Subject: Re: SDK : caching the tool context pick buffer
i didn't realize the pickbuffer in ogl could provide
-boun...@listproc.autodesk.com] On Behalf Of Steven Caron
Sent: 31 July 2012 21:39
To: softimage@listproc.autodesk.com
Subject: Re: SDK : caching the tool context pick buffer
thanks, i am going to use the fps counter for now ...
i made some progress last night... i am caching the pickbuffer properly
-boun...@listproc.autodesk.com] On Behalf Of Steven Caron
Sent: 31 July 2012 21:39
To: softimage@listproc.autodesk.com
Subject: Re: SDK : caching the tool context pick buffer
thanks, i am going to use the fps counter for now ...
i made some progress last night... i am caching the pickbuffer
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Steven Caron
Sent: 01 August 2012 18:18
To: 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
of which don't seem to be very
efficient)
--
Brent
From: 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
Subject: Re: SDK : caching the tool context pick buffer
i
@brent, can i use softimage's fps counter to do speed testing? does that
counter represent the entire ogl rendering pipeline?
no biggie if not, i just didn't want to have to make my own profiling/fps
counter.
s
On Mon, Jul 30, 2012 at 3:09 PM, Steven Caron car...@gmail.com wrote:
well the
July 2012 20:59
To: softimage@listproc.autodesk.com
Subject: Re: SDK : caching the tool context pick buffer
@brent, can i use softimage's fps counter to do speed testing? does that
counter represent the entire ogl rendering pipeline?
no biggie if not, i just didn't want to have to make my own
Hi Steven,
Why don't you keep a dirty flag for the pickbuffer and simply set that in
Activate and then the next time you ask for the pickbuffer (in mouse move or
mouse down) recompute it if it is dirty.
The pickbuffer is specific to a particular view so you can't generate it is a
callback
thanks for the reply Brent!
using a dirty flag is totally fine, i think it was just late and i couldn't
think of such a obvious answer. i dont think an IsValid method is needed
for the PickBuffer, i can use IsNavigating() or use the activate callback
to set the flag.
i am not at the point where
@listproc.autodesk.com
Subject: Re: SDK : caching the tool context pick buffer
thanks for the reply Brent!
using a dirty flag is totally fine, i think it was just late and i
couldn't think of such a obvious answer. i dont think an IsValid method is
needed for the PickBuffer, i can use IsNavigating
well the CGeometryAccessor is a dump of everything too, but its just
float/long data arrays instead of full fledged classes. at least i could
cache this data easily without loops...
should be a fun exercise, which is available here for anyone who is
interested...
13 matches
Mail list logo