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

Global Validator #1

Open
mottosso opened this issue Apr 10, 2017 · 5 comments
Open

Global Validator #1

mottosso opened this issue Apr 10, 2017 · 5 comments

Comments

@mottosso
Copy link
Contributor

Goal

Enable artists and supervisors to configure high-level aspects of what is valid and what is not.

Implementation

Firstly, collect high-level "metadata" from each and every family. Data such as whether normals are inverted (model), whether every model has a shader, or not (lookdev), whether every published version has an equivalent local working file available, whether animation is contained within a fixed area (e.g. a 200x200m grid).

Secondly, a single validator takes the high-level metadata into consideration and contrasts it against a user-created "specification".

Specification

{
  "allowInvertedNormals": false,
  "animationArea": [200, 200],
  "enforceShader": true,
  "preventPerFaceShader": false
}

The specification is stored alongside a (1) user, (2) asset, (3) project or (4) the entire pipeline, where the more specific specifications override less the specific. That is, a level-4 specification enforcing shaders on every single asset may be overruled by a specification made for a particular asset.

@BigRoy
Copy link
Collaborator

BigRoy commented Jul 30, 2019

Closing this.

This is not related to Avalon core but is a discussion that relates to a studio config which is where requirements for the studio configuration are implemented, including its collectors, validators, etc for publishing. If you have any questions or want to continue discussion feel free to do so in this issue, but for now this issue will be closed to reduce redundant clutter.

@BigRoy BigRoy closed this as completed Jul 30, 2019
@mottosso mottosso transferred this issue from getavalon/core Jul 30, 2019
@mottosso mottosso reopened this Jul 30, 2019
@mottosso
Copy link
Contributor Author

@BigRoy Let's move config related issues to here.

@tokejepsen
Copy link
Collaborator

This has actually been implemented in Pype with presets. @mkolar

@mottosso
Copy link
Contributor Author

Oh wow, that's great!

@tokejepsen
Copy link
Collaborator

It hasn't been implemented as a global validator yet, but all studio customizable settings are collected in a set of json files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants