Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View the git history of a project #211

Open
Wyn-Price opened this issue May 9, 2022 · 1 comment
Open

View the git history of a project #211

Wyn-Price opened this issue May 9, 2022 · 1 comment
Labels
dev The issue pertains to the private dev site enhancement New feature or request

Comments

@Wyn-Price
Copy link
Member

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:

  • Model: 5 Cubes added, 1 Cube removed, 8 Cubes changed
  • Texture: +12kb (15%)
  • Animation: 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.

    • Cubes whose values have changed will be orange in the NEW model
    • Cubes who have been deleted will be red in the OLD model
    • Cubes who have been added will be green in the NEW model
  • Texture: A side by side of the old texture and the new texture

    • Maybe a scrubbable bar to view the comparison?
    • YDGlvvRTYE
  • 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

@Wyn-Price Wyn-Price added enhancement New feature or request dev The issue pertains to the private dev site labels May 9, 2022
@Wyn-Price
Copy link
Member Author

Wyn-Price commented May 13, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev The issue pertains to the private dev site enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant