Hi,
I sorted this issue by not trying to set the viewer's main camera up as the 2D
camera. I then set the clear mask on the viewer's main camera to just
GL_DEPTH_BUFFER_BIT. I derived my background from an osg::Camera and added its
own sub scene to it. I set the clear mask on the background
Hi,
Thanks for the quick reply guys. I am trying out what you have suggested but I
can't seem to get my 2D background camera working. I am creating an osg::Viewer
then I am creating a camera with 2D ortho projection with an identity matrix as
the view matrix, the render order as PRE_RENDER
Hi,
I would like to create a 2D background (can this be done using the main camera?
If so how?) I would then like to have other multiple cameras each rendering
their own 3D sub scene with a transparent background (how does each camera have
a transparent background?) but be able to position the
Hello Mike,
I would like to create a 2D background (can this be done using the main camera?
If so how?) I would then like to have other multiple cameras each rendering
their own 3D sub scene with a transparent background (how does each camera have
a transparent background?) but be able to
Hi,
- Jean-Sébastien Guay a écrit :
Hello Mike,
I would like to create a 2D background (can this be done using the
main camera? If so how?) I would then like to have other multiple
cameras each rendering their own 3D sub scene with a transparent
background (how does each camera have
5 matches
Mail list logo