Open Wyn-Price opened 2 years ago
So a mockup of the UI:
With no commit selected:
With a models commit selected: Note that the viewports on the right have the same camera. When the user moves the camera in one, the camera in the other one matches.
With an animations commit selected: Note that the viewports on the right have the same camera. When the user moves the camera in one, the camera in the other one matches.
The texture comparing would be exactly the same, and use the following
Note that the compare from
and to
in the top right can be set to be anything. Selecting a commit will simply set the from
to be that commit's parent, and to
to be the selected commit.
For the model + animation comparing, the viewport size would be exactly the same for both of them. Therefore, when the model/animation is rendered, we can literally compare pixels, and notify when pixels have changed. This could potentially be a checkbox at the top right of the split viewer, that would join the two viewers up and render it in "difference mode". (note difference mode should probably be done in grayscale, as there are no textures)
The url
studio.dumbcode.net/git/Dumb-Code/ProjectNublar-Assets/tyrannosaurus
would allow you to see the history for the trex assets in the project nublar repo.Here you can select an item (model / texture / animation), to see the git history of that item. This can just be a "basic" description, with a button to generate a full description
Basic description examples:
5 Cubes added, 1 Cube removed, 8 Cubes changed
+12kb (15%)
1 keyframe removed, 3 keyframes changed
The more advance description would then be a visualisation of the change
Model: A side by side of the old model and the new model.
Texture: A side by side of the old texture and the new texture
Animation: A side by side play-able version of both the animations
You can also compare commits with each-other. There can be a button by each commit to
compare
, clicking which will split the screen into two columns, with a dropdown at the top of each column to select which commit to compare with. The screen would then show the "advance" changes full screen.I'll do mockups soon