[osg-users] Why does the computeshaderblur program not display properly?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Wed Jun 24 04:45:39 PDT 2020


On Tuesday, 23 June 2020 at 13:13:23 UTC+1 mirr... at gmail.com wrote:

> sorry.My environment is win10 osg3.6.4 GTX1660Ti.
> I tried to write a Gaussian blur computeshader,but I don't know why 
> display error.
>
> [image: QQ图片20200623183156.png]
>
>
I don't personally have time to test all users code, so I'll just make 
suggestion of how you can investigate what the problem is.

For GL error report like this it's telling us that part of state is 
incorrect or incompatible with the hardware/driver.  the warning itself 
isn't fine grained enough to know exactly what state is the problem.  The 
OSG does provide some fine grained error checking which you can enable via 
the env var OSG_GL_ERROR_CHECKING to ON i.e. on linux you'd do

   export OSG_GL_ERROR_CHECKING=ON
   myapplication mydata

Then have a look at the console output so what was the last osg state to be 
applied before the error was detected.  It doesn't always pinpoint the 
error but does usually get you closer.


 

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/979e92ba-aad6-4fb7-b0df-54766e04f448n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200624/29d376af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QQ??20200623183156.png
Type: image/png
Size: 38656 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200624/29d376af/attachment.png>


More information about the osg-users mailing list