(CA13-12) Hopefully, the final WIP for the short version (Patreon)
Content
It will be done soon...
2 shots + end screen are left to re-polish and render.
Why is it taking so long? - R&D
Research and Development
As I mentioned in the previous post, I'm currently developing some stuff for future use. Most of them are used in CA13. Here are some of them:
Thigh physics
I've developed a reliable way to quickly add physics to thighs and fix intersections on legs. It's easy to use, relatively fast, and can be used in multiple shots as long as you make a reference physics mesh for legs. Also works for arms and can be used for other body parts if needed.
It utilizes soft-body simulation with detailed input mesh where bones, muscles and skln details contribute to how the mesh will be simulated. Similar thing can be done inside Blender using a cloth simulation, but the results will be somewhat worse and less accurate.
Here you can see it in action:
Left - Before, Right - After
Genitals solver
A prototype of this solver can be seen in the New Year special, where I used it to polish the anus deformations I got from Blender. The version I developed for CA13 is self-sustainable and doesn't need any work outside of Houdini (not like the prototype). One of the main features, besides wrapping the hole around the stick, is that it can be used on models without a genital rig. This is insanely helpful for the models with awful or missing rig on genitals. Currently, it's unfinished and missing a few features, but even in this state, it can be used without any issues (which is what I do in CA13).
It works similarly to a "donut" method of wrapping hole around stick. I'll explain how it works in Blender first and then explain how my approach differs from it. Firstly, you take a donut shaped similarly to a hole it will deform, then rig it using 8 bones placed in circle. Each bone gets a shrinkwrap modifier. This way the bone will be placed on surface of the stick most of the time. Then, you take a character mesh and add Surface Deform modifier and use rigged donut as a deformer, modifier should be limited to hole and area around it. Now you get a nice looking hole wrapping around a stick. But, one of the issues may arise in form of broken looking mesh on the affected area. Usually you fix it by adding corrective smooth, but by doing this, you lose accurate wrap.
My approach utilizes similar, but different approach:
1. You isolate the hole and area around it.
2. Create multiple groups. The main group is for edges that will wrap around the stick, this is the most important group.
3. Isolate main group (by doing it, you delete everything except the chosen group), and resample edges. This way the mesh that will go into solver will be unaffected by resolution of the original character mesh.
4. Perform ray casts for each point using stick normals. Points inside the stick will be pushed out from the stick onto a surface, and points outside the stick will slighlty move closer to the stick surface. This ensures a neat wrap around the stick.
5. Calculate the difference of the how deep the stick in the hole. The result is sent to the solver to handle friction and move the hole forward and backwards.
6. This is unimplemented step. Calculate physics for other groups to deform tunnel inside the hole and lips.
7. In result, you get a relatively dense point cloud which is then used to deform original mesh.
8. After deforming the mesh, smooth outer edges of the isolated mesh. This ensures smooth integration of the deformed hole into original mesh.
Left - Solver result on final render, Right - Test render in Houdini
Wetmaps
I've found a lot better way to produce wetmaps inside Houdini. You may remember in SA3 WIP post I was talking about how I was creating wetmaps before and what issues I've encountered. The new method utilizes a different method of transferring wetness to a surface and textures. It's faster, more reliable, and produces a lot cleaner results.
Instead of relying on million points on surface which should get wet, it uses a volume (VDB, Fog, etc) produced by "wetting" mesh or points from fluid simulation. It checks if pixel on texture is inside the volume, and if it is - paints it white (or gray, depending on how close it's to volume). Produced texture then gets stored and written to the texture from previous frame.
You can see how it looks in the previous GIF.
Fluid strings
This is what I'm currently working on.
This is another solver. It generates strings when stick begins to move back or when two surfaces get really close to each other to generate a string. After it spawns a string, the another solver (subsolver) simulates these strings and handles string breaking.
There is multiple approaches to create these strings, some of them you may seen in my previous works. Why I begun creating this solver when I have another ways to do them? They don't work here.
Test render
This is test render of one string. In actual scene, there will be multiple strings at once. If it looks too simple for you, you are not wrong. It should look simple enough. Despite looking simple, making something like this from scratch is quite difficult.
For now, it's the last solver required to finish CA13.
These aren't all VFX I'm working on, there will be things to show in the future posts.
Good news
The situation I'm in got a lot better. I'm currently recovering from what was happened through last months and getting back to working normally. Now I have a lot more time to work on projects. Sadly, the posts frequency will be low for a while as I'm focused on finishing CA13. I know you are tired seeing the same project for more than 4 months, I'm tired from working on it too. Gladly, after CA13 release, we'll see a surge of new animations (2-3 short animations in progress).
That's all for now, see ya soon in CA13 release post.