Well,Chris. Just as you assumed,my case is quite complicated. I have to make a
growing up effect HUD, ie, dynamically scaled up one. Use Mt to scale the HUD
node will never work since we set the camera ABSOLUTE_RF mode. Then i tried to
use the setviewmatrix method to scale it up but this won't
Yeah,Terry. #1 is the exactly the right way to use HUD. I've been trying these
days to use MT transformation method to operate the child HUD node but it will
never be able to control it because i found that I've used the following line
of code:
>
> Chris, I assumed your first idea. AR labels never crossed my mind.
> Maybe Chen can tell us if I made the right assumption.
>
I was just trying to be thorough and complete because I wasn't clear on
the situation, so I was throwing all possibilities out there to see if that
was the reason I
> So you mean that if i want to move or scale these hud nodes on the main
> screen, i have to use the camera's setviewmatrix method to do this? Add the
> hud nodes to a new MT and use the Mt transform methods won't work,right?
>
> The node structure instruction is like the following:
>
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
>
> Well,as the subject notes,The software in my dev job has to use a HUD
> to show 2d pics. Generally using a camera to create a new viewport to show
> the pic will be OK.
> But the 'Entity' base class for the software system uses a MT
> (matrixtransform) to add the detailed entity
Thank you Terry!
So you mean that if i want to move or scale these hud nodes on the main
screen, i have to use the camera's setviewmatrix method to do this? Add the hud
nodes to a new MT and use the Mt transform methods won't work,right?
The node structure instruction is like the
ned relative to those screen corners.
Every time you resize your window you should call your HUD nodes
positioning method.
- Terry
>
> Message: 5
> Date: Fri, 04 Jan 2019 14:47:01 +0100
> From: "Chen Gao"
> To: osg-users@lists.openscenegraph.org
> Subject: [osg-users] Can i u
Hi,guys
Well,as the subject notes,The software in my dev job has to use a HUD to
show 2d pics. Generally using a camera to create a new viewport to show the pic
will be OK.
But the 'Entity' base class for the software system uses a MT
(matrixtransform) to add the detailed entity
9 matches
Mail list logo