Re: [osg-users] Camera default stateset ???

2015-01-12 Thread Robert Osfield
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: Hi

Re: [osg-users] Camera default stateset ???

2015-01-12 Thread Robert Osfield
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

Re: [osg-users] Camera default stateset ???

2015-01-12 Thread Trajce Nikolov NICK
yes That is what I was look for !! Thanks a bunch Robert! Nick On Mon, Jan 12, 2015 at 12:28 PM, Robert Osfield robert.osfi...@gmail.com 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

Re: [osg-users] Camera default stateset ???

2015-01-12 Thread Trajce Nikolov NICK
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,

[osg-users] Camera default stateset ???

2015-01-11 Thread Trajce Nikolov NICK
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