Practice
implementing 3D composite transforms. Extend Assignment_01 so your
program reads a model from an input file (same format as
Assignment_01) and animates each transform over N incremental
steps, updating the display at every step.
Commands to
Implement
Rotate
Rotate all objects
by D degrees in N steps about either the x, or y, or z axis, or an
arbitrary line AB (user-specified points A and B). Display every
intermediate state.
Scale
Scale all objects
by (Sx, Sy, Sz) about pivot A(Ax, Ay, Az) in N steps. Display every
intermediate state.
Translate
Translate all
objects by (Tx, Ty, Tz) in N steps. Display every intermediate
state.
GUI
Requirement
All coordinates,
parameters, and N must be user-adjustable in the GUI. , exactly
matching the style and behavior of theprovided sample program.
Default values for
all user inputs should be exactly the same as theprovided sample program.
Technical
Requirements
Preserve functionality: All features
from Assignment_01 must remain fully operational.
I/O & rendering: Use the same
file I/O and display pipeline as Assignment_01.
Animation granularity: Each command
must animate smoothly across exactly N frames/updates.
Scope of transforms: Apply all
transforms to every currently loaded object.