Re: [osg-users] How to work with zip archives?

2017-11-18 Thread Julien Valentin
Hi You cannot use osg zip plugin to read arbitrary zip file... Nevertheless osgDB serializer have several interfaces (Image,Object,Node,Archive,HeightField) that can be implemented in a plugin to read/write these osg types. So one could create its own class heriting one of the interfaces and/or

Re: [osg-users] When gets the view matrix of a camera ipdated

2017-11-18 Thread Robert Osfield
Hi Werner, The initial draw callback is called at the start of the draw traversal for that Camera's rendering graph, this rendering graph is populated by the cull traversal which happens prior to the draw traversal, this includes all the accumulation of all the matrices in the scene graph into

[osg-users] When gets the view matrix of a camera ipdated

2017-11-18 Thread werner.modenb...@texion.eu
Hi all, I have written some classes for special effects like ambient occlusion or shadow. All those classes are using their own prerender cameras. The cameras use the initial draw callback for updating their view matrices by using the main cameras view matrix. Unfortunately it looks like the

[osg-users] How to work with zip archives?

2017-11-18 Thread michael kapelko
Hi. Can anyone provide example on how to work with zip archives? I see there is a zip plugin but I can't find any example with it. I want to read my zips from memory because I do not read them from disk, I have them built into the application. Any clues? Thanks.

Re: [osg-users] [Compute Program executed on useprogram :/?!]

2017-11-18 Thread Robert Osfield
Hi Julien, The Compute shader work is a submission I merged from the community, I clearly didn't think deeply enough about the submission when I merged it though, as in hindisight having the glDispatchCompute directly coupled with the useProgram is wrong - on several different counts. The