{"action":"created","issue":{"url":"https://api.github.com/repos/kmkolasinski/AwesomeBump/issues/71","labels_url":"https://api.github.com/repos/kmkolasinski/AwesomeBump/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/kmkolasinski/AwesomeBump/issues/71/comments","events_url":"https://api.github.com/repos/kmkolasinski/AwesomeBump/issues/71/events","html_url":"https://github.com/kmkolasinski/AwesomeBump/issues/71","id":126297514,"number":71,"title":"QtnProperty in AwesomeBump.","user":{"login":"kmkolasinski","id":10145864,"avatar_url":"https://avatars.githubusercontent.com/u/10145864?v=3","gravatar_id":"","url":"https://api.github.com/users/kmkolasinski","html_url":"https://github.com/kmkolasinski","followers_url":"https://api.github.com/users/kmkolasinski/followers","following_url":"https://api.github.com/users/kmkolasinski/following{/other_user}","gists_url":"https://api.github.com/users/kmkolasinski/gists{/gist_id}","starred_url":"https://api.github.com/users/kmkolasinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmkolasinski/subscriptions","organizations_url":"https://api.github.com/users/kmkolasinski/orgs","repos_url":"https://api.github.com/users/kmkolasinski/repos","events_url":"https://api.github.com/users/kmkolasinski/events{/privacy}","received_events_url":"https://api.github.com/users/kmkolasinski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kmkolasinski/AwesomeBump/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ppiecuch","id":1011685,"avatar_url":"https://avatars.githubusercontent.com/u/1011685?v=3","gravatar_id":"","url":"https://api.github.com/users/ppiecuch","html_url":"https://github.com/ppiecuch","followers_url":"https://api.github.com/users/ppiecuch/followers","following_url":"https://api.github.com/users/ppiecuch/following{/other_user}","gists_url":"https://api.github.com/users/ppiecuch/gists{/gist_id}","starred_url":"https://api.github.com/users/ppiecuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppiecuch/subscriptions","organizations_url":"https://api.github.com/users/ppiecuch/orgs","repos_url":"https://api.github.com/users/ppiecuch/repos","events_url":"https://api.github.com/users/ppiecuch/events{/privacy}","received_events_url":"https://api.github.com/users/ppiecuch/received_events","type":"User","site_admin":false},"milestone":null,"comments":54,"created_at":"2016-01-12T22:52:45Z","updated_at":"2016-01-19T08:29:35Z","closed_at":null,"body":"This issue may interesting for you guy's: @ppiecuch , @CapsAdmin , @Hevedy , @DaOnlyOwner  \r\n\r\nAfter short conversation with @ppiecuch  we decided to include the [QtnProperty](https://github.com/lexxmark/QtnProperty/) library to AB. However I've have tuned manually some features in that library, which I include in the Source code in the Sources/utils folder. \r\n\r\nWe are going to replace manually created sliders and checkboxes by QtnProperties classes such that the GUI should became more flexible for further modifications. The current version of Source does not do the job correctly only the hue parameter works, for now, but I will slowly try to replace all the scrollbars there. Note, that in my opinion it will be better if certain tool remain unchanged, for example the BasemapToOthers tool will be much easier to control with the form it is now. I would like to ask @orthographic-pedant  at the end of migration process to check all the grammar mistakes ;) since now almost all the GUI controls can be found here: [Sources/properties](https://github.com/kmkolasinski/AwesomeBump/tree/master/Sources/properties).\r\n\r\nSteps:\r\n * Clone AB repository with --recursive option, this will clone additional QtnProperty submodule:\r\n```\r\n git clone --recursive https://github.com/kmkolasinski/AwesomeBump.git\r\n```\r\n * In order to run AB QtnProperty project <b>must be compiled first</b>. It will produce libraries which are used by AB project during compilation. Probably you will have to setup properly the path to libraries in order to make it work with AB. I managed to build AB on Ubuntu and Win7 using just the QtCreator, but It would be nice to have cmake prepared. @CodePhase  could you try to make cmake script for current configuration? However QtnProperty requires two additional libraries\r\n```\r\nFlex 2.5.37 and Bison 2.7, \r\n``` \r\n  ( Flex 2.5.37 and Bison 2.7 for Windows can be found [here](http://sourceforge.net/projects/winflexbison/))\r\n\r\n* Having QtnCompiled you must point in AB project where are the compiled libraries for linker. Then you can compile AB. \r\n* Maybe you have some better idea how it could be automatize ???\r\n\r\n* That is how AB are going to look like: only hue is working for now.\r\n\r\n![Image](https://github.com/kmkolasinski/AwesomeBump/blob/master/Wiki/Tests/guiProp.png) \r\n\r\n* I've added possibility to customize 3D rendering output with different post-processing parameters:\r\n![Image](https://github.com/kmkolasinski/AwesomeBump/blob/master/Wiki/Tests/gui3d.jpg) \r\n* In the bottom there is a tool which allows you to use your own shader\r\n![Image](https://github.com/kmkolasinski/AwesomeBump/blob/master/Wiki/Tests/gui3db.jpg)\r\n* This shader has to be located in Core/Render folder and has to follow proper rules which are explained in the Template.frag file.  It is recommended to copy this file and follow the rules inside. The AwesomeBump.frag file contains AB PBR engine. \r\n![Image](https://github.com/kmkolasinski/AwesomeBump/blob/master/Wiki/Tests/gui3dc.jpg)\r\n\r\n* Inside you can declare up to 20, specially formatted, float/int uniforms which will be then parsed and generated in the \"Rendering settings\" widget: \r\n![Image](https://github.com/kmkolasinski/AwesomeBump/blob/master/Wiki/Tests/gui3dd.jpg)\r\nIn the bottom you can see that there is a refresh button which allows you for run-time compilation of the fragment shader. \r\n\r\n* You may try to write your own frag shader, so that we will be able to create a library of shaders for other users :) "},"comment":{"url":"https://api.github.com/repos/kmkolasinski/AwesomeBump/issues/comments/172774473","html_url":"https://github.com/kmkolasinski/AwesomeBump/issues/71#issuecomment-172774473","issue_url":"https://api.github.com/repos/kmkolasinski/AwesomeBump/issues/71","id":172774473,"user":{"login":"lexxmark","id":6108224,"avatar_url":"https://avatars.githubusercontent.com/u/6108224?v=3","gravatar_id":"","url":"https://api.github.com/users/lexxmark","html_url":"https://github.com/lexxmark","followers_url":"https://api.github.com/users/lexxmark/followers","following_url":"https://api.github.com/users/lexxmark/following{/other_user}","gists_url":"https://api.github.com/users/lexxmark/gists{/gist_id}","starred_url":"https://api.github.com/users/lexxmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexxmark/subscriptions","organizations_url":"https://api.github.com/users/lexxmark/orgs","repos_url":"https://api.github.com/users/lexxmark/repos","events_url":"https://api.github.com/users/lexxmark/events{/privacy}","received_events_url":"https://api.github.com/users/lexxmark/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T08:29:35Z","updated_at":"2016-01-19T08:29:35Z","body":"@kmkolasinski\r\nI'm working on hot editing now. First draft is ready. See my comments [here](https://github.com/lexxmark/QtnProperty/issues/5)"}}