Re: [osg-users] Which GPGPU postprocessing method is best for me?
I went back to the osgCompute src to look at how it creates a CUDA context. I am tempted to simply use osgCompute since they have an RTT example that looks like it would work for my purposes. The only thing that's keeping me from investing into osgCompute is that the osgCompute forum only has a handful of posts from the past year and I wonder how much continued development there is... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51927#51927 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Which GPGPU postprocessing method is best for me?
Thanks Wang Rui, I had a look at the effectscompositor code but I wanted to start with something simpler at first so I went to your cookbook. I followed the NVG example from chapter 6 of your cookbook in order to create a render to texture camera to write the scene to, then a hud camera to read from the fbo and write to the screen. I think this is the basic framework that I need in order to proceed; now I think I just need to figure out how to create an OpenCL context using the existing osg OpenGL context so that I can operate on the RTTCamera's FBO before it gets read by the hud camera and sent to the screen. I saw this post (http://forum.openscenegraph.org/viewtopic.php?t=11332) about creating an opencl context from osg's opengl context but it's a little vague so I'm looking now for a more complete osg OpenGL-OpenCL interop mode example (if such a thing exists) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51893#51893 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Which GPGPU postprocessing method is best for me?
Thank you Jeremy I'll have a look at that implementation (I was actually just reading through Rui Wang's cookbook when you posted this). In the meantime I'll also try compiling osgPPU and osgCompute and go through some examples to assess which of these can accomplish what I am looking to do. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51827#51827 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Which GPGPU postprocessing method is best for me?
Hi Ethan, You may found the osgeffectcompositor in osgRecipes project as Jeremy says. I'm currently working on a better version of ViewDependentShadowMap and will try to provide a complete pipeline using forward shadows and deferred shading work. It is always appreciated if you and others could provide some more ideas and suggestions. :-) Wang Rui 2013/1/8 Ethan Fahy ethanf...@gmail.com Thank you Jeremy I'll have a look at that implementation (I was actually just reading through Rui Wang's cookbook when you posted this). In the meantime I'll also try compiling osgPPU and osgCompute and go through some examples to assess which of these can accomplish what I am looking to do. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51827#51827 ___ 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] Which GPGPU postprocessing method is best for me?
Hello all, I have an osg project that uses shaders to write float32 values representing temperatures to my framebuffer texture. I would like insert a CUDA or OpenCL kernel to take those temperature values in the framebuffer and reinterpret them as colors based on various sensor effects. My current understanding is that I may be able to accomplish this in 3 ways: 1. osgPPU 2. osgCompute/osgCUDA 3. write something myself from scratch somehow... I have spent a day or so reading through the documentation and forums for both osgPPU and osgCompute but I'm wondering if anybody might have suggestions for my particular use case so I optimize my research time. As always my many thanks. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51774#51774 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Which GPGPU postprocessing method is best for me?
On 01/04/2013 09:33 AM, Ethan Fahy wrote: Hello all, I have an osg project that uses shaders to write float32 values representing temperatures to my framebuffer texture. I would like insert a CUDA or OpenCL kernel to take those temperature values in the framebuffer and reinterpret them as colors based on various sensor effects. My current understanding is that I may be able to accomplish this in 3 ways: 1. osgPPU 2. osgCompute/osgCUDA 3. write something myself from scratch somehow... Wang Rui is (I believe) in a Chinese time zone, but he may chime in here later today. He is working on osgFX::EffectsCompositor, which I personally found incredibly well-written and easy-to-use. Check out his code here: https://github.com/xarray/osgRecipes I have spent a day or so reading through the documentation and forums for both osgPPU and osgCompute but I'm wondering if anybody might have suggestions for my particular use case so I optimize my research time. As always my many thanks. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51774#51774 ___ 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