Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new questions to my particle system #3

Open
JakeHo0310 opened this issue Apr 13, 2024 · 1 comment
Open

new questions to my particle system #3

JakeHo0310 opened this issue Apr 13, 2024 · 1 comment

Comments

@JakeHo0310
Copy link
Collaborator

JakeHo0310 commented Apr 13, 2024

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
Copy link

jmacey commented Apr 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants