Questions tagged [physics]

The tag has no usage guidance.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers

What is a good algorithm, and framework, to calculate centres of gravity or mass (cog)?

I'd like to take an photograph, subdivide it into a tesselation, either of squares, or (ideally), hexagons, and then find the centre of gravity (or, if you prefer, centre of mass) of each cell of the ...
Peter Brooks's user avatar
2 votes
0 answers

Implementing monte carlo path traced refractions problem

I am writing a forward monte carlo path tracer with the added feature of specular refractions for transparent materials, I have managed to come this far but something is not quite right and I am ...
Marcus's user avatar
  • 21
0 votes
0 answers

Best practice for per-vertex updates for mass-spring simulation?

I am new to graphics and physics simulation. I am trying to perform a mass-spring simulation on CPU on individual vertices inside a mesh, and wondering how to best handle this. If working with a rigid ...
Vendorf's user avatar
0 votes
0 answers

3D Bouncing Cube

I'm trying to write a little program with a bouncing cube but I can't find the right x, y, z and angle for it. I have these lines: ...
NeedSomeHeelp's user avatar