Hi *,
we want to count white pixels in a renter target texture utilizing ogre. Currently the rendered image is blit to memory and counted on the cpu.
As this is rather slow we appreciate any idea on speeding up the process. Is it possible to do this on the gpu itself, to count the white pixels there and just copy the computed number of white pixels to the memory?
Can we maybe use OpenCL and / or Ogre to speed things up?
Best regards and have a nice day!
Marcel
Counting pixels with ogre
-
- OGRE Team Member
- Posts: 4304
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 136
Re: Counting pixels with ogre
Which Ogre version are you using?
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
-
- Gnoblar
- Posts: 2
- Joined: Thu Jan 14, 2016 10:47 am
Re: Counting pixels with ogre
Hey spacegaier,
we use the mogre version 1.7.1
Best regards,
Marcel
we use the mogre version 1.7.1
Best regards,
Marcel