Hi,

Miika Aittala wrote:
Hi,

... where do I put the Processor and what else do I need to do in
order to make its units render AFTER the depthCamera but BEFORE the
osgViewer's camera? The main camera needs to render to an FBO too,
because its results are also further processed with another Processor
(could multiple processors be a problem, by the way)?

> Also another approach of adding a group with renderbin -1 to the main
> level and parenting the processor to this gives pretty much the same
> results and problems.

I'm not sure if this is different from what you tried with the group, but have you tried adding the processor as a sibling of the depthcamera, i.e. not a child of depthcam, but child of viewer? We have some algorithms with multiple passes where we just add a bunch of prerender cameras to a group and they execute in the order they were added (no need to fiddle with bins). I know this works with RTT cameras and FBOs (see e.g. osgstereomatch example), not sure of osgPPU interaction though.

If it still does not work, maybe you could try make a minimal example of osg RTT camera and osgPPU processor that shows the problem.

jp


So... any ideas?

Thanks,

Miika


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

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

Reply via email to