Christoph Hintermüller wrote:
Hi
I have the following problem
I want to print the content of the actual viewer to a file in
postscript/Jpeg/tiff/rgb format and later on it should also be possible
to feed a mpeg or avi encoder lib directly.
While looking through the Books and References arround Inventor I cam
accross the SoOffscreenRenderer and tried to implement the example'S
given there.
But all i get is an image taken form the far infinty showing most of the
background of the vierwer and the scene, which is at least filling the
viewer if not even zoomed, looks like a verry tiny icon on a vast desktop.
I'v allready tried to adf a furhter camera(copy of the viewers camera)
to the Rootnode(viewers root passed to the Offscreen renderer) and i
tried to use the viwers SoGlRenderAction instead of the one of the
OffscreenRenderer i played with the resoltuions ....
but all i get is the same in all formats ...
So can I use SoOffscreenRenderer at all to generate fileoutput in the
mentioned
Formats from/alike the Viewer content or do I have to use something
different.
Is there something special to consider ....
cu
Christoph
Thanks to Eric Page
Since i changed the getSceneGraph() form the hilevel function provided
by the Application we develope for
to the
one from SoSceneManager it works fine :)
cu
Christoph
|