Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Tear, Pin, Cut, Fold and Mark
#13
(13-01-2022, 11:04 AM)cycle6 Wrote: Ohhhh!!! so there's no class called Constraint!? Nice, that's all I needed.
I was looking at the codes like particleIndices[index * 2] and I was thinking: that's odd ... ly strange Guiño.
But I never thought that means you're paring em through that way. Now that totally make sense to me.
Thx a lot mate Gran sonrisa


You're welcome Sonrisa. Let me know if you need any help.

(13-01-2022, 11:04 AM)cycle6 Wrote: Ohhhh now I get it!!! That's why in a single batch there's no two adjacent constraints connecting to the same particle!! because you don't want store the same particle more than once in the same batch?!! Dawg, that's pretty smart!!! Gran sonrisa

Exactly! that way all constraints in each batch can be processed in parallel with no need for thread synchronization, because it guarantees two threads cannot modify the same particle simultaneously and step on each other's toes.

If you're curious about it, batches are generated when you create the blueprint using graph coloring.
Reply


Messages In This Thread
Tear, Pin, Cut, Fold and Mark - by Valerize - 06-01-2021, 11:35 AM
RE: Tear, Pin, Cut, Fold and Mark - by josemendez - 06-01-2021, 01:04 PM
RE: Tear, Pin, Cut, Fold and Mark - by Valerize - 07-01-2021, 09:03 PM
RE: Tear, Pin, Cut, Fold and Mark - by Valerize - 16-03-2021, 06:17 PM
RE: Tear, Pin, Cut, Fold and Mark - by josemendez - 17-03-2021, 08:54 AM
RE: Tear, Pin, Cut, Fold and Mark - by Valerize - 18-03-2021, 10:21 AM
RE: Tear, Pin, Cut, Fold and Mark - by josemendez - 18-03-2021, 10:55 AM
RE: Tear, Pin, Cut, Fold and Mark - by cycle6 - 13-01-2022, 01:58 AM
RE: Tear, Pin, Cut, Fold and Mark - by josemendez - 13-01-2022, 09:37 AM
RE: Tear, Pin, Cut, Fold and Mark - by cycle6 - 13-01-2022, 10:31 AM
RE: Tear, Pin, Cut, Fold and Mark - by josemendez - 13-01-2022, 10:50 AM
RE: Tear, Pin, Cut, Fold and Mark - by cycle6 - 13-01-2022, 11:04 AM
RE: Tear, Pin, Cut, Fold and Mark - by josemendez - 13-01-2022, 11:36 AM