Пропустить навигацию
I finally got graph coloring working properly in the solver with good performance.
0:00 / 0:42

I finally got graph coloring working properly in the solver with good performance.

Dennis Gustafsson

@voxagonlabs85 тыс. подписчиков

Открыть в X
1 582 отметки «Нравится»СкачатьОригинальный пост

79 329 просмотров

I finally got graph coloring working properly in the solver with good performance. Now large piles can be solved on multiple threads in deterministic order. It really helps with stability. Big thanks to Erin Catto pointing me in the right direction!

11 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Mr F

    @guycalledfrank

    @erin_catto Looks amazing! Is there any paper for graph coloring usage in physics solvers? I assume the graph itself connects all colliding bodies with what they collide, so you can process independent collision pairs in parallel?

    21 отметка «Нравится»

  • Фото профиля Dennis Gustafsson

    @voxagonlabs

    @erin_catto Right here is all you need to know! The post is about SIMD, but exactly the same approach can be used (and is used in Box2D) for multithreading.

    51 отметка «Нравится»

  • Фото профиля UserInterface

    @SeketAanru

    Setting Process Goals for Long-Term Success: A Guide to Achieving Better Results #business #success #selfhelp

    2 145 отметок «Нравится»

  • Фото профиля MB82

    @mbur82

    @erin_catto Deterministic multi-threading of PHYSICS?

    6 отметок «Нравится»

  • Фото профиля bartwe

    @bartwerf

    @erin_catto Digging in a bin of legos for that one piece

    6 отметок «Нравится»

  • Фото профиля Nirmal Patel

    @nirmalpatelai

    @erin_catto Wow awesome!! Is this using your own engine? Any recommendations for beginners trying to get into this area?

    5 отметок «Нравится»

  • Фото профиля Dennis Gustafsson

    @voxagonlabs

    @erin_catto Yes, custom engine. I'd recommend the Box2D blog:

    23 отметки «Нравится»

  • Фото профиля Mert Kirimgeri

    @mertkirimgeri

    @erin_catto sweet! is it stateless?

    3 отметки «Нравится»

  • Фото профиля Dennis Gustafsson

    @voxagonlabs

    @erin_catto That depends on how you define it. There is obviously quite a lot of state in each body (velocity, position, etc), but it does not have any pair-wise internal state, as most other physics engines do.

    6 отметок «Нравится»

  • Фото профиля Stefan

    @Stefan10711

    @erin_catto Very cool, just wondering, is this a step forward to real building physics or close to something similar? where one voxel doesn't hold a building. Also, if that came to be, I guess it would very much impact the story missions right?

    3 отметки «Нравится»

  • Фото профиля Dennis Gustafsson

    @voxagonlabs

    @erin_catto That remains to be seen. I think it could be a step in that direction, at least for certain types of buildings. With this it's realistic to make buildings as jointed parts. Not quite the same as brittle fracture though, so more for wood/metal, rather than concrete/brick

    6 отметок «Нравится»