Re: [osg-users] Iterator bug

2014-04-17 Thread alexis pierre
Hi, Thanks for your answer. I wasn't planning to add this file permanently, it was just a way to debug my software until I found why my compiler couldn't find the binaries (turned out I just forgot to add ogsUtil in my cmake file). Now that I have added that and removed the file it seems to run

[osg-users] Iterator bug

2014-04-14 Thread alexis pierre
Hi, I think I found a bug in osg 3.2.0 I needed to use osgUtil::SmoothingVisitor. For some reason my compiler couldn't find some of the functions so I just added SmoothingVisitor.cpp to my project (I may have taken that file from 3.2.1 rc2), and I got a big bug: in the function normalize I got

Re: [osg-users] osg 3.2.0 rendering problem vs osg 3.1.2

2014-04-14 Thread alexis pierre
Hi, I found a workaroud: Code: osg::Geometry* geom = meshNode_->asGroup()->getChild(0)->asGeode()->getDrawable(0)->asGeometry(); osgUtil::SmoothingVisitor sv; sv.smooth(*geom); Thank you! Cheers, alexis -- Read this topic online here: http://forum.opensceneg

Re: [osg-users] osg 3.2.0 rendering problem vs osg 3.1.2

2014-04-09 Thread alexis pierre
Hi, I saw this issue while reading the forum. I don't use a custom camera. Even if I try to call setGlobalDefaults() I still get the same problem. Here is my code: Code: //Creating the viewer osgViewer::Viewer viewer; viewer.setUpViewInWindow(200, 200, 800, 600); os

[osg-users] osg 3.2.0 rendering problem vs osg 3.1.2

2014-04-09 Thread alexis pierre
Hi, I am trying to update a code that was working on 3.1.2. A osg::Node is loaded from a stl file using osgDB::readNodeFile. The Node is a Group with one Geode with one geometry. There is a problem with the colors. The only code difference between osg 3.2.0 and osg 3.1.2 is where I set the colo