HI Sverre,

The OSG-3.2 predates the shader storage buffer object extension so won't be
support.

The OSG-trunk doesn't yet have support either, but it might be possible to
add prior to creating the OSG-3.4 branch - and you'd be welcome to have a
bash.  Looking at the OpenGL extension specs:

https://www.opengl.org/registry/specs/ARB/shader_storage_buffer_object.txt

It looks like new enums will be needed, but most of the original buffer
object setup should work.  In the spec there is also use of the
glMemoryBarrier that the OSG doesn't yet wrap so one might be need to look
at adding this to GL2Extensions.

Robert.

Robert.

On 17 November 2014 16:30, Sverre Aleksandersen <
[email protected]> wrote:

> Hi,
>
> I'm wondering whether shader storage buffer objects are available in OSG.
> So far I've only looked at OSG 3.2.1. As far as I can tell this buffer
> object is not available in this version, please correct me if I'm wrong.
>
> Is there any plans in implementing it? If not, I might be interested in
> giving it a go myself.
> As far as I can tell, changes would at least be necessary in GL2Extensions
> and maybe BufferObject.
>
> Thank you!
>
> Cheers,
> Sverre
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=61656#61656
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to