Hi,

On 21/10/10 18:26, Yurii Monakov wrote:
Hi All

After some googling I've discovered an AutoTransform node )) When
setting it's auto-rotate mode to ROTATE_TO_SCREEN and
setAutoScaleToScreen(true) it gives me exactly what I want. The only
problem is that after looking at AutoTransform node I noticed that it
does a lot of computation inside. The only thing I need is to push
root's MVPW matrix to some part of the graph (Transform nodes, which
are children of the screen-spaced node) to update their positions
properly. Is there any other way to do this?

not that I know of, but I think you've now discovered enough to create your own node, either based on AutoTransform (but for already screen-spaced geometry) or your own.

jp


Thank you!

Yurii
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to