HI Jon,

Why not post your ported tutorial and others can make suggestions.

Robert.

On Mon, Mar 3, 2008 at 3:44 PM, Jon <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hello Robert,
>
>
>
> Thanks for your answer.
>
> Unfortunately, when I do setClearMask() operation on a camera, the scene
> becomes black and nothing more…
>
>
>
> I've ported this tutorial and this code is the only remaining !
>
> Not so easy J
>
>
>
> If you have any idea…
>
>
>
> Thanks in advance,
>
> Regards.
>
>
>
> Jon
>
>
>
> _________________________________________________________________________________________
>
> Hi Jon,
>
>
>
> You can control the clear mask via;
>
>
>
>   camera->setClearMask(0x0);
>
>
>
> Which is a bit more straight forward than having to dig deep inside
> osgProducer.
>
>
>
> At the viewer level it'd be:
>
>
>
>   viewer.getCamera()->setClearMask(0x0);
>
>
>
> I'm not familiar with this example, but clearly it needs porting
>
> across.  As I'm not familiar I can't say exactly what to change, but
>
> in general you can move cameras between the scene graph and the view
>
> but more easily than was possible before 2.x, this means that some
>
> tasks can now be solved in a more natural way.
>
>
>
> As a general task we'll need to complete the work on porting the old
>
> 1.x based tutorials across to 2.x, in general this will be a
>
> simplification as much as a porting job.
>
> _________________________________________________________________________________________
>
>
>
>
>
>
> _______________________________________________
>  osg-users mailing list
>  osg-users@lists.openscenegraph.org
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to