Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

Camera manipulation

$
0
0

@PohNee wrote:

Hi,

I have a C# plugin and I would like to have a command where during the execution of the command:

  1. Camera panning is restricted
  2. Camera zooming does not change the camera location.
  3. Camera rotating is restricted to rotate on a fixed center of rotation.

Is there a way for me to implement this?
I have been manipulating the ViewportInfo and calling SetViewProjection method.
I also tried to implement a conduit and during the DrawForeground method call, manipulate the Viewport.
None gives me the behavior that I wanted.

Thank you,
Poh Nee

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles