[osg-users] Suggestion for Cuda + OSG, smooth particle hydrodynamic

2011-10-23 Thread brian tse
Hi, I am very new to CUDA and OSG, please accept my apologies if this is a stupid questions. I am trying to build SPH algorithm using Cuda to calculate the particle forces and update its position. I would like to ask is there a way in Cuda to pass the position array to OSG without doing a

[osg-users] AutoTransforms in HUD in slave camera

2011-10-23 Thread jamie robertson
Hi, I'm having trouble getting my AutoTransforms to start Autotransforming. For some reason I need to manually resize my GLWidget before they start Autotransforming. The autotransforms are used to display labels (made of lines) that always face the same direction in part of a HUD cross axes

Re: [osg-users] AutoTransforms in HUD in slave camera

2011-10-23 Thread jamie robertson
Nevermind, I figured it out, It was due to programmatically setting my main cameras setViewMatrixAsLookAt in some other code just after adding the autoTransforms. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43512#43512