info-inventor
[Top] [All Lists]

Re: SoXtFullviewer and SoOffscreenRenderer

To: info-inventor@xxxxxxxxxxx, info-inventor-dev@xxxxxxxxxxx
Subject: Re: SoXtFullviewer and SoOffscreenRenderer
From: Christoph Hintermueller <hinzge@xxxxxxxxxxxxxx>
Date: Fri, 21 Sep 2001 18:33:47 +0200
Newsgroups: comp.graphics.api.inventor
References: <3BAB3660.7020408@sbox.tugraz.at>
Sender: owner-inventor@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; 0.7) Gecko/20010316
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



<Prev in Thread] Current Thread [Next in Thread>