Hi,

I am using osgPPU (0.4.0) in a distributed environment and thus rely on
the image readback functionality through camera attachments to be able
to send rendered/postprocessed images over the network. Since OSG 3.0
seems to require the osgPPU trunk version and i could also use the new
resize functionality of osgPPU i tried to migrate to the newer version.
Unfortunately since the update i only get clear color read back instead
of the UnitOut output. The updated API doc says that UnitOut disables
the FBO which i am using, but switching the camera implementation from
FBO to simple FB leads to the same results. Are there any other changes
in that regard i need to be aware of? And what is the correct way to use
UnitOut now if i want to use camera attachments?

Debug output looks ok, the only thing differing between 0.4.0 and trunk
is the additional line "output: 0". According to the source this line
was caught by an if-phrase before and thus omitted. PipelineResult is a
UnitOut, color is a UnitTexture for input and BlurX an instance of
UnitInOut:

BEGIN FRAME EffectNode osgPPU::Processor
color run in thread 0
         vp 0x21300f0 (ref 0): 0 0 512 512
         program: 0x212d4a0
         input:  0:0x1f1c690-attr (512x512)
         output:  0x1f1c690 (512x512 )
BlurX run in thread 0
         vp 0x3f4fbe0 (ref 0): 0 0 512 512
         program: 0x7fa474019f10
                radius : 15
                sigma : 15
         input:  0:0x1f1c690-attr (512x512)
         output:  0x3f50370 (512x512 )
PipelineResult run in thread 0
         vp 0x3f51160 (ref 0): 0 0 512 512
         program: 0x2130c80
         input:  0:0x3f50370-attr (512x512)
         output:  0
END EffectNode osgPPU::Processor



Regards,
Luciano
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to