[vtkusers] Problem s/vtkRenderLargeImage

Eric LaMar lamar1 at llnl.gov
Wed May 22 17:37:31 EDT 2002


Hello:

I'm having a problem with vtkRenderLargeImage: the resulting images
cover different amount of the viewport.  

I'm rendering an image by breaking it into smaller chunks, so my input
is an image size, SIZE, and the # of chunks, CHK.  I make SIZE some
integer multiple of MAG, to prevent chunks from having size/alignment
problems.  

My base image is a window of size SIZE*SIZE, rendering w/o vRLI
(vrkRenderLargeImage).
My 'chunked' images are generated using vRLI, with the render window
size set to SIZE/CHK, and with CHK of 1, 2, 4, and 8 (this produces 1,
4, 16, and 64 subimages).  

I've testing this with both parallel and persepctive projection.

There is no problem between chunks: everything lines up just fine
(though I do notice some color problems with the ray-caster, but that is
another story).  

In perspective, the whole image seems to scale up (eg, zoom or narrowing
the field-of-view) as CHK is increased.
In parallel, all images generated w/vRLI are the same size, but larger
than the non-vRLI image.

I've included a Tcl program to show the problems under parallel and
perspective projections.

Any ideas?

Thank you,
Eric LaMar.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: largeImageProblem.tcl
Type: application/x-tcl
Size: 1707 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020522/b9e7650c/attachment.tcl>


More information about the vtkusers mailing list