Camera information inconsistent

Nicholas Yue yue at
Tue Aug 17 05:03:40 EDT 1999


	I was trying to set up a camera view using values I obtain in a "proc"

	I find that the values printed did not reproduce the same figure.

	Any idea ?


set cam1 [ren1 GetActiveCamera]
	$cam1 SetViewUp -0.220679 -0.502572 0.835896 
	$cam1 SetFocalPoint 0.179291 0.277351 -0.0254646 
	$cam1 SetPosition 0.796565 0.948705 0.541141 
	$cam1 SetViewAngle 45


eval plane SetExtent 0 0 0 32 0 160
renWin Render

# prevent the tk window from showing up then start the event loop
wm withdraw .

proc Pick {cam1} {
    puts [$cam1 GetViewUp]
    puts [$cam1 GetFocalPoint]
    puts [$cam1 GetPosition]
    puts [$cam1 GetViewAngle]

iren SetEndPickMethod  {Pick $cam1}

Nicholas Yue                    | RenderMan. (tm)
yue at              | Rendered Once, Showcased Everywhere
(C)  | +61 08 9380-1897 (Office)
The Centre for Water Research   | +61 08 9380-1015 (Fax)

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list