Hi Community,
I have a case where I work with osg::Image on the CPU and uploading it to a
osg::Texture object. However, it is terribly slow - the osg::Image is
modified on each frame.
Any hints techniques for this tip of task?
Thanks a bunch as always!
Nick
--
trajce nikolov nick
Hi Trajce,
Hi Community,
I have a case where I work with osg::Image on the CPU and uploading it
to a osg::Texture object. However, it is terribly slow - the
osg::Image is modified on each frame.
Any hints techniques for this tip of task?
1. Make sure it is not resized during upload (NPOT)
2
Hi Sebastian,
it is TextureRectangle so NPOT is not an issue. Also, I am using the
osg::Image for transfer of data from the CPU to the GPU, so it is not
possible to have it all in the GPU. Thanks anyway though!
Nick
On Wed, Oct 29, 2014 at 12:10 PM, Sebastian Messerschmidt <
sebastian.messerschm
Hi Nick,
On 29 October 2014 11:14, Trajce Nikolov NICK wrote:
>
> it is TextureRectangle so NPOT is not an issue. Also, I am using the
> osg::Image for transfer of data from the CPU to the GPU, so it is not
> possible to have it all in the GPU. Thanks anyway though!
>
>
Assign an osg::PixelBuffe
Hi Nick,
Make sure that it actually is the image transfer which is the culprit.
In my case it was the image retrieval which was slowing down my osg webcam
example program. So moving the image retrieval function to an own thread made
my example go from 4 fps to ~3000 fps.
Cheers,
Björn
-
Thans Robert,
since I haven't used this before, is the assignment enough for this or I
should make some setups etc. What I did I just ser
_image->setPixelBufferObject( new osg::PixelBufferObject ) and seeing the
same performance . poor .
Thanks again
Nick
On Wed, Oct 29, 2014 at 1:02 PM, Ro
Hi Bjorn,
I am using the osg::Image just for storing some vector data in it and
passing it to the shaders, so not retrieving from anywhere. Thanks anyway
Nick
On Wed, Oct 29, 2014 at 1:18 PM, Björn Blissing
wrote:
> Hi Nick,
>
> Make sure that it actually is the image transfer which is the cul
Hi Nick,
On 29 October 2014 12:35, Trajce Nikolov NICK wrote:
> Thans Robert,
>
> since I haven't used this before, is the assignment enough for this or I
> should make some setups etc. What I did I just ser
> _image->setPixelBufferObject( new osg::PixelBufferObject ) and seeing the
> same perfo
8 matches
Mail list logo