Re: [osg-users] MacOSX/Core Profile: Attribute aliasing behavior ?

2018-07-31 Thread Julien Valentin
Sorry but it seams to me the question was answered a lot of time on the forum.. core gl context have dropped the standard fixed pipeline so in core context glsl you must define all your variable as old built-in (gl_XXX) have been removed. osg wraps them in osg_XXX but you may define your own

Re: [osg-users] MacOSX/Core Profile: Attribute aliasing behavior ?

2018-07-31 Thread Remo Eichenberger
Julien, thanks for your hint, but i don't know what you mean :) I've look at this sample: https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgsimplegl3/osgsimplegl3.cpp Cheers, Remo -- Read this topic online here:

Re: [osg-users] MacOSX/Core Profile: Attribute aliasing behavior ?

2018-07-31 Thread Julien Valentin
With core profile you must use strict syntax... see simpleGL3 example remoe wrote: > Hi folks, > > Can someone please explain me why OpenGL on MacOSX (Core Profile 4.1) throw > the following error: > > > Code: > ERROR: Active attribute aliasing. Slot 3 unavailable for 'osg_MultiTexCoord0'

Re: [osg-users] Unbounded growth in OpenFlight ReaderWriter

2018-07-31 Thread David Glenn
robertosfield wrote: > On Tue, 31 Jul 2018 at 15:40, Chris Hanson <> wrote: > > > I think Brede Johansson wrote that loader once upon a time. I'm hoping to > > connect with him in Oslo this week. Maybe I'll ask him about this if I do. > > > > Brede's original OpenFlight plugin back in fall

Re: [osg-users] Unbounded growth in OpenFlight ReaderWriter

2018-07-31 Thread Robert Osfield
On Tue, 31 Jul 2018 at 15:40, Chris Hanson wrote: > I think Brede Johansson wrote that loader once upon a time. I'm hoping to > connect with him in Oslo this week. Maybe I'll ask him about this if I do. Brede's original OpenFlight plugin back in fall of 2000 was our first major community

Re: [osg-users] Unbounded growth in OpenFlight ReaderWriter

2018-07-31 Thread Robert Osfield
Hi Dan, Changes looks good to me, just merged. Nice to see a bug fix/feature improvement that removes three times as much code as it adds! :-) Cheers, Robert. On Tue, 31 Jul 2018 at 16:48, Daniel Emminizer, Code 5773 wrote: > > Hi Chris, > > > > I think that would be good. I have some

Re: [osg-users] osgText: two thread-safety issues

2018-07-31 Thread Robert Osfield
Hi Glenn, Thanks for the note. When I just back onto OSG maintenance work I'll have a look into it. Should be in the next week or two. Robert. On Tue, 31 Jul 2018 at 15:54, Glenn Waldron wrote: > > Robert, > I would like to make you aware of two thread-safety issues in osgText: > >

Re: [osg-users] Unbounded growth in OpenFlight ReaderWriter

2018-07-31 Thread Daniel Emminizer, Code 5773
Hi Chris, I think that would be good. I have some modifications following Robert’s advice and after more testing I will be posting a PR. Yes, all of the object caching in OpenFlight plugin is the original code from Brede. It all dates back to 2006. I was able to swap to use

[osg-users] osgText: two thread-safety issues

2018-07-31 Thread Glenn Waldron
Robert, I would like to make you aware of two thread-safety issues in osgText: Font::getGlyph() is thread-safe, but it returns a shared Glyph object that also needs protection. Glyph::getOrCreateTextureInfo, getTextureInfo, and setTextureInfo can fail when creating Text objects from different

Re: [osg-users] Unbounded growth in OpenFlight ReaderWriter

2018-07-31 Thread Chris Hanson
I think Brede Johansson wrote that loader once upon a time. I'm hoping to connect with him in Oslo this week. Maybe I'll ask him about this if I do. On Tue, Jul 31, 2018 at 11:54 AM Daniel Emminizer, Code 5773 < dan.emmini...@nrl.navy.mil> wrote: > Hello All, > > I've found what appears to be

Re: [osg-users] Unbounded growth in OpenFlight ReaderWriter

2018-07-31 Thread Robert Osfield
Hi Dan, I'm not at a point where I can easily switch over to thinking about OSG code written by others so rather than jump it right now I'll ask a simple question that might help point you in a direction worthy of investigation. FYI, I'm not the author of the OpenFlight plugin so am in the same

[osg-users] Unbounded growth in OpenFlight ReaderWriter

2018-07-31 Thread Daniel Emminizer, Code 5773
Hello All, I've found what appears to be unbounded growth in the OpenFlight loader. I have a work-around but wanted to run it past the community since there are many here who are more familiar with the format and the loader than me. I'm seeing uncontrolled memory growth when using the

Re: [osg-users] OSG users in Scandinavia / Northern Europe?

2018-07-31 Thread Trajce Nikolov NICK
Hey Chris, thanks for visiting us !! Finally to meet in person!!! I really enjoyed our talks and brainstorming (the best delaunay is no delaunay :-) ). Have a safe future trips and stay in touch !! Cheers, Nick On Mon, Jul 30, 2018 at 10:02 PM Chris Hanson wrote: > I had a great time meeting

[osg-users] MacOSX/Core Profile: Attribute aliasing behavior ?

2018-07-31 Thread Remo Eichenberger
Hi folks, Can someone please explain me why OpenGL on MacOSX (Core Profile 4.1) throw the following error: Code: ERROR: Active attribute aliasing. Slot 3 unavailable for 'osg_MultiTexCoord0' from BindAttributeLocation request. on the following sample: https://github.com/remoe/osgsample-2

Re: [osg-users] CameraManipulator init

2018-07-31 Thread Robert Osfield
Hi Sam, I have just checked the history of CameraMaipulator, I must have missed this the addition of FIXME back in. Date: Wed Aug 28 14:27:18 2002 + Updates, from Neil Salter, to comments etc to osgGA which add better explanations of how each of the classes operates. I think