vtkRenderLargeImage and ParallelProjection now working ?

Markus Heller markus.heller at charite.de
Tue Apr 25 10:38:56 EDT 2000


Hi,

I posted this some time ago without getting an answer,
so here I go again:

I'd like to use vtkRenderLargeImage in combination
with a parallel projection. Although things work out
with a perspective projection, the method does not
seem to work with a parallel projection.

Adding the following lines of code to e.g. "bottle.tcl"
illustrates what happens: instead of magnifying the
picture by a factor of 5, 5x5=25 views of the bottle
are combined in one picture:
 

set cam1 [ren1 GetActiveCamera]
$cam1 Zoom 0.9
$cam1 Elevation 0
$cam1 Azimuth 90
$cam1 Roll 90   

# next line causes strange behav. of vtkRenderLargeImage
$cam1 SetParallelProjection 1 

vtkRenderLargeImage rL
 rL SetInput ren1
 rL SetMagnification 5
 
vtkPNMWriter writer
  writer SetFileName LargeBottle.ppm
  writer SetInput [rL GetOutput]
  writer Write



Maybe the latest changes in the vtkCamera code eliminated 
the problem already - can somebody using the current nightly
release comment on this ? I'm currently unable to compile
a new release.

Markus


-- 
-------------------------------------------------------------------
Markus Heller  				      mailto:heller at acm.org
-------------------------------------------------------------------
Currently staying at:
Medizinische Fakultaet Charite, 
Humboldt-Universitaet zu Berlin
Forschungslabor der Unfall- und Wiederherstellungschirurgie
Augustenburger Platz 1
D-13353 Berlin
Tel: +49 (0)30 450 59159  Fax: +49 (0)30 450 59969
e-mail: heller at acm.org, markus.heller at charite.de
http://www.charite.de/biomechanik

Otherwise:
Universitaetsklinikum Ulm 
Institut fuer Unfallchirurgische Forschung und Biomechanik
Helmholtzstr. 14
D-89081 Ulm
http://lyra.medizin.uni-ulm.de/ufb.html/ufb-home-de.html
-------------------------------------------------------------------
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list