|
From: Braden M. <br...@en...> - 2010-04-01 02:05:37
|
On Wed, 2010-03-31 at 04:14 -0700, cheribhai wrote: > I agree. I think viewpoint jumps and animations can be quite useful at times. > In my case I need to actually perform the 'bind' to another viewport, so > isBound is not good enough. > > But do you propose exposing the 'bind' method only for the viewpoint_node > (which I think should be enough, since this is probably the only bindable > node that the browser is allowed to manipulate) or are you thinking about a > more general approach? If that's what you want, why not just send an event to the Viewpoint node's "set_bind" eventIn? If we do start exposing the bound node stack via libopenvrml's API, this is something that ought to be done generally and consistently for all bindable nodes. An approach I'm thinking of would have bindable types registering themselves somehow with the browser (or possibly the scene), which would provide (and expose) the actual bound node stack logic. -- Braden McDaniel <br...@en...> |