SahebSh / flood-pedestrian-simulator

Agent‐based simulator of dynamic flood‐people interactions
GNU General Public License v3.0
4 stars 0 forks source link

The navMap cannnot be rendered when using floodmap rendering #1

Open lj-cug opened 1 week ago

lj-cug commented 1 week ago

Dear Sir, When i render the navMap, Pedestrian and Floodmap in glfw instead of glut, the NavMap cannot be rendered? i don't know why? Yours, Li Jian

SahebSh commented 1 week ago

Dear Li Jian,

Thank you for your interest in trying the flood-pedestrian simulator.

Unfortunately I am not quite sure what the issue might be. However, I know that there are limitations in using FLAME-GPU which uses glut threading functions.

Would you be able to use glut instead?

Could you please let us know if you find a solution to your issue?

Feel free to stay in touch.

Kind regards Saheb

lj-cug commented 1 week ago

These days I read the code, and try to use ImGUI and glfw3 to visualize the flood-pedestrian simulation results. Now I cannot project the rendered window into a glfw window, which means the interactive visualisation cannot be controlled using my mouse. It's like this: run_Flood Another interactive visualisation tool called FIP, which use ImGUI and glfw3. The rendered window can be controlled interactively. It's like this: run_FIP

lj-cug commented 1 week ago

By the way, I found the shaded used in flood-pedestrian simulator is old. I cannot control the window using my own defined model, view, projection. flood-pedestrian simulator used "gl_ModelViewProjectionMatrix" that is not used in new version GLSL. But I'm not familar with Shader language.