Skip to content

Conversation

@MaticDiba
Copy link

This pull request introduces enhancements to the GUI controls for plane manipulation. Specifically, it adds support for dynamic rotations around the local axes of the plane. The following changes were made:

Summary of Changes:

  1. New Parameters:
    Added tx, ty, and tz to the parameters.cp object to control rotations around the plane's local axes (x, y, and z).

  2. New Rotation Functionality:
    Implemented a new updatePlaneRotation function using quaternions to ensure the rotations are applied relative to the plane's current orientation. This ensures the following behaviors:
    tx (Pitch): Rotates the plane around its local x-axis.
    ty (Roll): Rotates the plane around its local y-axis.
    tz (Yaw): Rotates the plane around its local z-axis.

  3. Updated Controls:
    Added GUI controls for:
    tx: Pitch (rotation around local x-axis).
    ty: Roll (rotation around local y-axis).
    tz: Yaw (rotation around local z-axis).

Motivation:
This feature enhances the user experience, which is especially useful for applications involving 3D data visualization or modeling.

Any comment/ideas welcom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant