{"action":"created","issue":{"url":"https://api.github.com/repos/gama-platform/gama/issues/2031","repository_url":"https://api.github.com/repos/gama-platform/gama","labels_url":"https://api.github.com/repos/gama-platform/gama/issues/2031/labels{/name}","comments_url":"https://api.github.com/repos/gama-platform/gama/issues/2031/comments","events_url":"https://api.github.com/repos/gama-platform/gama/issues/2031/events","html_url":"https://github.com/gama-platform/gama/issues/2031","id":184724366,"number":2031,"title":"Shader broken with some model ","user":{"login":"agrignard","id":3928502,"avatar_url":"https://avatars.githubusercontent.com/u/3928502?v=3","gravatar_id":"","url":"https://api.github.com/users/agrignard","html_url":"https://github.com/agrignard","followers_url":"https://api.github.com/users/agrignard/followers","following_url":"https://api.github.com/users/agrignard/following{/other_user}","gists_url":"https://api.github.com/users/agrignard/gists{/gist_id}","starred_url":"https://api.github.com/users/agrignard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrignard/subscriptions","organizations_url":"https://api.github.com/users/agrignard/orgs","repos_url":"https://api.github.com/users/agrignard/repos","events_url":"https://api.github.com/users/agrignard/events{/privacy}","received_events_url":"https://api.github.com/users/agrignard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gama-platform/gama/labels/%3E%20Bug","name":"> Bug","color":"ff0000"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Display%20OpenGL","name":"Display OpenGL","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-23T23:39:05Z","updated_at":"2016-10-24T16:41:56Z","closed_at":null,"body":"### Steps to reproduce\r\n1.Open Tutorials/Road Traffic/models/Model 01.gaml\r\n\r\n2.use_shader:true\r\n\r\n\r\n### Expected behavior\r\nIt should display the model.\r\n\r\n### Actual behavior\r\nThe display is blank\r\n\r\nNote some model work for example Built-In-Shapes.\r\n\r\nIt throws de following error:\r\n\r\nRuntime error java.lang.Integer cannot be cast to msi.gama.util.GamaColor in OpenGL loop\r\njava.lang.ClassCastException: java.lang.Integer cannot be cast to msi.gama.util.GamaColor\r\n\r\natummisco.gama.opengl.vaoGenerator.AbstractTransformer.getColorArray(AbstractTransformer.java:367)\r\nat ummisco.gama.opengl.vaoGenerator.AbstractTransformer.getStandardDrawingEntities(AbstractTransformer.java:560)\r\nat ummisco.gama.opengl.vaoGenerator.GeometryObjectTransformer.getDrawingEntityList(GeometryObjectTransformer.java:536)\r\nat ummisco.gama.opengl.vaoGenerator.AbstractTransformer.getDrawingEntities(AbstractTransformer.java:478)\r\nat ummisco.gama.opengl.vaoGenerator.DrawingEntityGenerator.GenerateDrawingEntities(DrawingEntityGenerator.java:153)\r\nat ummisco.gama.opengl.vaoGenerator.DrawingEntityGenerator.GenerateDrawingEntities(DrawingEntityGenerator.java:35)\r\nat ummisco.gama.opengl.scene.LayerObject.drawWithShader(LayerObject.java:126)\r\nat ummisco.gama.opengl.scene.LayerObject.draw(LayerObject.java:98)\r\nat ummisco.gama.opengl.scene.ModelScene.draw(ModelScene.java:180)\r\nat ummisco.gama.opengl.ModernRenderer.drawScene(ModernRenderer.java:208)\r\nat ummisco.gama.opengl.ModernRenderer.display(ModernRenderer.java:142)\r\nat jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)\r\nat jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)\r\nat com.jogamp.opengl.swt.GLCanvas$2.run(GLCanvas.java:159)\r\nat jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)\r\nat jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)\r\nat com.jogamp.opengl.swt.GLCanvas$3.run(GLCanvas.java:171)\r\nat com.jogamp.opengl.swt.GLCanvas.runInGLThread(GLCanvas.java:959)\r\nat com.jogamp.opengl.swt.GLCanvas.display(GLCanvas.java:658)\r\nat ummisco.gama.opengl.SWTGLAnimator.displayGL(SWTGLAnimator.java:184)\r\nat ummisco.gama.opengl.SWTGLAnimator.run(SWTGLAnimator.java:165)\r\nat java.lang.Thread.run(Thread.java:745)\r\n\r\n### System and version \r\nMAC OS - BUILD VERSION\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gama-platform/gama/issues/comments/255795314","html_url":"https://github.com/gama-platform/gama/issues/2031#issuecomment-255795314","issue_url":"https://api.github.com/repos/gama-platform/gama/issues/2031","id":255795314,"user":{"login":"agrignard","id":3928502,"avatar_url":"https://avatars.githubusercontent.com/u/3928502?v=3","gravatar_id":"","url":"https://api.github.com/users/agrignard","html_url":"https://github.com/agrignard","followers_url":"https://api.github.com/users/agrignard/followers","following_url":"https://api.github.com/users/agrignard/following{/other_user}","gists_url":"https://api.github.com/users/agrignard/gists{/gist_id}","starred_url":"https://api.github.com/users/agrignard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrignard/subscriptions","organizations_url":"https://api.github.com/users/agrignard/orgs","repos_url":"https://api.github.com/users/agrignard/repos","events_url":"https://api.github.com/users/agrignard/events{/privacy}","received_events_url":"https://api.github.com/users/agrignard/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T16:41:56Z","updated_at":"2016-10-24T16:41:56Z","body":"Exactly the same behavior for me and I still have the error showing"}}
{"actor":{"display_login":"agrignard"}}