Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Spec gloss vs metal rough #192

Merged
merged 6 commits into from
Oct 17, 2018
Merged

Spec gloss vs metal rough #192

merged 6 commits into from
Oct 17, 2018

Conversation

emackey
Copy link
Member

@emackey emackey commented Sep 6, 2018

This adds the "two water bottles" side-by-side comparison of spec/gloss and metal/rough as a new sample model in its own right. New labels were added, and they too are part of the test.

/cc #181 and CesiumGS/cesium#7006

/cc @bghgary @OmarShehata @abwood

@emackey
Copy link
Member Author

emackey commented Sep 6, 2018

See the README

@lexaknyazev
Copy link
Member

"License Information" part of the readme contains only authors, not usage / distribution license.

@emackey
Copy link
Member Author

emackey commented Sep 6, 2018

Yes, this is because it is derived from the Microsoft WaterBottle, which similarly lists authors but not a license. @bghgary or @sbtron can a real license be added to WaterBottle and friends? Preferably one that permits derivative works! I recommend CC-BY 4.0.

@bghgary
Copy link
Contributor

bghgary commented Sep 6, 2018

I'll let Patrick Ryan answer this in more detail. I think we wanted to avoid putting any license because it still caused restrictions even with the most permissive one. We wanted this to be completely open for use. @PatrickRyanMS what do you think?

@lexaknyazev
Copy link
Member

lexaknyazev commented Sep 6, 2018

Lack of license usually means that nothing could be done with the model without explicit permission.
To give it away completely, the typical way is to declare it "public domain" (if applicable) or to use something like CC0.

@PatrickRyanMS
Copy link
Contributor

I agree with @bghgary that we want these assets publicly distributable and open for anyone to use, remix, share, etc. The issue with even applying a CC-BY 4.0 license is that since we work for Microsoft and these contributions are part of our work for the company, I don't know that we can just assign a license, even CC-BY, without getting our legal department to sign off on us doing that. This is a question that we will need to dig a little further on before we can attach any legal language to the assets, but we do want them to be public domain.

@emackey
Copy link
Member Author

emackey commented Sep 6, 2018

@bghgary @PatrickRyanMS Thanks, and please do follow up on this. @lexaknyazev is correct that legally we shouldn't be doing anything with the Microsoft-supplied models, not even including them for distribution with the sample models, without a license.

@cx20
Copy link
Contributor

cx20 commented Sep 6, 2018

@emackey I added this model to gltf-test.

I think the current status is as follows.
https://github.com/cx20/gltf-test#extension-test-models
image

image image
image image
image image

@emackey
Copy link
Member Author

emackey commented Sep 6, 2018

@cx20 Thanks. I didn't realize the spec/gloss ecosystem was in such bad shape. Cesium support is coming soon. Some of the others appear to be really close, like ThreeJS and Hilo3D.

@emackey
Copy link
Member Author

emackey commented Sep 20, 2018

@bghgary @PatrickRyanMS How should we proceed with this one? Did you reach out to legal, or is there any other option?

@bghgary
Copy link
Contributor

bghgary commented Sep 20, 2018

@sbtron is going over this with legal which takes some time. @sbtron, any status on this?

@emackey
Copy link
Member Author

emackey commented Oct 1, 2018

OK, in the master branch, Microsoft has added CC0 licenses to its sample models (thanks so much @bghgary and @sbtron!). I've copied that license here to this new model, since it's just a re-packaging of two different versions of the existing water bottle model side-by-side.

This should be good to merge now.


## License Information

Based on the Water Bottle sample model, donated by Microsoft for glTF testing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's appropriate to say "donated by Microsoft for glTF testing" here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.


Based on the Water Bottle sample model, donated by Microsoft for glTF testing.

[![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png)](http://creativecommons.org/publicdomain/zero/1.0/)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add two spaces at the end of the line to put the text on a separate line.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. I had copy/pasted this, but I have my copy of VSCode configured to remove trailing spaces automatically. Sad that markdown places significance on such things.

@emackey emackey merged commit e29ef1d into master Oct 17, 2018
@emackey emackey deleted the spec-gloss-vs-metal-rough branch October 17, 2018 14:55
@cx20
Copy link
Contributor

cx20 commented Nov 1, 2018

@emackey @donmccurdy I have doubts about the display result of Three.js.
The Metallic Roughness model reflects the environment map, but the Specular Glossiness model does not seem to reflect the environment map. Is this a correct display result?

Three.js + SpecGlossVsMetalRough.gltf result:
image

@donmccurdy
Copy link
Contributor

donmccurdy commented Nov 1, 2018

Thanks again for these side-by-side comparisons. ❤️

It's entirely possible the spec/gloss result is incorrect in three.js, I'll file a bug.

EDIT: Filed mrdoob/three.js#15195.

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

Successfully merging this pull request may close these issues.

None yet

6 participants