Hi Art and all,
I'm facing a strange issue when integrating a very simple PPU pipeline in my
application.
The post fx does its work just fine, but then for some periods it just stops
to render, it stalls for a while (frequency and length of these periods seem
to be random), and then it starts working again.
Using the debug notification level, i obtain the output pasted below.
The effect I've used for this example is basically the same as the DOF
example, but also with other (simpler) fx the issue is the same.
Please note that I'm not using a UnitOut as last unit, but a UnitInOut from
which I retrieve the texture to apply to another object of my scene
something like:
osg::Texture* pFxTex = pLastUnit->getOrCreateOutputTexture(0);
pGeometry->getOrCreateStateSet()->setTextureAttributeAndModes(0, pFxTex );
Have you got any idea what might be the cause of the issue??
I'm quite lost...
Ricky
--------------------------------------------------------------------
BEGIN FRAME
DepthBypass run in thread 00000000
program: 02B5F850
input: 0:00000000
DOF_Result run in thread 00000000
vp 02C0D238 (ref 0): 0 0 1024 767
program: 02B605F8
input: 0:02B5A548-attr (1024x767) 1:02B6FB40-attr (512x383)
2:000000
output: 02B762B8 (1024x767 )
fbo: 00000000
ColorBypass run in thread 00000000
vp 02C0D058 (ref 0): 0 0 1024 767
program: 02B5B4A8
input: 0:02B5A548-attr (1024x767)
ResampleLight run in thread 00000000
vp 02C0D148 (ref 0): 0 0 512 383
program: 02B65538
input: 0:02B5A548-attr (1024x767)
output: 02B6C100 (512x383 )
fbo: 00000000
BlurHorizontal run in thread 00000000
vp 02C0CFE0 (ref 0): 0 0 512 383
program: 02B60158
input: 0:02B6C100-attr (512x383)
output: 02B6D580 (512x383 )
fbo: 00000000
BlurVertical run in thread 00000000
vp 02C0D1C0 (ref 0): 0 0 512 383
program: 02B60280
input: 0:02B6D580-attr (512x383)
output: 02B6FB40 (512x383 )
fbo: 00000000
Done DatabasePager::addLoadedDataToSceneGraph0.000766244ms, 0ms
objects0
--------------------------------------------------------------------
BEGIN FRAME
--------------------------------------------------------------------
BEGIN FRAME
Done DatabasePager::addLoadedDataToSceneGraph0.000383122ms, 0ms
objects0
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org