Re: [osg-users] Vector script out of range

2016-10-13 Thread Uma Devi Selvaraj
Hai Robert, Yeah I am using same project setting. I am trying this simple code in windows 8 system. robertosfield wrote: > Hi Uma, > > I have load the h.obj and trail.3ds files under linux without problems > using OSG git master. > > As Laurens suggestions it may be making sure

Re: [osg-users] Vector script out of range

2016-10-13 Thread Uma Devi Selvaraj
Hi , I have cloned osg repo and checked out to the branch 3.4.0. I am facing same problem for bunny.ply model (Smooth Triangle).Hope Laurens changes are merged. ... Thank you! Cheers, Uma -- Read this topic online here:

Re: [osg-users] Vector script out of range

2016-10-07 Thread Robert Osfield
Hi Uma, I have load the h.obj and trail.3ds files under linux without problems using OSG git master. As Laurens suggestions it may be making sure that you are building your own application with the same setting settings a the OSG version you are linking to. When setting paths to the plugins

Re: [osg-users] Vector script out of range

2016-10-07 Thread Voerman, L.
Hi Uma, This seems like a new problem to me. First question - are you sure you link the debug version of your program to the debug osg libraries? Regards, Laurens. On Fri, Oct 7, 2016 at 6:21 AM, Uma Devi Selvaraj wrote: > Hi all, > > Thanks for the reply.I am

Re: [osg-users] Vector script out of range

2016-10-06 Thread Robert Osfield
On 6 October 2016 at 13:38, Voerman, L. wrote: > Hi all, > I have found the bug, and created a pull request here. The bug seems to be > introduced 17/8/2010 (osg 2.9.11 and up). Thanks Laurens, fix looks good, now merged with git master and the 3.4 branch

Re: [osg-users] Vector script out of range

2016-10-06 Thread Voerman, L.
Hi all, I have found the bug, and created a pull request here . The bug seems to be introduced 17/8/2010 (osg 2.9.11 and up). Regards, Laurens. On Thu, Oct 6, 2016 at 10:56 AM, Uma Devi Selvaraj wrote: > Hi

Re: [osg-users] Vector script out of range

2016-10-06 Thread Uma Devi Selvaraj
Hi Sebastain, I have executed my code in both debug and release mode. I am not able to render the model using code. I have attached call stack of my program(scree shot). ... Thank you! Cheers, Uma -- Read this topic online here:

Re: [osg-users] Vector script out of range

2016-10-05 Thread Trajce Nikolov NICK
Hi Sebastian, maybe related maybe not, I have seen this in uniform setting. Internally the code of the uniform setting is using ::vector::first() even for empty vectors .. just a hint and again, maybe not that issue Nick On Wed, Oct 5, 2016 at 5:41 PM, Sebastian Messerschmidt <

Re: [osg-users] Vector script out of range

2016-10-05 Thread Sebastian Messerschmidt
Hi Robert, A debug assertion will happen under Visual Studio in debug mode. I'll will try to see what is going on, but I suspect some empty vector's first element accessed. Cheers Sebastian Thanks for posting the model. The bunny.ply loads with the OSG git master just fine when I run:

Re: [osg-users] Vector script out of range

2016-10-05 Thread Robert Osfield
Hi Uma, Thanks for posting the model. The bunny.ply loads with the OSG git master just fine when I run: osgviewer bunny.ply The bunny renders and there are no warnings to console. There have been a few changes to the ply plugin since 3.4 so can't rule out a fix with rolling back to 3.4 and

Re: [osg-users] Vector script out of range

2016-10-04 Thread Sebastian Messerschmidt
Hi Uma, There is no model attached. Without giving us a model that shows this behavior and some basic information on your OSG-Version, build environment etc. it is hard to guess what is going on. Most likely the ply-reader produces the error, so please try to attach the model so we can