alecjacobson / computer-graphics-mass-spring-systems

Computer Graphics Assignment – Mass Spring Systems
49 stars 20 forks source link

How long should it takes for run the "./masssprings_dense ../data/flag.json"? #16

Closed VivianZ99 closed 4 years ago

VivianZ99 commented 4 years ago

I successfully produced the correct results for single spring, horizontal chain and net.

However, when I tried to run "./masssprings_dense ../data/flag.json", it took more than 5 minutes but still didn't pop up the OpenGL window, does it mean I implement the dense code wrong?

abhimadan commented 4 years ago

If you're not running it in release mode, then it's possible for it to take that long. The three simple examples all have less than 100 vertices, so they run reasonably even in debug mode.