Jump to content

Real-Time Body Physics (DirectX 11)


Recommended Posts

Posted (edited)

Here are my settings. The trick is that each breast is tuned to specific movements. If you do not make separate settings for each breast, then some of the movements are lost.

Settings.ini

Edited by alexlll
Posted

The "Erza" hair available here breaks when it is worn under a hat (and only when under a hat as far as I can tell)

 

[INFO 93:21.503] Sim outfit changed: e8d0cfb01276c03
[INFO 93:21.521] Sim outfit changed: e8d0cfb01276c03
[INFO 93:22.205] New sim buffer detected. Vertex count: 13575
[INFO 93:22.218] New sim buffer detected. Vertex count: 369
[INFO 93:22.218] New sim buffer detected. Vertex count: 4735
[INFO 93:22.220] Determined breast constants: Adult Female Heavy Breasts
[DBUG 93:22.221] Breast centers of mass: {0.00703589,0.0316395,1.5309} {0.00703589,0.0316395,1.5309}
[DBUG 93:22.221] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[DBUG 93:22.221] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[INFO 93:22.221] Successfully created breasts simulator
[INFO 93:22.224] New sim buffer detected. Vertex count: 11636
[INFO 93:22.227] Determined breast constants: Adult Female Heavy Breasts
[DBUG 93:22.228] Breast centers of mass: {-0.0619182,-0.0856325,1.36308} {0.0588415,-0.0874497,1.35643}
[DBUG 93:22.228] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[DBUG 93:22.228] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[INFO 93:22.228] Successfully created breasts simulator
[INFO 93:22.233] ButtSimulator: Female butt detected, variant "Default Adult Female"
[DBUG 93:22.251] 4056/11636 vertices detected as boundary vertices
[INFO 93:22.252] Boundary vertex indexes calculated Elapsed time: 0.019
[INFO 93:22.253] Bone split successfully. Matching vertices modified: 401, vertices left unmodified: 9
[INFO 93:22.254] Bone split successfully. Matching vertices modified: 421, vertices left unmodified: 12
[DBUG 93:22.255] Butt centers of mass: {-0.0939333,0.0856976,1.04573} {0.0910911,0.0854608,1.04356}
[DBUG 93:22.255] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[DBUG 93:22.255] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[INFO 93:22.255] Successfully created butt simulator
[INFO 93:22.257] New sim buffer detected. Vertex count: 3334
[INFO 93:22.263] New sim buffer detected. Vertex count: 216
[INFO 93:22.263] New sim buffer detected. Vertex count: 256

 

Posted
20 hours ago, Oldcustard said:

The "Erza" hair available here breaks when it is worn under a hat (and only when under a hat as far as I can tell)

 

[INFO 93:21.503] Sim outfit changed: e8d0cfb01276c03
[INFO 93:21.521] Sim outfit changed: e8d0cfb01276c03
[INFO 93:22.205] New sim buffer detected. Vertex count: 13575
[INFO 93:22.218] New sim buffer detected. Vertex count: 369
[INFO 93:22.218] New sim buffer detected. Vertex count: 4735
[INFO 93:22.220] Determined breast constants: Adult Female Heavy Breasts
[DBUG 93:22.221] Breast centers of mass: {0.00703589,0.0316395,1.5309} {0.00703589,0.0316395,1.5309}
[DBUG 93:22.221] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[DBUG 93:22.221] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[INFO 93:22.221] Successfully created breasts simulator
[INFO 93:22.224] New sim buffer detected. Vertex count: 11636
[INFO 93:22.227] Determined breast constants: Adult Female Heavy Breasts
[DBUG 93:22.228] Breast centers of mass: {-0.0619182,-0.0856325,1.36308} {0.0588415,-0.0874497,1.35643}
[DBUG 93:22.228] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[DBUG 93:22.228] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[INFO 93:22.228] Successfully created breasts simulator
[INFO 93:22.233] ButtSimulator: Female butt detected, variant "Default Adult Female"
[DBUG 93:22.251] 4056/11636 vertices detected as boundary vertices
[INFO 93:22.252] Boundary vertex indexes calculated Elapsed time: 0.019
[INFO 93:22.253] Bone split successfully. Matching vertices modified: 401, vertices left unmodified: 9
[INFO 93:22.254] Bone split successfully. Matching vertices modified: 421, vertices left unmodified: 12
[DBUG 93:22.255] Butt centers of mass: {-0.0939333,0.0856976,1.04573} {0.0910911,0.0854608,1.04356}
[DBUG 93:22.255] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[DBUG 93:22.255] Spring mn/mx: {-0.1,-0.1,-0.1} {0.1,0.1,0.1}
[INFO 93:22.255] Successfully created butt simulator
[INFO 93:22.257] New sim buffer detected. Vertex count: 3334
[INFO 93:22.263] New sim buffer detected. Vertex count: 216
[INFO 93:22.263] New sim buffer detected. Vertex count: 256

 

 

You mean with the ponytail disappearing? I don't think that's in any way related to RTBP. I tested these meshes with RTBP installed and uninstalled, and the ponytail vanished both times when a hat was applied.

 

From what I've seen, hair meshes are usually broken up into pieces and when a hat is on, the top piece isn't rendered. The ponytail must be part of the top portion of the mesh.

Posted
55 minutes ago, CPVC said:

 

You mean with the ponytail disappearing? I don't think that's in any way related to RTBP. I tested these meshes with RTBP installed and uninstalled, and the ponytail vanished both times when a hat was applied.

 

From what I've seen, hair meshes are usually broken up into pieces and when a hat is on, the top piece isn't rendered. The ponytail must be part of the top portion of the mesh.

No, it's the version without the ponytail. It is definitely RTBP. The hat sort of breaks into two halves, with the top half dropping and wobbling around like it has physics applied

mimi.png

Posted
4 hours ago, Oldcustard said:

Нет, это вариант без хвоста. Это определенно RTBP. Шляпа как бы распадается на две половины, при этом верхняя половина падает и раскачивается, как будто к ней применима физика.

mimi.png

This character began to look like santa claus. Ho-ho-ho!

Posted

This is the most impressive Sims 4 mod I've ever come across, and I really mean that. I've seen some other "physics" mods, but they just modified existing animations. The fact that this mod actually implements real time dynamic physics, with tweakable settings, is absolutely insane, and incredibly impressive. I can't even begin to imagine how much work must've went into making it.

 

Have you thought about adding hair physics to this mod (or a separate, similar mod) as well, or is that too far out of the scope?

Posted

Some clothes have different effect on your mod and it doesn't matter if they are Maxis or Custom.

Sometimes there's jiggle on the whole upper body or there's no jiggle at all

 

 

 

Posted
On 11/28/2021 at 8:04 PM, Oldcustard said:

No, it's the version without the ponytail. It is definitely RTBP. The hat sort of breaks into two halves, with the top half dropping and wobbling around like it has physics applied

mimi.png

 

Now that's interesting! I wasn't able to reproduce the error, but I'll do some more testing. It could have something to do with the accessories.

 

On 11/29/2021 at 2:44 PM, R3ACT3M said:

Game crashes after a second or two when loading into game (this mod only)

Here's the log:   Log.txt

 

Thanks for the log file. Luckily, it includes the back trace. This should make it easier for me to figure out what happened. Thanks for your bug report, and sorry it's not working for you. Hopefully I'll have it fixed in the next version.

 

20 hours ago, HoodieGuy87 said:

This is the most impressive Sims 4 mod I've ever come across, and I really mean that. I've seen some other "physics" mods, but they just modified existing animations. The fact that this mod actually implements real time dynamic physics, with tweakable settings, is absolutely insane, and incredibly impressive. I can't even begin to imagine how much work must've went into making it.

 

Have you thought about adding hair physics to this mod (or a separate, similar mod) as well, or is that too far out of the scope?

 

Maybe someday. I'm not certain how I would go about simulating the physics of hair, but I could certainly modify the hair meshes at runtime and add bones to them. Softbody physics is a possibility as well, but it would be extremely computationally expensive.

 

14 hours ago, RmX93 said:

Some clothes have different effect on your mod and it doesn't matter if they are Maxis or Custom.

Sometimes there's jiggle on the whole upper body or there's no jiggle at all

 

 

 

 

This is a known issue. Sometimes RTBP selects the wrong bones for simulating. Hopefully I'll have it fixed in the next preview release.

Posted (edited)
4 hours ago, CPVC said:

Maybe someday. I'm not certain how I would go about simulating the physics of hair, but I could certainly modify the hair meshes at runtime and add bones to them. Softbody physics is a possibility as well, but it would be extremely computationally expensive.

It's cool that you're even considering it. Imo, adding bones would be the way to go, just for the sake of performance. Can't go wrong with either one though.

Edited by HoodieGuy87
Posted

after installing, when i try to run the game i receive dialog box that d3d9_43.dll was not found and the game wont start. When i delete custom d3d9 file the game works but without this mod... how can I fix that?

Posted
21 hours ago, hunter357 said:

after installing, when i try to run the game i receive dialog box that d3d9_43.dll was not found and the game wont start. When i delete custom d3d9 file the game works but without this mod... how can I fix that?

 

Hmmm, that's a new one... Was a log file created? If so, could you post it for me? Thanks. In the mean time, downloading the latest version of DirectX and installing it might fix this problem.

 

1 hour ago, kitrellb2 said:

I can't seem to get this to work with Reshade. The d3d9.dll file gets overwrites when trying to have both files in at once

 

You'll need to rename the ReShade "d3d9.dll" file to "reshade.dll". RTBP will attempt to load that DLL before loading the system DLL. The next version of the RTBP Installer will automatically detect when ReShade is installed and make the appropriate changes for you.

Posted
On 12/6/2021 at 6:35 AM, alexlll said:

Hi! How is your work on the mod progressing? Tell me what changes or improvements you are planning?

 

I haven't been able to work on RTBP as much as I'd like to, due to my job, but with Winter coming, things should slow down very soon and I'll have much more free time.

 

I'm working on a method of detecting the breasts without having to manually examine each custom mesh and determine the constants.

 

I mentioned creating bones via 3D weight maps earlier, but I'm not sure that's going to work, due to the fact the custom meshes tend to be so different from the default ones. I've been experimenting with 2D weight maps, based on texture coordinates, and have had some success.

 

I've been experimenting a lot with angular physics. I.e., physics involving the rotation of bones, and not just the translation. This feature may be a part of the next preview release.

 

I'm also trying to streamline the RTBP installation process as much as I can. The vast majority of private messages I get are from people asking for help installing RTBP. I'd like to make this process as painless as possible. I'm thinking a single EXE file that starts an installation wizard and does all the dirty work automatically.

Posted
On 11/9/2021 at 9:17 PM, CPVC said:

 

Install ReShade first. If it complains about an existing "d3d9.dll", delete it, then restart the installer. After the ReShade installer completes successfully, rename the ReShade DLL from "d3d9.dll" to "reshade.dll".

 

Once you have done that, reinstall RTBP. When the game is started, RTBP will detect the "reshade.dll" file and use that instead of the system Direct 3D 9 DLL, effectively allowing RTBP to work with ReShade.

 

The next version of the RTBP Installer will automatically detect ReShade when it is installed, and make these changes for you.

 

Sorry this is such a pain. The problem is ReShade and RTBP work in very similar ways, and I haven't found a better way of integrating RTBP with ReShade.

 

 

Have you tried reinstalling RTBP after the update? The update could have removed all RTBP related files.

This worked great and not too complicated if you're already understanding how one is installed. Thanks so much!

Posted

i need help in downloading this.. its rather confusing and none of the info below is helping. I really want to download this but one I don't want my sims to crash and two I couldn't find the read.html file instructions to download could you help me 

Posted
On 12/10/2021 at 2:36 PM, tokenblackgames said:

I'm really enjoying this Mod but there is one thing that is a little off LOL..... My sim Now has an elongated finger

12-10-21_4-35-41 PM.png

 

That's a known problem. Sometimes RTBP mistakes one part of a sim for another. I'm working on it. Sorry for the inconvenience. Hope it isn't too distracting for you.

 

On 12/10/2021 at 8:30 PM, Whitedragon217 said:

Where do we install rtbp commander for it to connect. I keep getting the "Retry in 10 seconds". 

 

RTBP Commander can be run from anywhere, but the Sims 4 needs to be running at the same time. I suggest you start the Sims first, then start up RTBP Commander.

 

16 hours ago, pblazin said:

My Windows Defender app won't run the installer. I'm not very computer savvy. How do I get around this?

 

 

I'm not really sure honestly. I don't know that much about later versions of Windows. I develop RTBP completely in Linux. Maybe try running it as an administrator? Perhaps someone that has successfully installed RTBP via the installer could chime in and explain how you did it?

 

1 hour ago, BOOGATROUSSE said:

i need help in downloading this.. its rather confusing and none of the info below is helping. I really want to download this but one I don't want my sims to crash and two I couldn't find the read.html file instructions to download could you help me 

 

The "README.html" file should be in the ZIP file. You'll need to extract it first. The RTBP Installer can walk you through the installation setup. You can find it here: RTBP Installer

Posted

Is it possible using RTBP to implement the time dilation function? For example.  Sims have sex, pressed the button and their movements slow down 2 times.

Posted
On 12/13/2021 at 2:36 AM, alexlll said:

Is it possible using RTBP to implement the time dilation function? For example.  Sims have sex, pressed the button and their movements slow down 2 times.

 

Hmmm... I'm not going to say "no", because I can think of a couple ways that I could possibly do that, via this method, but that's kinda out of the scope of what I'm trying to do here.

 

It might be possible through script mods. I'm not really familiar with the Sims 4 Python API, though. You might try reaching out to another modder, one that knows more about script mods than I do.

Posted

This could become a separate mod. I think it is a very useful function for sexy animations.

P.S. My business is to offer your business to refuse :-)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...