Hi Community,
I remember there was a change in the later OSG for calling explicitlly the
setting of some defaults for the Camera (not sure though) stateset?? or
something like that?
If you know what I mean can you point me to the right thing? I tried to
find it in the archive with no luck
Thanks
Hi Nick,
osg::Camera is just an Node so to set the state that you want to get
inherited to everything below it you simple do:
osg::StateSet* ss = camera->getOrCreateStateSet();
ss->set*();
Robert.
On 11 January 2015 at 20:48, Trajce Nikolov NICK <
trajce.nikolov.n...@gmail.com> wrote:
> H
Hi Robert,
yes, I know that, but thanks. I was looking for some setDefaults or
something similar. I can not clearly recall the change you made in the
later osg to explicitly set some defaults so I was shooting in the fog
hoping someone will remember it better.
Thanks again
Nick
On Mon, Jan 12,
Hi Nick,
On 12 January 2015 at 09:54, Trajce Nikolov NICK <
trajce.nikolov.n...@gmail.com> wrote:
> yes, I know that, but thanks. I was looking for some setDefaults or
> something similar. I can not clearly recall the change you made in the
> later osg to explicitly set some defaults so I was sho
yes That is what I was look for !! Thanks a bunch Robert!
Nick
On Mon, Jan 12, 2015 at 12:28 PM, Robert Osfield
wrote:
> Hi Nick,
>
> On 12 January 2015 at 09:54, Trajce Nikolov NICK <
> trajce.nikolov.n...@gmail.com> wrote:
>
>> yes, I know that, but thanks. I was looking for some setDefau
5 matches
Mail list logo