Re: [osg-users] [osgCompute] Experiences with osgCompute

2011-10-21 Thread Bart Postma
After reading that osgCompute is single threaded now I first took this for granted. Still, I am now questioning how bad is it that the viewer is executing in a single thread. Does anybody know the impact on the performance? Is it significant? And is the impact size only proportional to the

Re: [osg-users] [osgCompute] Experiences with osgCompute

2011-10-14 Thread Bart Postma
Hi Jens, I finally have come around to check your new version. And I like it. Particularly the class that inherits from the new Computation class is a lot cleaner now. As for the geometry-offset problem. It would be nice if you would let it know how you tackled the problem. One last thing:

Re: [osg-users] [osgCompute] Experiences with osgCompute

2011-10-08 Thread Bart Postma
Thanks for all your answers. As we use the runtime version of CUDA it is absolutely necessary to include a class which encapsulate CUDA programs. However, if you just want to add a simple CUDA operation use a osgCompute::LaunchCallback with your kernels, similar to for OpenGL calls

Re: [osg-users] [osgCompute] trunk compile

2011-10-05 Thread Bart Postma
I also made a comment on the 'gl - GL' and the '#include cstring' in my post at http://forum.openscenegraph.org/viewtopic.php?t=9112 The reply of one of the developers is: The most recent test we did is with OSG Library 3.1.0 (developer version). It runs with no problems. Also, I had to

Re: [osg-users] [osgCompute] Experiences with osgCompute

2011-09-23 Thread Bart Postma
Hi Maik, Thank you for answers. I supplied a short example program as you requested. The program displays a triangle (osgCuda::Geometry) and the GPU increments its positions with a positive value, so it's moving to the top-right. Secondly, there is a dummy array (osgCuda::Memory) and the GPU

[osg-users] [osgCompute] Experiences with osgCompute

2011-09-14 Thread Bart Postma
After wrapping up a project in which I used osgCompute together with OpenSceneGraph I have some mixed feelings about this library. I shall write them down below in the hope that they can be of help to the developers and anybody else that may also bumped to the specific issue. Perhaps/probably

Re: [osg-users] [osgPlugins] Updating vertices properly + pick only one Geometry object

2009-11-18 Thread Bart Postma
Okay, I see. Thanks for your help -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19794#19794 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [osgPlugins] Updating vertices properly + pick only one Geometry object

2009-11-16 Thread Bart Postma
Thanks! It worked. The vertex buffer objects, in combination with an element buffer object, was a bit of figuring out, but it works now. The osgparametric example in the Examples section got me on the way. It was the only example using vertex buffer objects together with an element buffer

[osg-users] [osgPlugins] Updating vertices properly + pick only one Geometry object

2009-11-14 Thread Bart Postma
Hello, After spending several years writing plain OpenGL, I decided to seek it a bit higher, ending up with OSG. So I am currently working on my first project with OSG and I like. However, I have two questions that, after searching this forum and the web site, are not resolved yet. 1. My