Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
"Abhishek Bansal" writes: > If I add _SECURE_SCL=0 to preprocessor definitions in VS2008 it works fine > for osg 2.9.12 also. > I dont understand the problem :( This sounds like a mix of release and debug versions of the library, or different runtimes from different compiler versions... definite

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Abhishek Bansal
Hi, Ok !! I found a rather strange solution. If I add _SECURE_SCL=0 to preprocessor definitions in VS2008 it works fine for osg 2.9.12 also. I dont understand the problem :( Thank you! Cheers, Abhishek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
"Abhishek Bansal" writes: >> >> Then you can copy the SmoothingVisitor source code from 3.0.1 into your >> plugin in order to use that non-faulty code. >> > > > Yes ! I will try to do that and let you know of the results. > But as i said I also tried with manual normal calculations they are als

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Abhishek Bansal
> > Then you can copy the SmoothingVisitor source code from 3.0.1 into your > plugin in order to use that non-faulty code. > Yes ! I will try to do that and let you know of the results. But as i said I also tried with manual normal calculations they are also not working. Thank You -Abhishek

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
"Abhishek Bansal" writes: > Hi, > > Thank You for your reply ! > > But the issue is thst I am creating a plugin for one proprietary SDK > based on OSG. I dont have access to source code of OSG they are > using. I built my plugin with binaries provided by them and OSG 3.0.1. > Then you can copy th

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Abhishek Bansal
Hi, Thank You for your reply ! But the issue is thst I am creating a plugin for one proprietary SDK based on OSG. I dont have access to source code of OSG they are using. I built my plugin with binaries provided by them and OSG 3.0.1. What could be the bug if you have any idea ? Thank you!

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
"Abhishek Bansal" writes: > Hi, > > I am trying to develop a plugin which loads IGES file. I am getting Indexed > triangle list using OpenCascade. I am using osgUtil::smoother to calculate > normals. on final mesh. > > My problem is that i get proper normals in OSG 3.0.1. But in > OpenSceneGraph

[osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Abhishek Bansal
Hi, I am trying to develop a plugin which loads IGES file. I am getting Indexed triangle list using OpenCascade. I am using osgUtil::smoother to calculate normals. on final mesh. My problem is that i get proper normals in OSG 3.0.1. But in OpenSceneGraph 2.9.12 i dont get any normals (i cant s