MSAFluid particles render problem

Hello everybody,

I’m quite a new on openframeworks, so maybe this is quite an stupid thing.

I just compiled the MSAFluids example, and when running it, I get this weird thing instead of particles:

[attachment=0:xb4pfaw0]MSAFluids.jpg[/attachment:xb4pfaw0]

It does look like lines / triangles instead of points…

Does somebody know what I’m doing wrong here?

I’m compiling in VS 2010.

Thanks,

Antonio.

I had this happen too. I “fixed” it by changing the following line in ParticleSystem.cpp -

glDrawArrays(GL_TRIANGLE_STRIP, 0, MAX_PARTICLES * 2);

to

glDrawArrays(GL_LINES, 0, MAX_PARTICLES * 2);

A little bit late… but thanks!!!

wow thats strange that that happens! Looks nice though :slight_smile: I"ll look into it.

I also found this some time ago, but I added a shader to control the particles and the results were realy nice.

looks awesome! I did something similar for the depeche mode video a while ago, though rendered GL_LINES (and GL_LINE_STRIP) instead of triangles.