<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi David,<br><br>By using the world coordinate system as ground, do you mean to use: coordinate->setCoordinateSystemToWorld<br><br>I have 2 renderers: backgroundRenderer and sceneRenderer<br><br>Checking the ComputedWorldValue of each shows that they're both at 0,0. How do I actually move a renderer (sceneRenderer) within this render window? It doesn't seem like changing the position of the actor in sceneRenderer has an effect on the final render window.<br><br>Your help is greatly appreciated.<br><br>Thanks,<br>Alexis Cheng<br>Electrical Engineering<br>University of British Columbia<br><br>> From: david.gobbi@gmail.com<br>> Date: Wed, 20 Oct 2010 18:21:48 -0600<br>> Subject: Re: [vtkusers] Repositioning Image within Render Window<br>> To: acheng_1221@hotmail.com<br>> CC: daviddoria@gmail.com; vtkusers@vtk.org<br>> <br>> On Wed, Oct 20, 2010 at 6:04 PM, Alexis Cheng <acheng_1221@hotmail.com> wrote:<br>> > Hi David,<br>> ><br>> > That was the example I used to set the background to an image. Is it<br>> > possible to have multiple cameras focused on different objects?<br>> <br>> The only way to have multiple, simultaneous cameras is to have<br>> multiple renderers sharing a render window (which means they share the<br>> color buffer and depth buffer of the window). I strongly advise<br>> against doing this, though, because it can be tricky to have two<br>> renderers share a depth buffer properly.<br>> <br>> Usually I find that it is best to ground everthing within a common<br>> coordinate system, and I always use the world coordinate system as my<br>> "ground". Then I have most actors positioned correctly with respect<br>> to this "ground", and for other actors I have them follow the camera<br>> i.e. every time the camera moves, I reposition those actors within the<br>> world coordinate system to keep them stationary with respect to the<br>> camera.<br>> <br>> David<br>                                            </body>
</html>