NCCA / cfgaa24programingassignment-JakeHo0310

cfgaa24programingassignment-JakeHo0310 created by GitHub Classroom
0 stars 1 forks source link

new questions to my particle system #3

Open JakeHo0310 opened 4 months ago

JakeHo0310 commented 4 months ago

NEW Questions I am not sure about:

My code right now generates particles that fall from the celling. However, the spheres appear to be extremely tiny in houdini and it is very laggy as well, im not sure why. is there something wrong with my emitter and update function? since I called createDefaultParticle twice with different parameters.

https://github.com/NCCA/cfgaa24programingassignment-JakeHo0310.git

jmacey commented 4 months ago

There are a number of reasons why this could be, visualising in Houdini is only a simple thing for when we do our first examples, we will be looking at doing it in OpenGL soon as well. The main things is we are outputting data per frame but not updating with a frame rate hence the issues.

You don't need to call createDefault twice as once should be enough, also you don't need to pass in the x,y position to the function when the function can do that internally.