{"issue":{"title":"Modify vertex-positions of Plane?","user":{"login":"matthoz","id":1259729,"url":"https://api.github.com/users/matthoz","avatar_url":"https://secure.gravatar.com/avatar/d877e02080b7ab20b232dead2eae0f9c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d877e02080b7ab20b232dead2eae0f9c"},"created_at":"2011-12-27T12:27:25Z","milestone":null,"state":"open","updated_at":"2011-12-27T13:55:53Z","labels":[],"id":2663027,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/mrdoob/three.js/issues/972","body":"Hello, I'm new to Three.js and started playing around with the demos. I've tried to modify the positions of my plane like this:\r\n\r\n```javascript\r\nvar oGeo = new THREE.PlaneGeometry( 1, 1, 1, 1 );\r\n        \r\noGeo.vertices[0].position.z =  -0.5;\r\noGeo.vertices[0].position.y =  0.2;\r\n```\r\n\r\nThat worked for the positioning, but I think my light won't get applied on this plane like it should. There has to be a proper way doing this. Can you help me, please?\r\n\r\nWhat I'm actually trying to do is a tilemap with 16x16 planes. I want to be able to modify the y-position of every plane dynamically.","number":972,"url":"https://api.github.com/repos/mrdoob/three.js/issues/972","comments":2,"assignee":null},"comment":{"user":{"login":"matthoz","id":1259729,"url":"https://api.github.com/users/matthoz","avatar_url":"https://secure.gravatar.com/avatar/d877e02080b7ab20b232dead2eae0f9c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d877e02080b7ab20b232dead2eae0f9c"},"created_at":"2011-12-27T13:55:53Z","updated_at":"2011-12-27T13:55:53Z","id":3281508,"body":"Hi, thanks for your reply. I've just realized, that I didn't modify the geometry after the first scene. It was already modified before the first scene was rendered. I just wanted to post my entire code and saw that this won't work like I wrote in my first posting.\r\n\r\nIs there a way to modify the vertex-positions of my plane and recalculate the normal-positions somehow? I think the buffers have to be set again after doing this.","url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/3281508"},"action":"created"}