Plugins / ptp / Roll Pitch Yaw

Roll Pitch Yaw

Plugin to visualize the Euler Angles (Roll, Pitch, Yaw).

Register   Download Plugin

This plugin is version 1, was last modified on 3/23/2017, and is 37,712 Bytes. The author is ptp.

Requirements

This plugin requires EZ-Builder for Microsoft Windows PC.

  Get EZ-Builder for Windows

Plugin Details

Two instances different camera angles:
User-inserted image

Top Menus:
Configuration - configuration form

Scroll Bars:
Rotate Camera - When selected the top, bottom, right scroll bars controls the camera rotation (roll, pitch, yaw)

Position Camera - When selected the top, bottom, right scroll bars controls the camera distance from the object (x,y,z)

Rotate Object - When selected the top, bottom, right scroll bars controls the object (cube) rotation (roll, pitch, yaw)

Reset - sets 0,0,0 for the selected scroll bars

Show Camera Settings - Displays the camera position & rotation values

The Camera settings (excluding the object rotation) are saved to the project .

Configurations:

User-inserted image

User-inserted image

Controlling Variable - If specified an EZ-Script 3 position array variable is created to store the roll, pitch, yaw angles.
The value is updated when the scroll bars are controlling the object and the user changes the values.

Monitoring Variable - If specified the plugin instance will monitor a 3 position array variable (roll, pitch, yaw) and use the values to rotate the cube.

Simple Test:
Start a new Project
Add the RollPitchYaw plugin
Specify a monitoring variable: $rotation1
add the following script:

Code:


DefineArray($rotation1,3)

Repeat( $ax, 0, 2, 1)
$rotation1[0] = 0
$rotation1[1] = 0
$rotation1[2] = 0

$angle = 0
REPEATWHILE ($angle<=360)
$rotation1[$ax] = $angle
$angle = $angle + 1
Sleep(50)
EndRepeatWhile

EndRepeat



Hit Script Run!

Visualize the 360 degrees rotation over the 3 axis (Roll, Pitch, Yaw)