Flying the camera around a 3D object?
#1
I have a 3D polyline object that I'm seeing with a camera defined thusly . . . 

        <cameras:TargetPositionCamera Name="Camera1"
                                      Heading="0" Attitude="0" Bank="0" TargetPosition="0 0 0"
                                      CameraType="OrthographicCamera"
                                      CameraWidth="936"
                                      ShowCameraLight="Always"
                                      TargetViewport3D="{Binding ElementName=MainViewport}"/>

But what I really want to do is "fly" the camera around the object so I can see my 3D object from different angles.

What is the right way to think about this?   Does the camera have a "position" or is the TargetPosition camera-relative, i.e., do I "move the camera" by changing the target position, or what?

Is there any sample code that does something similar to what I'm asking about?

Thanks in advance.
  


Messages In This Thread
Flying the camera around a 3D object? - by pnelsonAG - 06-01-2017, 06:10 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)