hduregger / crowd Goto Github PK
View Code? Open in Web Editor NEWA crowd simulation using OpenCL™ and based on the continuum approach.
License: Other
A crowd simulation using OpenCL™ and based on the continuum approach.
License: Other
GET MORE INFORMATION AT: https://helmutduregger.wordpress.com/2011/11/21/simulation-of-large-and-dense-crowds-on-the-gpu-using-opencl/ HOW TO BUILD: Builds easily with Eclipse CDT and the Qt plugin. To change between configurations right click on the project in Eclipse's Project Explorer and select C/C++ Make Project > Make Builder > Workbench Build Behavior > Build (Incremental Build) then enter "release" or "debug". You might need to switch back and forth between the tabs in the C/C++ Make Project window in order for the options to correctly render. Else you might just see an empty window. (Also builds with make alone. Maybe needs new qmake run to setup for your system, or something.) HOW TO RUN: The application takes a single argument which is the configuration for the scene. For example run $ ./crowd cfg/hills.cfg Make sure LIBGL_ALWAYS_INDIRECT is NOT set and that you have a direct rendering context, else the application might just fail to start with a segfault or an error message indicating that no shader program could be created. On Ubuntu, if you are running Compiz, gnome-terminals started with keyboard shortcuts are child processes of compiz and inherit the LIBGL_ALWAYS_INDIRECT setting. Run the terminal from the Applications menu instead. HOW TO IDENTIFY KNOWN BUGS: - In rare cases agents might get stuck at walls while moving away from them. I don't know yet what is causing it. Probably only happens at corners. - Sometimes two agents might meet and get stuck at each other without evading. Solving this would require additional local navigation measures like Velocity Obstacles. - Agents move through corner cells at the end of 3 cell wide walls, this is by design and a result of how potentials are computed. - In rare cases the agent count for parked agents might underflow and display large numbers. Might be a driver bug, as I can't see any other reason for it. - Sometimes segfaults in XQueryExtension at exit, probably an X or Qt issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.