Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-29 Thread Gianni Ambrosio
Hi Alberto, I'm going to open a new topic. Cheers, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57494#57494 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-22 Thread Gianni Ambrosio
Thanks Robert, I fixed the problem on my viewer side getting the camera from the view. Regards Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57385#57385 ___ osg-users mailing list

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-22 Thread Gianni Ambrosio
Hi Robert, do you have any idea regarding the strange effect I have with osgWidgets? I try to repeat my issue. You can see my viewer code I posted above (now fixed getting the camera of the view). The viewer inherits from osgQt::GLWidget and osgViewer::CompositeViewer and I set the camera

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-22 Thread Robert Osfield
Hi Gianni, I'll have to defer to Jeremy Moles on osgWidget support. Robert. On 22 November 2013 10:41, Gianni Ambrosio ga...@vi-grade.com wrote: Hi Robert, do you have any idea regarding the strange effect I have with osgWidgets? I try to repeat my issue. You can see my viewer code I

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-22 Thread Gianni Ambrosio
Alberto Luaces wrote: Initially osgWidgets relies on the size you specify when you create the WindowManager, and it can be different than the actual size of your rendering context. OSG doesn't send a RESIZE event at window creation time, so you have to check this for yourself. Alberto,

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-22 Thread Alberto Luaces
Gianni Ambrosio writes: Alberto Luaces wrote: Initially osgWidgets relies on the size you specify when you create the WindowManager, and it can be different than the actual size of your rendering context. OSG doesn't send a RESIZE event at window creation time, so you have to check this for

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-21 Thread Robert Osfield
Hi Gianni, I have just tried your model with osgviewer from svn/trunk and it works fine. Does the problem appear with your own viewer? Does you own viewer setup the Camera's replacing the viewer's master Camera? Does this override neglect to set up any default OpenGL state? I say this as a

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-21 Thread Gianni Ambrosio
robertosfield wrote: Does the problem appear with your own viewer?  Does you own viewer setup the Camera's replacing the viewer's master Camera?  Does this override neglect to set up any default OpenGL state? I use the following class: class ViewerWidget : public osgQt::GLWidget, public

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-21 Thread Robert Osfield
HI Giana, As I suspected the bug is introduced by the Qt code example that you've reused. I had to fix the osgviewerQt example so that it didn't create it's own local Camera, instead uses the view's master Camera() that the view initializes in a suitable way to work as a topmost Camera. Have a

Re: [osg-users] wrong graphics after removing geometry deprecated methods

2013-11-21 Thread Gianni Ambrosio
Thanks Robert for the reply. In fact I verified that osg example osgviewerQt.cpp works fine witn 3.1.8. I mean I downloded osg zip file, run cmake gui, generated a VS 2010 express ed solution and built from there, lobs, ive plug-in and the the example. Modified the example just to load my ive

[osg-users] wrong graphics after removing geometry deprecated methods

2013-11-20 Thread Gianni Ambrosio
Hi All, I tried to move to a recent release of OSG but it seems that starting from 3.1.9 (to 3.2.0 included), what has been removed from osg::Geometry has completrly broken the 3d visualization. To reproduce the problem just try to load a5_ivm_crt_v2_RT_whl_front_wheel.ive (attached) with