Jump to content

Real-Time Breast Physics for The Sims 4


Recommended Posts

Posted

things like this is why i love game modding. it's just exciting when a talented modder breaks boundaries and it's so fun to follow the progress. Just out of interest, is the physics simulating done with code you injected via .dll or can you technically use havok/euphoria or similar engines for that, kinda like what HDT did with skyrim?

Posted
9 hours ago, Doomdriven said:

things like this is why i love game modding. it's just exciting when a talented modder breaks boundaries and it's so fun to follow the progress. Just out of interest, is the physics simulating done with code you injected via .dll or can you technically use havok/euphoria or similar engines for that, kinda like what HDT did with skyrim?

Same. Scientific curiosity! ;)

 

Posted
11 hours ago, Doomdriven said:

things like this is why i love game modding. it's just exciting when a talented modder breaks boundaries and it's so fun to follow the progress. Just out of interest, is the physics simulating done with code you injected via .dll or can you technically use havok/euphoria or similar engines for that, kinda like what HDT did with skyrim?

 

The physics simulation is done with code I wrote, but I could use a library if I wanted. Doesn't really seem necessary, though. This is the bulk of the physics simulator code:

 

float3 diff    = (translation-target);
float len    = length(diff);

 

if (len>maxLength)
{
    diff        = ((diff/len)*maxLength);
    translation    = (target+diff);
}

 

float3 force    = (GRAVITY_VECTOR*mass - diff*springK - velocity*damping);
float3 accel    = (force/mass);

 

velocity        += (accel*(float)deltaTime);
translation        += (velocity*(float)deltaTime*BREAST_INFLUENCE_MULTIPLIER);

 

return translation;

Posted

Thank you for your patience, friends. I'm still working on this just about every day after work, however progress is slow due to the nature of this sort of thing. It requires a lot of experimenting. I'm basically reverse engineering Maxis's game engine.

 

Anyway, the next release will include these features:

 

* Improved breast vertex selection, not based on texture coordinates. Hopefully no more man boobs or bouncy fingers.
* A settings file that allows you to customize the parameters of each breast and butt cheek independently.
* Butt physics!
* Compatibility with other DirectX 9 hooks like Reshader.

 

As always, feel free to ask me any questions about this, especially the source code. I'd love for my work to lead to more mods similar to this.

 

1874604610_Wellthatdidntwork.png.849239da642af8773f43ab35dd404382.png

 

"Well, that didn't work..."

Posted

I'm both shocked and happy to hear the news.. But p h e w did that screenshot give me a jump.. Model/geometry tearing legit visually fucks me up some reason.. ?

 

EDIT: This might be thinking too far ahead, or too much in general but, someone mentioned physics for genitalia (i.e HDT for Skyrim, etc along those lines), could hair be possible too?

Posted

hope you make collision parameters, bc if i make my sims thicc then during intercourse my sims hands goes inside the mesh!!

 

i hope i made sense?

 

great work

 

eg. supposed to be holding her left breast

08-24-20_3-32-55 PM.png

Posted

If you really can add bones you may also be able to detect bones which would make things more easy. I wonder whether HD textures (2048x4096) are supported or lead to even worse results.

Posted
3 hours ago, Oops19 said:

If you really can add bones you may also be able to detect bones which would make things more easy. I wonder whether HD textures (2048x4096) are supported or lead to even worse results.

he said on his last comment here that he is trying out a different way that isn't tied to textures as far as i understand. (not sure but "texture coordinates" sounds like it might clash with different resolution skins)

 

18 hours ago, GarbageNameHere said:

EDIT: This might be thinking too far ahead, or too much in general but, someone mentioned physics for genitalia (i.e HDT for Skyrim, etc along those lines), could hair be possible too?

To quote the OP from a comment on the previous page "And yes, this could lead to dynamic hair and clothing. Basically anything about the mesh can be changed on the fly.".

Posted
1 hour ago, Doomdriven said:

he said on his last comment here that he is trying out a different way that isn't tied to textures as far as i understand. (not sure but "texture coordinates" sounds like it might clash with different resolution skins)

 

To quote the OP from a comment on the previous page "And yes, this could lead to dynamic hair and clothing. Basically anything about the mesh can be changed on the fly.".

I must've overlooked that, but either way, this bodes well for the future of animated physics in Sims 4 content. ?

Posted

 

12 hours ago, GrimCreeper1647 said:

hope you make collision parameters, bc if i make my sims thicc then during intercourse my sims hands goes inside the mesh!!

 

i hope i made sense?

 

great work

 

eg. supposed to be holding her left breast

It is possible, but that's something for way, way later. I'm just getting the basics down now.

7 hours ago, Oops19 said:

If you really can add bones you may also be able to detect bones which would make things more easy. I wonder whether HD textures (2048x4096) are supported or lead to even worse results.

The texture coordinate approach should work for any size textures, since they are in texture space (normalized to between 0 and 1). It doesn't really matter, though, because I plan on moving away from that approach.

Posted
17 minutes ago, GrimCreeper1647 said:

I can't wait to see see everything come together!!

 

Really excited!

 

Hope you don't abandon this mod, this can change Sims 4 forever

I agree, keep up the good work.

Posted
5 hours ago, GrimCreeper1647 said:

can we expect a release soon?

 

im following the progress very closely

 

You can't rush perfection! I'd prefer a quality release than a rush job.

Posted
38 minutes ago, ColonolNutty said:

You can't rush perfection! I'd prefer a quality release than a rush job.

i agree. im just itching for this!!! atm im using bouncy boobies by tonicmole, its shit in comparison

Posted
4 hours ago, GrimCreeper1647 said:

i agree. im just itching for this!!! atm im using bouncy boobies by tonicmole, its shit in comparison

Myself and a few others would agree???

Posted

Soon my friends, soon... Last night I made a significant discovery. One that will end my reliance on using texture coordinates to find vertices. This method will be much, much more reliable than before. All I need to do now is polish up the automatic butt weight painting and clean up the source code, then the next release will be ready.

 

Remember, though, that this is an experimental mod and that I'm making only incremental improvements. Things will get better, but it will take time for them to be perfected.

Posted
4 hours ago, CPVC said:

Soon my friends, soon... Last night I made a significant discovery. One that will end my reliance on using texture coordinates to find vertices. This method will be much, much more reliable than before. All I need to do now is polish up the automatic butt weight painting and clean up the source code, then the next release will be ready.

 

Remember, though, that this is an experimental mod and that I'm making only incremental improvements. Things will get better, but it will take time for them to be perfected.

 

we will watch your career with great interest : MemeTemplatesOfficial

Posted

heres my problem, i sculpt a perfect body with a perfect ass but as soon as i twerk or any other activity that involves bending my ass that i so lovingly blessed my sim with? morphs into this disgusting alien looking thing, i think the ass attaches itself to the legs

 

i provided some examples, theres also a video

08-27-20_11-21-46 AM.png

08-27-20_11-24-50 AM.png

Posted
5 hours ago, GrimCreeper1647 said:

heres my problem, i sculpt a perfect body with a perfect ass but as soon as i twerk or any other activity that involves bending my ass that i so lovingly blessed my sim with? morphs into this disgusting alien looking thing, i think the ass attaches itself to the legs

 

i provided some examples, theres also a video

I'm not sure what I'm supposed to be looking at, looks like an ass to me.

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...