Thanks Robert,

The computer shader support compiles and works fine under My computer with
Windows 7 and a NVIDIA GTX 570 card. :-)

My plan is to provide a GPU histogram example using the new computer
shaders, which would be helpful for determining the brightness of the scene
on screen, as well as an important part of the SDSM shadow technique for
very large range use. I would submit the new code to the osgcomputershaders
example when it is finished. The memory barrier functionality discussed in
this thread before will also be provided then,

Cheers,

Wang Rui




2013/1/25 Robert Osfield <[email protected]>

> Hi Rui,
>
> Compute shaders now checked in (along with your Program.cpp update
> provided in subsequent email).  Could you check out svn/trunk to make
> sure that everything is in place correctly.
>
> Unfortunately my current NVidia driver in only OpenGL 4.2 and does
> support GL_ARB_compute_shader so unfortunately I wasn't able to test
> the osgcomputeshaders example :-|
>
> Thanks for you work,
> Robert.
>
> On 16 December 2012 07:59, Wang Rui <[email protected]> wrote:
> > Hi Robert,
> >
> > In the attached files I've added the Compute Shader support for OSG, as
> well
> > as serializer updates and a new osgcomputeshaders example. My submission
> > also include a setComputeGroups() function in Program for setting
> > compute-shader work groups, and a bindToImageUnit() function in Texture
> for
> > binding textures as image variables in shaders.
> >
> > All code are tested on Windows 7 + NVIDIA GFX 570 with the latest GeForce
> > 310.70 Driver (BETA), which could support OpenGL 4.3.
> >
> > Compute shader information can be found at:
> > http://www.opengl.org/registry/specs/ARB/shader_image_load_store.txt
> >
> > Wang Rui
> >
> > _______________________________________________
> > osg-submissions mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> >
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to