[osg-users] OpenSceneGraph-3.5.5 developer release tagged

2016-10-07 Thread Robert Osfield
Hi All,

Today I merged the openthreads_affinity_mask branch into git master,
merged some submissions that included build and bug fixes and made a
few of my own build and bugs fixes as well.  Finally item of work for
me today was tagging the 3.5.5 developer release.

As usual you can find it on gitjhub:

https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.5.5

The big changes in this release relate to OpenThreads with the
addition of a new OpenThreads::Affinity class.  This enable finer
grained control of processor affinity.

OpenThreads::Affinity support has also been rolled into osgViewer and
osgDB::DatabasePager to able more user control of what threads have
affinity with what sets of processors.

Not long till stable 3.6 now, the only major change left to merge is
the VAO support.

Cheers,
Robert.


ChangeLog since 3.5.4 (released on the 5th of September 2016):

Fri, 7 Oct 2016 17:05:58 +0100
Author : OpenSceneGraph git repository
Merge pull request #152 from aluaces/spelling2Some spelling fixes in comments.

Fri, 7 Oct 2016 16:55:35 +0100
Author : Robert Osfield
Updated ChangeLog for release

Fri, 7 Oct 2016 16:54:36 +0100
Author : OpenSceneGraph git repository
Merge pull request #151 from LaurensVoerman/pdbInstallfix error on pdb
files building the install target in visual studio

Thu, 6 Oct 2016 17:15:25 +0200
Author : Laurens Voerman
remove CMAKE_BUILD_TYPE STREQUAL "Release" (cmake configure time
varable) to select pdb install - select CONFIGURATIONS RelWithDebInfo
Debug

Fri, 7 Oct 2016 16:15:28 +0100
Author : OpenSceneGraph git repository
Merge pull request #150 from LaurensVoerman/Readmeosg now requires cmake 2.8.0

Fri, 7 Oct 2016 15:58:11 +0100
Author : Robert Osfield
Updated ChangeLog

Fri, 7 Oct 2016 15:57:01 +0100
Author : Robert Osfield
Restructed how CPU affinity is set to fix build problems when local
pthreads doesn't support setting affinity

Fri, 7 Oct 2016 15:40:50 +0100
Author : Robert Osfield
UPdated ChangeLog for release

Fri, 7 Oct 2016 16:36:40 +0200
Author : Laurens Voerman
osg now requires cmake 2.8.0

Fri, 7 Oct 2016 14:51:39 +0100
Author : Robert Osfield
Fixed VisualStudio warningAdded local implementation of asEventHandler()


Fri, 7 Oct 2016 14:45:33 +0100
Author : Robert Osfield
Fixed VisualStudio warningAdded local implementation of asEventHandler()


Fri, 7 Oct 2016 13:57:42 +0100
Author : Robert Osfield
Updated README for 3.5.5

Fri, 7 Oct 2016 13:56:46 +0100
Author : Robert Osfield
Update ChangeLog and AUTHORS file for 3.5.5 dev release

Thu, 29 Sep 2016 14:56:54 +0100
Author : Robert Osfield
Fixed extension string typo

Thu, 29 Sep 2016 14:53:10 +0100
Author : Robert Osfield
Added support for checking GL_OES_texture_npot

Wed, 28 Sep 2016 20:30:12 +0100
Author : Robert Osfield
Added ViewerBase::s/getUseConfigureAffinity(bool flag) to allow users
to toggle whether they want the ViewerBase::setUpThreads() method to
call ViewerBase::configureAffinity() or not.

Wed, 28 Sep 2016 18:44:58 +0100
Author : Robert Osfield
Introduced OpenThreads::Affinity support into osg::Camera,
osg::GraphicsContext::Traitse, osgDB::DatabasePager and
osgViewer::ViewerBase/Viewer/CompositeViewer.Added
ViewerBase::configureAffinity() to help with the setting of the
affinity of camera, graphics context and pager threads


Tue, 27 Sep 2016 17:52:41 +0100
Author : Robert Osfield
Added DatabasePager::setProcessorAffinity(const
OpenThreads::Affinity&) support to allow the database threads to have
affinity to user controls sets of CPU cores.

Tue, 27 Sep 2016 16:18:53 +0100
Author : Robert Osfield
Implemented setting thread affinity for threads that aren't
OpenThreads threads, such as main thread

Tue, 27 Sep 2016 15:34:10 +0100
Author : Robert Osfield
Added missing export

Tue, 27 Sep 2016 14:38:33 +0100
Author : Robert Osfield
First cut of OpenThrads::Affinity support for Win32.

Tue, 27 Sep 2016 10:50:38 +0100
Author : Robert Osfield
Introduced new OpenThreads::Affinity class to wrap up specification of
thread affinity.Simplified the
OpenThreads::SetProcessorAffinityOfCurrentThread/Thread::SetProcessorAffinity()
to utilize the new Affinity class


Mon, 26 Sep 2016 19:18:15 +0100
Author : Robert Osfield
Introduced OpenThreads::SetProcessorAffinityMaskOfCurrentThread(unsigned
long cpumask) and Threads::setProcessorAffinityMask(unsigned long
cpumask) to allow finer grained control over the CPU affinity.

Fri, 7 Oct 2016 11:13:40 +0100
Author : Robert Osfield
Added CullingActive support for Drawable serializer

Thu, 6 Oct 2016 18:27:23 +0100
Author : Robert Osfield
Fixed crash and double call bug in handle event callbacks attached to Drawable

Thu, 6 Oct 2016 15:07:42 +0100
Author : Robert Osfield
Added a osgCmakeExample to illustrate a minimal CMakeList.txt to show
how to build an OSG application using Cmake

Thu, 6 Oct 2016 14:14:02 +0100
Author : OpenSceneGraph git repository
Merge pull request #148 from LaurensVoerman/SmoothingVisitorfix bug in
SmoothingVisitor tripped by 

Re: [osg-users] bug: Openscenegraph-3.4 branch install error with debug dll's on VS2013

2016-10-07 Thread Robert Osfield
Hi Remo,

Could you please test OSG git master or the up coming 3.5.5 dev
release as they include a fix for the install error issue with VS.

Cheers,
Robert.

On 29 September 2016 at 15:57, Remo Eichenberger  wrote:
>
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68827#68827
>
>
>
>
>
> ___
> 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


[osg-users] Looking for best practice about Shader and memory management

2016-10-07 Thread Valerian Merkling
Hi,

Now I am able to play with OSG and shaders, I would like to know what the best 
"way" to manage shaders in OSG.

I recently had a problem with re using openGL contexts and missing some 
releaseGLObjects call, so I know I need to be careful.

I have One application, with one composite viewer.
I have multiple views opened (osg::View rendered in a osgQT::GLWidget, and it's 
own scene)

Now If I want, in my case, draw flat squares, and paint some stripes on some 
squares, I use a shader for the stripes.

My question could be : how many instance of osg::Program shall I have for my 
stripes ?

Only one for all the application ? But how can I clean it from the openGL 
context when I close the application ?

One for each view ? And I should call releaseGLObjects when I delete the last 
striped square ? 

One for each striped square ? 

Or shall I just get one big osg::Program with every shaders and use uniform to 
choose which to use ?


Thanks for your help !

Cheers, 

Valerian

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





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


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 it's also worth
setting the path to the parent directory of the plugins other than the
plugin directory itself as the OSG appends a version number to the
plugin directory so when you link to different versions of the OSG it
can choose the correct plugins directory to avoid problems with mixing
dll's.

Robert.

On 7 October 2016 at 05:21, Uma Devi Selvaraj  wrote:
> Hi all,
>
>  Thanks for the reply.I am facing error not only for .ply models.  For 
> other models like .obj, .dxf and .3ds. I have attached both the call stack of 
> my program and one of the model I used.(call stack for all models are same)
>
>
>
> ...
>
> Thank you!
>
> Cheers,
> Uma
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68898#68898
>
>
>
>
> ___
> 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] 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 facing error not only for .ply models.  For
> other models like .obj, .dxf and .3ds. I have attached both the call stack
> of my program and one of the model I used.(call stack for all models are
> same)
>
>
>
> ...
>
> Thank you!
>
> Cheers,
> Uma
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68898#68898
>
>
>
>
> ___
> 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