Adaptive substeps

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Adaptive substeps

Postby staseg » Wed Jan 09, 2019 5:36 am

1. Is there any adaptive substeps? For example. Simulation plays with 1 substep / frame. If there is a high probability of collision (AABB are too close) - calculate 10 substeps is specific part of space, where these objects are placed.

2. Is it possible to calculate higher substeps for certain objects? For example wheel collision with the road calculates with 10 substeps, but collision between cars - 1 substeps.

Thank you ;)
staseg
 
Posts: 4
Joined: Sun Jun 17, 2018 2:01 pm

Re: Adaptive substeps

Postby JernejL » Wed Jan 09, 2019 6:45 am

Newton achieves preventing of tunneling in form of "continous collision" feature:

http://www.newtondynamics.com/wiki/inde ... lisionMode
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Adaptive substeps

Postby Julio Jerez » Wed Jan 09, 2019 12:54 pm

Most simulation go fine running at 60 fps with two sub steps.

The current version disabled continue collision, and other are many reason for that but the main one is that we not long solve island one by one, instead we put them all together and solve for the creation forces. Then island are integrated indevidually for sleeping.

As the hardware become wider and wider (wide simd and more cores) things that are sequential by nature has to give up to more brute force brute force approaches.
This will probably continue when we move more to parallel execution.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Adaptive substeps

Postby JernejL » Thu Jan 10, 2019 12:19 pm

Julio Jerez wrote:Most simulation go fine running at 60 fps with two sub steps.

The current version disabled continue collision, and other are many reason for that but the main one is that we not long solve island one by one, instead we put them all together and solve for the creation forces. Then island are integrated indevidually for sleeping.

As the hardware become wider and wider (wide simd and more cores) things that are sequential by nature has to give up to more brute force brute force approaches.
This will probably continue when we move more to parallel execution.


What does this mean for continous collision? is there a solution to use until this feature is fixed?
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 18 guests

cron