{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/7047","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/7047/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/7047/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/7047/events","html_url":"https://github.com/mrdoob/three.js/pull/7047","id":103021417,"number":7047,"title":"Add Utah teapot as a geometry object; doc cleanup","user":{"login":"erich666","id":803995,"avatar_url":"https://avatars.githubusercontent.com/u/803995?v=3","gravatar_id":"","url":"https://api.github.com/users/erich666","html_url":"https://github.com/erich666","followers_url":"https://api.github.com/users/erich666/followers","following_url":"https://api.github.com/users/erich666/following{/other_user}","gists_url":"https://api.github.com/users/erich666/gists{/gist_id}","starred_url":"https://api.github.com/users/erich666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erich666/subscriptions","organizations_url":"https://api.github.com/users/erich666/orgs","repos_url":"https://api.github.com/users/erich666/repos","events_url":"https://api.github.com/users/erich666/events{/privacy}","received_events_url":"https://api.github.com/users/erich666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-08-25T13:24:36Z","updated_at":"2015-08-30T19:19:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mrdoob/three.js/pulls/7047","html_url":"https://github.com/mrdoob/three.js/pull/7047","diff_url":"https://github.com/mrdoob/three.js/pull/7047.diff","patch_url":"https://github.com/mrdoob/three.js/pull/7047.patch"},"body":"Add the Utah teapot geometry object, along with a demo showing its\r\noptions. Also fix Matrix* documentation: match current constructor code,\r\nand clean up style.\r\n\r\nThis geometry object could be integrated into src/extras/geometries, and I'm happy to make the corresponding HTML documentation page. My hesitation with asking for this object to be added as a \"first class\" geometry object that gets included into three.min.js is just that it has some large arrays in it. Most geometry objects are fairly small (ExtrudeGeometry.js being the exception), so I am a little shy to recommend TeapotGeometry.js as a true part of three.js. Do note that if TeapotGeometry.js is minified it is about 10k, down from 17k."},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/136176059","html_url":"https://github.com/mrdoob/three.js/pull/7047#issuecomment-136176059","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/7047","id":136176059,"user":{"login":"WestLangley","id":1000017,"avatar_url":"https://avatars.githubusercontent.com/u/1000017?v=3","gravatar_id":"","url":"https://api.github.com/users/WestLangley","html_url":"https://github.com/WestLangley","followers_url":"https://api.github.com/users/WestLangley/followers","following_url":"https://api.github.com/users/WestLangley/following{/other_user}","gists_url":"https://api.github.com/users/WestLangley/gists{/gist_id}","starred_url":"https://api.github.com/users/WestLangley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestLangley/subscriptions","organizations_url":"https://api.github.com/users/WestLangley/orgs","repos_url":"https://api.github.com/users/WestLangley/repos","events_url":"https://api.github.com/users/WestLangley/events{/privacy}","received_events_url":"https://api.github.com/users/WestLangley/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T19:19:06Z","updated_at":"2015-08-30T19:19:06Z","body":"> It's because at the moment THREE.FlatShading is automatically computed in the fragment shader (using derivatives).\r\n\r\nYes. That is how `MeshPhongMaterial` does it.\r\n\r\nLet's decide. Do you want to move `MeshLambertMaterial` out of the library? I you suggested that recently in #6586."}}