Re: [osg-users] osgviewerQt example - 3D disappears if Viewer height is zero

2014-04-15 Thread Alistair Baxter
Yeah, we had to override the Qt resizeEvent function for our osgQt::GLWidget subclass to ensure that neither width nor height were being set to zero before calling the parent's version. Alistair Baxter Software Engineer Join us for the 2014 Houston Roadshow on

Re: [osg-users] VertexAttribArrayList serialization

2014-04-15 Thread Sebastian Messerschmidt
Hi Robert, I'm a bit lost with the issue. Isn't the osgb-format supposed to be stable? Can you at least point me to the revision where this might have changed? Summarized: It seems files written by the trunk-revision 14033 cannot be read by older versions (osg111, 3.3.1). Also files containing

Re: [osg-users] ShadowMap + Other shaders (bump, specular, etc) example???

2014-04-15 Thread Trajce Nikolov NICK
Hi Michael, this sounds good but I just tried and it seam without changing the OSG code it is not possible as well. The StandardShadowMap does not holds any instance of the StandardShadowMap::ViewData where the _stateset is kept. Nick On Tue, Apr 15, 2014 at 7:29 AM, michael kapelko

[osg-users] multi-threading troubles with 2 graphic cards

2014-04-15 Thread Thierry Pébayle
Dear all, I'm trying to render a town with 2 graphic cards in the same computer: i7-3770 (quad core with hyper-threading = 8 cores virtual), 2x gtx780ti, xubuntu 12.04, OSG3.2.0. A separate X server run on each card and there is only one monitor(screen) attach to each card. So I run the

[osg-users] A suspicious bug of MatrixD

2014-04-15 Thread Tianlan Shao
Dear all, The following code in the header file MatrixD looks very suspicious to me: inline Vec3d getScale() const { Vec3d x_vec(_mat[0][0],_mat[1][0],_mat[2][0]); Vec3d y_vec(_mat[0][1],_mat[1][1],_mat[2][1]); Vec3d z_vec(_mat[0][2],_mat[1][2],_mat[2][2]);

Re: [osg-users] Definding against aggressive domain

2014-04-15 Thread Thomas Hogarth
Hi I hate these types of people. I've had some troll sitting on hogbox.com for years now. I brought hogbox.co.uk when I was a student and couldn't afford .com at the time. Then someone brought .com and occasionally sends me emails saying they will sell it to me for a price in the hundreds of

Re: [osg-users] ShadowMap + Other shaders (bump, specular, etc) example???

2014-04-15 Thread michael kapelko
Well, you said you want osg::Program at StandardShadowMap.cpp:544. That osg::Program is set to _stateset just on the next line. So if osg::Program of _stateset doesn't work for you, there's no use exposing it. 2014-04-15 17:50 GMT+07:00 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com: Hi