[osg-users] osgQt Build error

2018-01-17 Thread Bruce Clay
Hi, I am trying to build osgQt but get multiple stream related errors. Compiling QFontImplementation.cpp errors on basic_ifstream and basic_ofstream base class undefined and QGraphicsViewAdapter.cpp errors on line 322 trying to stream data to OSG_INFO. The first two errors are flagged in

Re: [osg-users] disabled lighting after migration

2018-01-17 Thread Robert Osfield
Hi Sebastian, It could be that there is some undefined state in the scene graph that is resulting in some subgraphs inheriting that state from other subgraphs that are rendered before it. Make sure that all your geometries have normals/colour arrays as required by the rendering needs you have.

Re: [osg-users] disabled lighting after migration

2018-01-17 Thread Robert Osfield
Hi Sebastian, It's not possible to determine what is wrong from the details given. The best I can do is provide some general pointers. What can happen when upgrading is that more recent version contain fixes/tighten up ambiguities such that things that worked by fluke in older releases now

[osg-users] disabled lighting after migration

2018-01-17 Thread Sebastian Schmidt
My scene contains a node, a RTT drawable with custom camera like in the osgprerender example. The drawable is initialized and rendered after i set up the compositeviewer/mastercamera during runtime via a osgDB::ReaderWriter plugin. In the drawable's drawImplementation() function i do lot of