Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

I improved the VRChat cloth simulation, now it is actually rendered as a mesh and finally can handle self collision for proper folds. Also I moved the simulation to CRTs so it kinda works for non friends(the simulation is on the avatar!). But the collision still requires cameras.

363,739 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz3 yıl önce

Theoretically I could use the main camera depth for collision, so you don't need to be friended at all, but the collision quality will unfortunately be worse.

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz3 yıl önce

Also fun fact the simulation shader is broken on AMD GPUs hooray💀 Will need to get hands on one to actually fix this

Melodica Dude™ 🎣 profil fotoğrafı
Melodica Dude™ 🎣3 yıl önce

It will never stop being funny to me that all this cool insane shit in VR is in community-driven, smaller, grassroots projects, so you'll be watching a cool-ass VR tech demo and the camera pans over to reveal a furry or anime character 99% of the time lmao

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz3 yıl önce

Its just how it is... But big corporations have their own idea of how things should work, which is completely misaligned with what people usually want

Mr F profil fotoğrafı
Mr F3 yıl önce

OMG. How do you handle self-collision? My only idea was building some expensive tree every frame or voxelizing (but insufficient grid density could make serious problems)

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz3 yıl önce

Since I'm limited to fragment shaders here it's quite a bit of trickery. Each particle stores the ID of the closest, but not neighboring on the cloth particle. It first is randomly initialized. The each frame I once again check a random particle in it's neighborhood [1/?]

WireWhiz profil fotoğrafı
WireWhiz3 yıl önce

Imagine what VRC creators would be able to do if they didn't need to use shader workarounds for everything. It's absolutely mind blowing already.

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz3 yıl önce

On the other hand the limitations force me to come up with rather creative solution...

roflgator profil fotoğrafı
roflgator3 yıl önce

That looks so good

LynTheYeen 🔞NFC profil fotoğrafı
LynTheYeen 🔞NFC3 yıl önce

black magic!

Benzer Videolar

Vibe Coding 3D Garment Software with ThreeJS : A Small Step For Me So, after modeling the human i did what any reasonable vibe coder would do, i asked codex how to get clothes for my models After it was done running subliminal ad campaigns for Marvelous Designer and CLO 3D, i asked it to explain their architecture to me and adapt it to my threejs app. Guess what it did? You damn right, it built the most basic shit interpretation you can think of. And this is the average interaction the Anti-AI coders have until they conclude that AI is slop and/or it can only work if you micro manage it on every line of code. Well, eons of humanities knowledge are now packaged in tiny silicon and transferred across the globe in realtime, available on tap. So anyways i just iterated quite a lot over it, told it repeatedly why it was bad (the initial one used rapier physics and a naive cloth simulation) We found out together that: 1. A ground truth document model is needed 2. The visual mesh in 3D should be triangulated from the 2D shape 3. The physical object is running independently through different solvers: - A fast proxy which is generated by reading all the bones in runtime and just inflating these areas with spheres and capsules - A medium quality proxy which resamples the human model and creates a lower-poly mesh for simulations - Full mesh simulation (can't run it, every simulation tick takes about 5 minutes on my machine) It ended the session by telling me that this is still crap because it runs everything on CPU (thanks, not that i care, but i guess we'll be fixing that?) Oh yea also built a 2D canvas editor with boolean operations so i can build cool stuff like ponchos. It also allows me to mark stitches between two objects, which is how the shirt in the video pulls towards the other half. The garment's properties and materials are not yet exposed, yes i know it looks very stiff like a poncho made from a persian rug, we're working on it, okay? So, yea, tbh this is another endless rabbit hole, let's go i guess

robot

38,767 görüntüleme • 1 ay önce