Dear Duc,

If you read your own first mail with the code snippet you pasted:

    virtual void operator () (osg::RenderInfo& renderInfo) const
    {
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE)
        glReadBuffer(_readBuffer);
#else
osg::notify(osg::NOTICE)<<"Error: GLES unable to do glReadBuffer"<<std::endl;
#endif

I guess that's clear, right?

Cheers
Raymond




On 29-12-2016 2:27, Sebastian Messerschmidt wrote:
Hi,
it is hard to tell what is going wrong without further information. For instance it is crucial to call the glReadPixel function in the right moment. Could you provide some example that shows the problem? Also: is the osgscreencapture or the osgviewers screenshot-functionality working?

Cheers
Sebastian
--
Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.
Am 29.12.16, 02:06, duc nguyen <osgfo...@tevs.eu> schrieb:


    hartwigw wrote:
    > Hi,
    >
    > glReadPixels is not supported by iOS.
    >
    > Cheers,
    > Hartwig


    But my iOS device use Open GLES 2.0 an it support glReadPixels
    function

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





    _______________________________________________
    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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to