Sorry, I didn't set my client to prefix original message with '>' character.

> Hi Robert,
> 
> I don't understand why you are using a readPixels() callback.  Why not
> just avoid calling readPixels() completely and have your own custom
> method in your own code.
> 
> Is it there is some higher level OSG functionality that you're actually
> trying to customize?
> 
> 

Yes, that is correct! Image::readPixels is called by the framework 
(osgUtil::RenderStage::drawInner) when you attach image to the camera. Hence, 
if one decides to go custom way he/she is left with no other option but to 
duplicate well-written and well-tested camera attachement code. But as I said 
before, readPixels callback is low priority feature which may be left out if no 
one cares...

Robert M.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to