Re: [Flightgear-devel] Is there a property that gest the distance between an object and the point of view?

2006-02-26 Thread Robicd
Melchior suggested me to move them to the center. Well I can't, they have to scale separately around different centerpoints. Yes you can. You scale them and then translate them to the points that you want them. That's how all billboard animations have to be done. Take a look at the link he

[Flightgear-devel] Is there a property that gest the distance between an object and the point of view?

2006-02-25 Thread Roberto Inzerillo
I have a 3d object and I'd like to use a property out of the tree which gets me the distance between the point of view and the object itself, in order to apply an animation to that. Is there something like that available? Roberto ---

Re: [Flightgear-devel] Is there a property that gest the distance between an object and the point of view?

2006-02-25 Thread Josh Babcock
Roberto Inzerillo wrote: I have a 3d object and I'd like to use a property out of the tree which gets me the distance between the point of view and the object itself, in order to apply an animation to that. Is there something like that available? No, but there is an animation called

Re: [Flightgear-devel] Is there a property that gest the distance between an object and the point of view?

2006-02-25 Thread Frederic Bouvier
Josh Babcock a écrit : Roberto Inzerillo wrote: I have a 3d object and I'd like to use a property out of the tree which gets me the distance between the point of view and the object itself, in order to apply an animation to that. Is there something like that available? No, but

Re: [Flightgear-devel] Is there a property that gest the distance between an object and the point of view?

2006-02-25 Thread Josh Babcock
Robicd wrote: Melchior suggested me to move them to the center. Well I can't, they have to scale separately around different centerpoints. Yes you can. You scale them and then translate them to the points that you want them. That's how all billboard animations have to be done. Take a

Re: [Flightgear-devel] Is there a property that gest the distance between an object and the point of view?

2006-02-25 Thread Ampere K. Hardraade
On Saturday 25 February 2006 15:56, Frederic Bouvier wrote: A question for Nasal expert : is nasal able to do vector and matrix computation ? If yes, there is a 'SGCustomTransform' class in simgear. For the moment, it requires a callback in C++ to compute the transformation matrix. We can

Re: [Flightgear-devel] Is there a property that gest the distance between an object and the point of view?

2006-02-25 Thread Ampere K. Hardraade
On Saturday 25 February 2006 11:06, Roberto Inzerillo wrote: I have a 3d object and I'd like to use a property out of the tree which gets me the distance between the point of view and the object itself, in order to apply an animation to that. Is there something like that available?