Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Might be a dumb question
#7
(04-05-2022, 09:48 AM)josemendez Wrote: Obi stores a particle index for each vertex, since there's always more vertices than particles. This results in efficient storage and efficient mesh updated for either simulation or tearing, since each vertex knows which particle it should pick its position from.

Doing it the other way around is rather inconvenient, since there may be multiple vertices equally distant from a particle. The only way to do that is just iterate trough all particle positions in the blueprint and compare them with the vertex position to find the closest one.

kind regards,

That's reasonable. So for the particle index for each vertex data, will this gets updated at runtime based on changes on constraints/tearing, etc.? If not, I think I can build a data structure based on the particle index for each vertex info at start, and use it later.

Also can you point me to the document for particle index for each vertex please?

Thank you very much!
Reply


Messages In This Thread
Might be a dumb question - by snowtv - 28-04-2022, 08:31 PM
RE: Might be a dumb question - by josemendez - 28-04-2022, 11:02 PM
RE: Might be a dumb question - by snowtv - 29-04-2022, 03:58 PM
RE: Might be a dumb question - by josemendez - 02-05-2022, 08:52 PM
RE: Might be a dumb question - by snowtv - 03-05-2022, 08:24 PM
RE: Might be a dumb question - by josemendez - 04-05-2022, 09:48 AM
RE: Might be a dumb question - by snowtv - 05-05-2022, 07:49 PM
RE: Might be a dumb question - by josemendez - 06-05-2022, 08:01 AM
RE: Might be a dumb question - by snowtv - 11-05-2022, 04:37 PM
RE: Might be a dumb question - by snowtv - 12-05-2022, 09:39 PM
RE: Might be a dumb question - by josemendez - 13-05-2022, 09:05 AM