Dumb-Code / DumbCode-Studio

The complete suite of DumbCode made tools for modeling, animating and managing minecraft style game assets
https://studio.dumbcode.net/
1 stars 1 forks source link

View the git history of a project #211

Open Wyn-Price opened 2 years ago

Wyn-Price commented 2 years ago

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:

The more advance description would then be a visualisation of the change

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

Wyn-Price commented 2 years ago

So a mockup of the UI:

With no commit selected: dumbcode-sketch-model-no-commit-selected

With a models commit selected: dumbcode-sketch-model-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: dumbcode-sketch-model-commit-selected-animation 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 github-desktop-texture-compare

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.

More types of comparing

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)