Recent content by cvex

  1. cvex

    Undergrad How to calculate velocities/forces from sphere collisions?

    Thanks the first link doesn't work but I want a billiard kind of interactions between the balls.
  2. cvex

    Undergrad How to calculate velocities/forces from sphere collisions?

    I am just tracking the centers and know their radii. I made more progress though. I just need to perform moving sphere sphere collision like this: "Moving Sphere/Sphere: (location) Add the radius of the moving sphere to the static sphere, and treat the moving sphere as a ray. Use this ray to...
  3. cvex

    Undergrad How to calculate velocities/forces from sphere collisions?

    Thanks a lot. Since these are all particles, I don't have the point of contact, just that some point with a radius A is within my radius of B and so I should react. I need to find a way to find this point of contact given the 2 centers of the spheres and radii. Can that be done mathematically?
  4. cvex

    Undergrad How to calculate velocities/forces from sphere collisions?

    Thanks I can. This is inside a 3d app. So what you do is add nodes to modify the behaviour of particles. They generally modify force and the particle solver integrates it onto velocity. So if I can calculate what kind of force is produced from the collisions, I can easily do it. I just don't...
  5. cvex

    Undergrad How to calculate velocities/forces from sphere collisions?

    Hi, Basically I have a point cloud that represents balls with different radii. They are all moving based on forces and sometimes they are intersecting with each other. Imagine the yellow ball is going in one direction while the blue balls goes in another direction. At one time they are...
  6. cvex

    Graduate How to get the laplacian of a scalar field?

    Thanks wolfman, I think that works. I tried it before I think but didn't divide the result by 6 :( Now it seems to work at least. Thanks a lot :)
  7. cvex

    Graduate How to get the laplacian of a scalar field?

    Thanks a lot for replying. It's tied to the number of surrounding cells. So for 2d, it's 8 and for 3d it's 26 just like you said. Also the positive and negative weights have to cancel out, which is why in 2d the original cell has a weight of -1 and the surrounding cells have a total weight of...
  8. cvex

    Graduate How to get the laplacian of a scalar field?

    Hi, I am trying to calculate the laplacian of a scalar field but I might actually need something else. So basically I am applying reaction diffusion on a 2d image. I am reading the neighbours, multiplying them with these weights and then add them. This works great. I don't know if what I am...