The dimensions of the internal FBO of the volume mapper are intented
to be equal or smaller than the framebuffer it will render to at the
end (screen-based LOD strategy). This is internal, you cannot hack
with it.

But try this:

If you switch to offscreen mode on the render window, then the final
framebuffer will be an FBO too (another one). You can set the size you
want on the render window in offscreen mode (I mean it is usually way
larger than the displayable dimensions, it is limited by
GL_MAX_TEXTURE_SIZE (8192 on my nVidia Quadro FX 3600M)).

On Thu, Jan 21, 2010 at 5:51 PM, Horatio Caine <[email protected]> wrote:
> Thank you. I had had a short look on the vtkRenderLargeImage documentation 
> before, but I as soon as I saw the Magnification-property I believed that 
> this class does the same as vtkWindowToImage class (just resampling the 
> resultant image which does not provide the desired resolution at the end). I 
> will experiment around with vtkRenderLargeImage. Thank you again.
>
> I was not sure whether this question was really a VTK-question because I 
> thought that there is a trick (or at least a virtual possibility with some 
> hacking) that internally increases the size of the GL frame buffer object 
> without interfering with the VTK render window itself.
>
> horatio
>
>
> -------- Original-Nachricht --------
>> Datum: Thu, 21 Jan 2010 17:00:38 -0500
>> Von: Francois Bertel <[email protected]>
>> An: [email protected]
>> Betreff: Re: [VtkEdge] maximum render window size for 
>> vtkKWEOpenGLGPUVolumeRayCastMapper
>
>> This is more a VTK related question: how to render in an image bigger
>> than the onscreen window?
>>
>> I never tried it but you can try the VTK/Hybrid/vtkRenderLargeImage
>> class (see the following Tcl as a starting point:
>> VTK/Hybrid/Testing/Tcl/largeImageOffset.tcl)
>>
>>
>>
>> On Thu, Jan 21, 2010 at 4:52 PM, Horatio Caine <[email protected]>
>> wrote:
>> > Hello,
>> >
>> > is there a way to generate images using
>> vtkKWEOpenGLGPUVolumeRayCastMapper that are larger than the screen when 
>> using (hardware) off-screen
>> rendering? When I set the render window's size to e.g. 2048x2048 in 
>> off-screen
>> mode (-> window is not visible), the render window size is automatically
>> cropped to 1264x988 as my desktop's (Vista) resolution is 1280x1024.
>> > Is there a workaround / trick to get the FBO bigger?
>> > I would like to volume-render high-resolution images from a 3D data set.
>> >
>> > regards,
>> > horatio
>> > --
>> > Haiti-Nothilfe! Helfen Sie per SMS: Sende UIHAITI an die Nummer 81190.
>> > Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF.
>> > _______________________________________________
>> > VtkEdge mailing list
>> > [email protected]
>> > http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge
>> >
>>
>>
>>
>> --
>> François Bertel, PhD  | Kitware Inc. Suite 204
>> 1 (518) 371 3971 x113 | 28 Corporate Drive
>>                       | Clifton Park NY 12065, USA
>> _______________________________________________
>> VtkEdge mailing list
>> [email protected]
>> http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge
>
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA
_______________________________________________
VtkEdge mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge

Reply via email to