[osg-users] Can i use MatrixTransform to transform a HUD node?

Chen Gao gaochen010 at sina.com
Mon Jan 7 21:01:17 PST 2019


Chris Hanson wrote:
> 
> 
> I'm afraid I didn't understand this explanation very well myself. My first question would be, do the HUD elements (the 2d pics) stay stuck to the screen space (as if they were part of a game scoreboard overlaid onto the screen) or do the move around the screen as the main view camera rotates, tilts, moves, etc like an Augment Reality environment?
> 
> 
> -- 
> 
> 
> Chris 'Xenon' Hanson, omo sanza lettere.  http://www.alphapixel.com/ (http://www.alphapixel.com/)
> Training • Consulting • Contracting
> 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> Legal/IP • Forensics • Imaging • UAVs • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
> @alphapixel (https://twitter.com/alphapixel) facebook.com/alphapixel (http://facebook.com/alphapixel) (775) 623-PIXL [7495]
> 
>  ------------------
> Post generated by Mail2Forum


Thank you for your reply. If you feel confused by my unprofessional   explanation:), you can think it this way as below:

       Can I use a MT node to add the Hud node and then transform the hud on the screen by the MT parent node.This should be clear.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75417#75417







More information about the osg-users mailing list