{"action":"created","issue":{"url":"https://api.github.com/repos/moostrik/ofxFlowTools/issues/24","repository_url":"https://api.github.com/repos/moostrik/ofxFlowTools","labels_url":"https://api.github.com/repos/moostrik/ofxFlowTools/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/moostrik/ofxFlowTools/issues/24/comments","events_url":"https://api.github.com/repos/moostrik/ofxFlowTools/issues/24/events","html_url":"https://github.com/moostrik/ofxFlowTools/issues/24","id":352894834,"node_id":"MDU6SXNzdWUzNTI4OTQ4MzQ=","number":24,"title":"Fluids or Particles not working for Windows","user":{"login":"carlesgutierrez","id":203877,"node_id":"MDQ6VXNlcjIwMzg3Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/203877?v=4","gravatar_id":"","url":"https://api.github.com/users/carlesgutierrez","html_url":"https://github.com/carlesgutierrez","followers_url":"https://api.github.com/users/carlesgutierrez/followers","following_url":"https://api.github.com/users/carlesgutierrez/following{/other_user}","gists_url":"https://api.github.com/users/carlesgutierrez/gists{/gist_id}","starred_url":"https://api.github.com/users/carlesgutierrez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlesgutierrez/subscriptions","organizations_url":"https://api.github.com/users/carlesgutierrez/orgs","repos_url":"https://api.github.com/users/carlesgutierrez/repos","events_url":"https://api.github.com/users/carlesgutierrez/events{/privacy}","received_events_url":"https://api.github.com/users/carlesgutierrez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-22T10:32:53Z","updated_at":"2018-08-30T22:13:11Z","closed_at":null,"author_association":"NONE","body":"Hello @moostrik , \r\n As I commented in the OF [forum](https://forum.openframeworks.cc/t/ofxflowtools-optical-flow-fluid-dynamics-and-particles-in-glsl/15470/54?u=charli_e). at least in in this [commit  ](https://github.com/moostrik/ofxFlowTools/commit/c1df42a8899032d109c23aea4490674bcb073ef9)your addon is not drawing / calculating Fluids or Particles in Windows. Just Optical Flow mode draw is visible.\r\n\r\nTo debug this issue -> because all cacls are done in shaders, and I coudl draw all returned textures. If after opticalFlow ( that is working ok), I should go for velocityBridgeFlow, right? there is any kind of drawScalar mode for velocityBridgeFlow that I can check?\r\n\r\nI'm compiling ok for both, core and extended, examples[ only in release mode.](https://github.com/moostrik/ofxFlowTools/issues/23)\r\nFor the extended example: When the App starts, a small particles is moving once from right to left inside of the ROI area defined. 🏄\r\n\r\nI'm on windows10 64 bits / Nvidia 1060."},"comment":{"url":"https://api.github.com/repos/moostrik/ofxFlowTools/issues/comments/417484263","html_url":"https://github.com/moostrik/ofxFlowTools/issues/24#issuecomment-417484263","issue_url":"https://api.github.com/repos/moostrik/ofxFlowTools/issues/24","id":417484263,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzQ4NDI2Mw==","user":{"login":"moostrik","id":7329479,"node_id":"MDQ6VXNlcjczMjk0Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/7329479?v=4","gravatar_id":"","url":"https://api.github.com/users/moostrik","html_url":"https://github.com/moostrik","followers_url":"https://api.github.com/users/moostrik/followers","following_url":"https://api.github.com/users/moostrik/following{/other_user}","gists_url":"https://api.github.com/users/moostrik/gists{/gist_id}","starred_url":"https://api.github.com/users/moostrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moostrik/subscriptions","organizations_url":"https://api.github.com/users/moostrik/orgs","repos_url":"https://api.github.com/users/moostrik/repos","events_url":"https://api.github.com/users/moostrik/events{/privacy}","received_events_url":"https://api.github.com/users/moostrik/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T22:13:11Z","updated_at":"2018-08-30T22:13:11Z","author_association":"OWNER","body":"I figured out one problem with flowtools on windows. \r\nNormalising a vector with a length of 0 in a shader results in unexpected behaviour.\r\nOn windows it returns nan on mac 0. A quick fix is to add a tiny value to the vector before normalising it.\r\nThis fix is implemented in the `Fluid-Rebuild `branch. Note: This branch is unstable and the fluid still does not work on windows\r\n"}}
{"actor":{"display_login":"moostrik"}}