{"action":"created","issue":{"url":"https://api.github.com/repos/danielepanozzo/cg/issues/102","repository_url":"https://api.github.com/repos/danielepanozzo/cg","labels_url":"https://api.github.com/repos/danielepanozzo/cg/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/danielepanozzo/cg/issues/102/comments","events_url":"https://api.github.com/repos/danielepanozzo/cg/issues/102/events","html_url":"https://github.com/danielepanozzo/cg/issues/102","id":379429756,"node_id":"MDU6SXNzdWUzNzk0Mjk3NTY=","number":102,"title":"Should we upload rest colors","user":{"login":"jw4149","id":31710298,"node_id":"MDQ6VXNlcjMxNzEwMjk4","avatar_url":"https://avatars2.githubusercontent.com/u/31710298?v=4","gravatar_id":"","url":"https://api.github.com/users/jw4149","html_url":"https://github.com/jw4149","followers_url":"https://api.github.com/users/jw4149/followers","following_url":"https://api.github.com/users/jw4149/following{/other_user}","gists_url":"https://api.github.com/users/jw4149/gists{/gist_id}","starred_url":"https://api.github.com/users/jw4149/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jw4149/subscriptions","organizations_url":"https://api.github.com/users/jw4149/orgs","repos_url":"https://api.github.com/users/jw4149/repos","events_url":"https://api.github.com/users/jw4149/events{/privacy}","received_events_url":"https://api.github.com/users/jw4149/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-10T15:09:35Z","updated_at":"2018-11-10T16:18:20Z","closed_at":null,"author_association":"NONE","body":"Dear Professor, \r\nWhen firstly uploading the vertex attributes, should we upload the colors of the initial state along with positions and normals of the initial state ? \r\nIf so, how do we recalculate the colors later on the GPU side ? as it depends on normals, which changes according to translations and rotations. \r\nThank you. "},"comment":{"url":"https://api.github.com/repos/danielepanozzo/cg/issues/comments/437595253","html_url":"https://github.com/danielepanozzo/cg/issues/102#issuecomment-437595253","issue_url":"https://api.github.com/repos/danielepanozzo/cg/issues/102","id":437595253,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzU5NTI1Mw==","user":{"login":"danielepanozzo","id":6785134,"node_id":"MDQ6VXNlcjY3ODUxMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6785134?v=4","gravatar_id":"","url":"https://api.github.com/users/danielepanozzo","html_url":"https://github.com/danielepanozzo","followers_url":"https://api.github.com/users/danielepanozzo/followers","following_url":"https://api.github.com/users/danielepanozzo/following{/other_user}","gists_url":"https://api.github.com/users/danielepanozzo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielepanozzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielepanozzo/subscriptions","organizations_url":"https://api.github.com/users/danielepanozzo/orgs","repos_url":"https://api.github.com/users/danielepanozzo/repos","events_url":"https://api.github.com/users/danielepanozzo/events{/privacy}","received_events_url":"https://api.github.com/users/danielepanozzo/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T16:18:20Z","updated_at":"2018-11-10T16:18:20Z","author_association":"OWNER","body":"If you want to specify different colors for the different objects yes, you should send an additional color attribute for each vertex. The *shading* of every fragment (which depends on the transformed normals and positions) should be computed in the fragments shader."}}
{"actor":{"display_login":"danielepanozzo"}}