Hi Dirk, Thanks a lot for your help, it's working very good with setAxisOfRotation(Vec3f(0,0,0))
Stephane
>>> Dirk Reiners <[EMAIL PROTECTED]> 01/05/2008 10:38 >>>
Hi Stephane,
Stephane Routelous wrote:
> Hi dirk,
>
> I was not aware of the Billboard class.
> I tried it, it's working fine, but the "up" vector is not kept
(meaning
> that the text has still a rotation around the "through the screen"
> axis).
> And sometimes, it does not exactly face the screen.
> Is that the intended behaviour ?
By default the Billboard will rotate around the Y-axis only. There are
other
modes of rotation you can play with. You probably want to
setAxisOfRotation(Vec3f(0,0,0)) to rotate around a point, and then try
to
set/unset FocusOnCamera and/or AlignToScreen to see which one works
bets for you.
Hope it helps
Dirk
______________________________________________________________
Celebrating Excellence Since 1972. For more information, please visit
www.rwdi.com/35th_anniversary/.
Reputation Resources Results
http://www.rwdi.com
______________________________________________________________
This communication is intended for the sole use of the party to whom it
is addressed and may contain information that is privileged and/or
confidential. Any other distribution, copying or disclosure is strictly
prohibited. If you have received this e-mail in error, please notify us
immediately by telephone (1-519-823-1311) and delete the message without
retaining any hard or electronic copies of same.
RWDI scans outgoing emails for viruses, but makes no warranty as to
their absence in this email or attachments.
______________________________________________________________
Celebrating Excellence Since 1972. For more information, please visit
www.rwdi.com/35th_anniversary/.
Reputation Resources Results
http://www.rwdi.com
______________________________________________________________
This communication is intended for the sole use of the party to whom it is
addressed and may contain information that is privileged and/or confidential.
Any other distribution, copying or disclosure is strictly prohibited. If you
have received this e-mail in error, please notify us immediately by telephone
(1-519-823-1311) and delete the message without retaining any hard or
electronic copies of same.
RWDI scans outgoing emails for viruses, but makes no warranty as to their
absence in this email or attachments.
Header
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
