NCCA / ase-assignment-Yuqian-He

ase-assignment-Yuqian-He created by GitHub Classroom: Position Based Dynamic
3 stars 0 forks source link

Feedback #1

Open jmacey opened 1 year ago

jmacey commented 1 year ago

PDB is a good topic to choose, I would suggest starting with a structure similar to the particle system we wrote in the lab and start to add the PDB rules.

To start with concentrate on getting the basics working then add more complex processing.

jmacey commented 1 year ago

A good start to the initial design and the overall process, need to start designing your classes and tests.

You need to decide on an overall structure for the system as we did with the particle systems in class. It may be worth just starting with an Array of Structures architecture for ease as we are not going to be doing massive sims to start with.

As we demonstrated it is fairly easy to convert later if needed.

Again you can have an emitter / particle class setup then add the extra PDB rules.

Yuqian-He commented 1 year ago

Hello Jon! I got a weird error when I write my "ParticleTest". When I try to run this, it gave me an error: segmentation fault and I just call the "particleGenerator" class in my test. But everything goes well when I run my main project "PBD", with no build error, and can give me the correct result. Did I use the wrong way the call the class? Thank you very much!

Yuqian-He commented 1 year ago

Hello Jon! I got a weird error when I write my "ParticleTest". When I try to run this, it gave me an error: segmentation fault and I just call the "particleGenerator" class in my test. But everything goes well when I run my main project "PBD", with no build error, and can give me the correct result. Did I use the wrong way the call the class? Thank you very much!

I fixed it! Thanks Jon! :+1: