[osg-users] Autorotating scene elements (osg::Billboard vs. osg::AutoTransform)

63 views
Skip to first unread message

Javier Taibo

unread,
Oct 5, 2010, 3:48:33 AM10/5/10
to OpenSceneGraph Users
  Hi all,

  In a recent thread it was commented the differences between Billboards and AutoTransforms. For lightweight models (like trees) Billboard is a very efficient solution. AutoTransform, on the other side, is a Group node that orient the scene graph behind it towards the screen (or the camera).

  However, I think there is a useful feature missing. I have found in many cases that I need to rotate a part of the scene graph around an axis (just like billboards do), usually the Z-axis. It would be nice to have in AutoTransform a way to define a rotation axis and a mode to activate it.

  Is there any evident way to do it that I am missing (this is probable)? In case there is not, do you think it would be interesting to add this feature to AutoTransform?


  Best Regards,
  Javier Taibo.


  P.S.: Maybe I am nostalgic of old VRML Billboards, that in fact were a Group node :)

Reply all
Reply to author
Forward
0 new messages