Hi Berg,
The "ideal" way to insert a capture of main camera would be to insert
a custom osg::GraphicsOperation into set of rendering operations
attached to each GraphicsContext that you want to capture, you need to
insert this custom operation before after the cameras but before the
swap buffer.
Robert,
Thanks for the tips. After experimenting with the code in the osghud
example, I was finally able to get a basic version of what I wanted
working with the CompositeViewer.
However, I now have another question. I want to be able to take a
screenshot of the entire screen. I currently have
2 matches
Mail list logo