[osg-users] Stuck with applying an offset to projection matrix
Robert Osfield
robert.osfield at gmail.com
Mon Jun 25 08:48:56 PDT 2018
Hi Werner,
Using a ABSOLUTE_RF for a backgrouind image is a simply way of
implementing this type of feature but has it's limitations - it means
it won't work with anything other than a single window.
If you plan to have a view that can be composed of multiple
viewport/windows then the ABSOLUTE_RF technique is no longer
appropriate.
So the question now is how you should implement the background image.
One technique would be to place the geometry under a RELATIVE_RF
transform rather than a ABSOLUTE_RF Camera that resets the projection
and view matrices.
Robert.
On Mon, 25 Jun 2018 at 16:33, Werner Modenbach
<Werner.Modenbach at texion.eu> wrote:
>
> Hi Robert,
>
> from your question I guess, I have a fundamental misunderstanding.
> But from all the examples and from the OGS book I learned as follows:
>
> If I want to show a hud I have to do it with a hud camera which has reference frame ABSOLUTE_RF.
> The same if I want to have a wallpaper in the background. I have to create a textured screen quad and show it with camera with ABSOLUTE_RF.
> ABSOLUTE_RF seems to be necessary if the object should not be manipulated by the camera manipulator. Right?
>
> I will be glad to learn if there is some other and more recommended way to do it.
>
> Many thanks for your never ending patience.
>
> - Werner -
>
> Am 25.06.2018 um 14:59 schrieb Robert Osfield:
>
> Hi Werner,
>
> What are you using the ABSOLUTE_RF Camera's for? My guess this is the
> source of the problems, perhaps the approach you've take with this
> works fine for a single viewport but breaks any form of
> multi-viewport/window composition of the view.
>
> Could you explain what the ABSOLUTE_RF Cameras are for?
>
> Robert
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> --
> TEXION Software Solutions, Rotter Bruch 26a, D-52068 Aachen
> Phone: +49 241 475757-0
> Fax: +49 241 475757-29
> Web: http://texion.eu
> eMail: info at texion.eu
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list