Advertisement

Object rotation

Started by November 28, 2020 12:40 AM
21 comments, last by JoeJ 4 years, 2 months ago

You should post an image or video of your simulation. That kind of stuff is fascinating.

taby said:
You should post an image or video of your simulation.

Now you are surely impressed to death, haha :D (I have just started.)
I plan to use this to generate content offline, but here is an interesting project about realtime fluid for a game:

His CPU must be beefy. The demo runs at 15 fps for me - but hey, it works. Fluids are coming…

Btw, i have now replaced the integer vectors from glm with plain old int x[3] arrays. I used them to index the grid, and math was mostly done hardcoded per component anyways, so i did not expect any change in performance. But it was shocked again - another speed up of 3! Profiler showed me heavy usage of glm constructors, but nut sure what's the problem exactly. 

But it is what it is: I got a speedup of >10 from replacing glm.

This topic is closed to new replies.

Advertisement