Hi sholmes,
I use GL_RGBA32F in my projects.
However, CUDA had problems to map
GL_RGBA16F in earlier versions.
Maybe you should try to run this internal GL format
with our RTT-example first.
Cheers,
Jens
--
Read this topic online here:
I was successfull in using the GLRGBA32F as well as the GL_LUMINANCE_ALPHA32F.
Thanks for the feedback. osgCompute is a very interesting project... Would
like to see across the board support for multithreaded mode though... Is that
in the works?
jens.svt wrote:
Hi sholmes,
I use
I am trying to mod this sample to use the following texture type... Does
osgCompute support this?
textureRect0-setSourceType(GL_FLOAT);
textureRect0-setInternalFormat(GL_RGBA16F_ARB);
textureRect0-setSourceFormat(GL_RGBA);
jens.svt wrote:
Hi serkan, hi J.P.,
Here is a link to a simple
Hi Jens,
On 04/02/11 18:05, Jens Orthmann wrote:
Hi serkan, hi J.P.,
Here is a link to a simple example solving your problem:
http://www.cg.informatik.uni-siegen.de/data/Downloads/svt/osgComputeDemoApp.zip
We render a rotating cow into a texture then run a cuda-kernel and display the
result
Hi,
Thank you very much! This solved my problem.
Cheers,
Serkan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=36409#36409
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi serkan, hi J.P.,
Here is a link to a simple example solving your problem:
http://www.cg.informatik.uni-siegen.de/data/Downloads/svt/osgComputeDemoApp.zip
We render a rotating cow into a texture then run a cuda-kernel and display the
result in the same scene.
You need to set the usage flags
Hi,
First of all thanks for the great work you've benn doing so far. I'm trying to
build up a post processing setup using osgCompute but I have some problems.
This is how my scene graph looks like:
Computation (Render before children)
|- Camera (Relative, attached MRT textures and using FBO)
Hi,
I've recently been fiddling/debugging with a similar setup, nl RTT to
osgCuda. From what I've seen in the code (r314) the copy step is missing
for osgCompute::MAP_DEVICE_SOURCE. Allocation of a copy happens, but if
the texture does not have an osg::Image, no sync is taking place.
Sending
8 matches
Mail list logo