Re: [osg-users] Drawable - recent commit causing problems

2018-09-03 Thread Glenn Waldron
Robert,
Indeed, that was exactly my workaround while you looked into the issue. So
I'd say that will work. Thanks.

Glenn Waldron


On Mon, Sep 3, 2018 at 5:35 AM Robert Osfield 
wrote:

> H Glenn,
>
> I don't have a test for the issue you've seen so have to implement
> what I think could resolve the issue and get this checked into OSG
> master, 3.6 and 3.6-TexStorage:
>
>
> https://github.com/openscenegraph/OpenSceneGraph/commit/bcba3928e6be5d284b1611a0472fe5e24d184f67
>
> I simply added a detach of the StateSet from the Drawable/Geometry in
> the destructor prior to the call to releaseGLObjects().
>
> Could you test it out and let me know if it resolves the issue.
>
> Cheers,
> Robert.
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RayIntersector with KdTree causes a crash

2018-09-03 Thread Robert Osfield
Hi Ale,

I built with release.

I will try with a debug build.  A change in behaviour between release
a debug would suggest an unintialized variable.

Could you provide the stack trace.

A binary for Windows isn't required at this point.

Cheers,
Robert.
On Mon, 3 Sep 2018 at 15:00, Ale Maro  wrote:
>
> Hi Robert,
>
> thanks for the update.
>
> Have you built in release?
> We are seeing now that the release version has the behaviour you described 
> (that is also strange becouse I expect to see something… if you do not build 
> the KdTree in the code you can see the sphere).
>
> The debug version crashes (the assert Windows says there is a call to front() 
> of an empty vector).
>
> It is correct you run with the --relative-camera-scene command line option.
>
> If needed I can send you the Windows binaries of the example.
>
>
> Cheers,
> Ale
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=74632#74632
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RayIntersector with KdTree causes a crash

2018-09-03 Thread Ale Maro
Hi Robert,

thanks for the update.

Have you built in release? 
We are seeing now that the release version has the behaviour you described 
(that is also strange becouse I expect to see something… if you do not build 
the KdTree in the code you can see the sphere).

The debug version crashes (the assert Windows says there is a call to front() 
of an empty vector).

It is correct you run with the --relative-camera-scene command line option.

If needed I can send you the Windows binaries of the example.


Cheers,
Ale

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74632#74632





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CompositeViewer with multiple view, and scene management

2018-09-03 Thread Julien Achard
Hi Robert,

thanks for your time, i forgot the attachement :-*.
I edited my previous post.

... 

Thank you!

Cheers,
Julien

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74631#74631





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] SIGGRAPH BOF Summary

2018-09-03 Thread Robert Osfield
Hi All,

Thanks to John to organizing the SIggraph BOF once again.

My BOF presentation given in my absence (I was hear in Scotland at the
time :-) was written in Google Slides, and you can access it with the
following link:


https://docs.google.com/presentation/d/10RFinQVObGO0L8fgEHkdrNYVC1zIN5OVlYmUNgTBfrI/edit?usp=sharing

Cheers,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CompositeViewer with multiple view, and scene management

2018-09-03 Thread Robert Osfield
Hi Jilien,

On Tue, 28 Aug 2018 at 22:55, Julien Achard  wrote:
> I have reduced the involved code to the minimum.
> I put in attachement the sample.
>
> It's a really simple application, and you will see that attemp to call run() 
> (or frame() in a loop) in the run() of the thread will fail.
>
> However, the same code will work outside of the run().
>
> I need to thread this to avoid blocking my main application !

Your sample didn't come through.  Could you try posting it again, or
posting it online somwhere.

Thanks,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] ViewerBase::setThreadingModel() not working

2018-09-03 Thread Robert Osfield
Hi Guy,

I have looked into the revision that Konstantin made back in January
and it looks to me like the intent was to prevent the viewer from
starting threads before you've called realize:

 
https://github.com/openscenegraph/OpenSceneGraph/commit/bb84f1ea3c23625a645b9c2848202bca7c566efb#diff-936c2b7991f9f45a3c10c4d64a053ac2

Your suggestion is a more robust way of doing this so Ive applied this
and it works for me:


https://github.com/openscenegraph/OpenSceneGraph/commit/ae3133522d18c1e456d22569137cdf45dac6b2f2

This change is merged with master and 3.6 branch.

Cheers,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RayIntersector with KdTree causes a crash

2018-09-03 Thread Robert Osfield
Hi Ale,

I have now built and run your test and it works fine for me.

I have run with the --relative-camera-scene command line option and I
don't see any cube or sphere, but I do see reports of hits.

This is testing with the 3.6  branch under Kubuntu 18.04.

At this point I don't have anything to go any further.  Ideally I need
a test case that I can reproduce a problem, and if this isn't straight
forward then I need stack traces of what is happening on your system.

Cheers,
Robert,
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Drawable - recent commit causing problems

2018-09-03 Thread Robert Osfield
H Glenn,

I don't have a test for the issue you've seen so have to implement
what I think could resolve the issue and get this checked into OSG
master, 3.6 and 3.6-TexStorage:


https://github.com/openscenegraph/OpenSceneGraph/commit/bcba3928e6be5d284b1611a0472fe5e24d184f67

I simply added a detach of the StateSet from the Drawable/Geometry in
the destructor prior to the call to releaseGLObjects().

Could you test it out and let me know if it resolves the issue.

Cheers,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org