HI Ufuk,

I have nice working render to textures mirrors on the actual vehicle
geometry representing the mirrors. However they are switching it from this
into view mirrors, so I just needed to flip the left and right values in the
frustum. Thanks anyway

-Nick


On Mon, Mar 15, 2010 at 3:06 PM, Ufuk Gun <[email protected]> wrote:

> Hi Nick,
> you can render scene to a texture and when you place this texture you can
> modify the texture coordinates as it seems like mirrored.
>
> we made such a thing in rearview mirror in a car simulation.
>
> if you are going to mirror whole scene, some monitors are able to mirror
> its display on the hardware. so you may not do anything for this case.
>
> On Mon, Mar 15, 2010 at 2:59 PM, Robert Osfield 
> <[email protected]>wrote:
>
>> Hi Nick,
>>
>> On Mon, Mar 15, 2010 at 12:55 PM, Trajce (Nick) Nikolov
>> <[email protected]> wrote:
>> > Hi community,
>> > is there a way to flip (mirror along the x axis) a view in a composite
>> > viewer?
>>
>> Just flip the left/right values of the projection matrix.  If face
>> culling is enabled then you'll need to swap the face that gets culled
>> using osg::FrontFace.
>>
>> Robert.
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
>
> --
> Ufuk Gün
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to