Re: [osg-users] Possible improvement for CullThreadPerCameraDrawThreadPerContext threading model

2015-06-09 Thread Trajce Nikolov NICK
I have two comments:

- the default path on my 64bit system is C:\Program Files (x86)\ .. It
should be the place where 64bit programs are obviously installed,
C:\Program Files\
- the license (OSG one) is sort of really bad formated

On Tue, Jun 9, 2015 at 10:08 PM, Jannik Heller 
wrote:

> Hi again,
>
> I just noticed that what I need to achieve is actually quite simple: the
> dynamicObjectRenderingCompletedCallback needs to be called from the culling
> thread, rather than the drawing thread. This would ensure the next frame
> can commence when the culling phase has ended, rather than commencing when
> the last camera starts drawing.
>
> Then I read the OSG code again, and noticed that precisely the same idea
> *is* already in the OSG, but it's commented out. See:
> https://github.com/openscenegraph/osg/blob/master/src/osgViewer/Renderer.cpp#L641
>
> I don't know why it's commented out, the svn history doesn't give any
> indication.
>
> I will try enabling that code and if it works, post to osg-submissions.
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=64015#64015
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



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


Re: [osg-users] Possible improvement for CullThreadPerCameraDrawThreadPerContext threading model

2015-06-09 Thread Jannik Heller
Hi again,

I just noticed that what I need to achieve is actually quite simple: the 
dynamicObjectRenderingCompletedCallback needs to be called from the culling 
thread, rather than the drawing thread. This would ensure the next frame can 
commence when the culling phase has ended, rather than commencing when the last 
camera starts drawing.

Then I read the OSG code again, and noticed that precisely the same idea *is* 
already in the OSG, but it's commented out. See: 
https://github.com/openscenegraph/osg/blob/master/src/osgViewer/Renderer.cpp#L641

I don't know why it's commented out, the svn history doesn't give any 
indication.

I will try enabling that code and if it works, post to osg-submissions.

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





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