Re: [osg-users] Code porting

2008-03-03 Thread Robert Osfield
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

[osg-users] Code porting

2008-03-03 Thread Jon
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

Re: [osg-users] Code porting

2008-03-03 Thread Robert Osfield
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

[osg-users] Code porting

2008-03-02 Thread Jon
Hello, I'm currently working on a scene and I try to reproduce the sun light. I looked at osgmanylight tutorial from osg web site. But I'm facing a problem with this code: //do not allow the osgProducer's internal RenderStage clear the frame buffer //if the RenderStage did clear the frame