Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release

2017-04-06 Thread Robert Osfield
Hi Jamie,

Thanks for the testing, fixes and test model.

I have just tried your model on my Linux/NVidia system and see the
same black text when I enable stats.  While it's not good news to see
a problem it's a relief to be able to reproduce it.

Robert.

On 6 April 2017 at 20:48, jamie robertson  wrote:
> Hi,
>
> I just tested it with windows 10 / VS2013. I had to make a couple of minor 
> changes to the osgcluster and osgbindlesstext in order to get those examples 
> to compile. I've posted the modified files in submissions.
>
> It works ok for the most part but I've noticed a few models (which used to 
> work ok with 3.3.5), when loaded now cause all the stats viewer and HUD text 
> to go black.
>
> I've attached an example model which causes this on my machine if it's any 
> help.
>
> Thanks
>
> Jamie
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70706#70706
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/base_200.zip
>
>
> ___
> 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] shader

2017-04-06 Thread michael kapelko
Hi.
Start with OpenSceneGraph beginner's guide:
https://www.packtpub.com/game-development/openscenegraph-30-beginners-guide

2017-04-07 8:52 GMT+07:00 崔 献军 :

> i have read opengl red bible and learnt some theory about it. next i want
> to learn more, such as shader, osg, etc.
> i was told shader is important but osg was vrey little about shader,  i
> have no other friends to ask how to do next. so, who can give any advice to
> learn osg?
>
>
> 崔献军
> ___
> 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] shader

2017-04-06 Thread 崔 献军
i have read opengl red bible and learnt some theory about it. next i want to 
learn more, such as shader, osg, etc.
i was told shader is important but osg was vrey little about shader,  i have no 
other friends to ask how to do next. so, who can give any advice to learn osg?


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


Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release

2017-04-06 Thread jamie robertson
Hi,

I just tested it with windows 10 / VS2013. I had to make a couple of minor 
changes to the osgcluster and osgbindlesstext in order to get those examples to 
compile. I've posted the modified files in submissions.

It works ok for the most part but I've noticed a few models (which used to work 
ok with 3.3.5), when loaded now cause all the stats viewer and HUD text to go 
black. 

I've attached an example model which causes this on my machine if it's any help.

Thanks

Jamie

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




Attachments: 
http://forum.openscenegraph.org//files/base_200.zip


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


Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release

2017-04-06 Thread Robert Osfield
On 5 April 2017 at 21:38, Konstantin  wrote:
> I've sent upgraded osgtext3D example to osgsubmissions.

Thanks, the change nicely reproduce the bug. I will work to resolve
this bug before I tag 3..5.6.  I have other work to do this week so
might not get to it right away.

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


Re: [osg-users] Fast move a lot of nodes to another group

2017-04-06 Thread Robert Osfield
Hi Yura,

On 6 April 2017 at 06:16, Yura Ivanov  wrote:
> When I put my nodes into subgroups, removeChild becoming fast and cull is 
> faster. Thank you.
> Is there any functions to make tree like structure of my group, or i must do 
> it by hand?

For optimal performance a balanced quad tree is typically best for
scene graph applications, while groups containing a large number of
children breaks this efficiency forcing the traversals to visit all
children all the time.

The osgUtil::Optimizer::SpatializeGroupsVisitor can be used to
reorganize large flat groups of children into a quad tree.  You can
call this visitor on it's own or as part of the wider
Optimizer::optimizer(Node*,int options) operation if you include the
osgUtil::OptimizeSPATIALIZE_GROUPS bit mask to the options parameter.
The class can be found in include/osgUtil/Optimizer.

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