Пропустить навигацию
#UE5 #gamedev #vfx #techart
0:00 / 0:40

#UE5 #gamedev #vfx #techart

Ghislain Girardot

@GhislainGir16 тыс. подписчиков

Открыть в X
276 отметок «Нравится»СкачатьОригинальный пост

20 156 просмотров #UE5 #gamedev #vfx

#UE5 #gamedev #vfx #techart Continuing with my strand-based simulated foliage experiments... Still some work to do

11 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Ghislain Girardot

    @GhislainGir

    backed away from using a skeletal mesh to initially create my custom strand hierarchy because bones come with tons of caveats that can be annoying to work with: no length data, no attachment info etc.

    6 отметок «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    For now, I wrote a tiny python script in Blender to create a simple .csv based file format from a Blender armature.

    6 отметок «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    Csv files can be dragged & dropped into the engine and converted into a datatable if you have a BP/CPP structure matching the csv columns structure. Quite neat.

    7 отметок «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    So I changed the way the strand hierarchy is built to create a much simpler solution but still allow strands to be connected somewhere along parent strands.

    6 отметок «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    Other issue I had was propagating forces, like pulling the top part and having the whole structure bend. Turns out you don't have to walk up & down the hierarchy at all like I initially thought...

    6 отметок «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    ... just have to resolve the strand length constraint by half the amount on the strand and by the remaining half on the parent strand, and it just works. The core simulation is PBD-based with substepping.

    6 отметок «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    Last challenge to solve is bend inheritance but I have an idea. Here the whole structure should bend with the root strand and not stand up completly crooked like it currently does.

    8 отметок «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    This is still all done in BP as a proof of concept. Adding interactive mouse push & pull feature was a great idea tho, so fun. Porting the simulation to GPU/Niagara should be quite easily doable & efficient with my current architecture🤔

    11 отметок «Нравится»

  • Фото профиля Nick Seavert

    @nickseavert

    One day I'll get around to toying around with particle based foliage where particles are the skeleton.

    1 отметка «Нравится»

  • Фото профиля Manu (マヌ) | Co-Founder | CTO | Valannia

    @Egalestrenge

    This is really sweet! I’m also in love with how Alan Wake simulates the vegetation. Can I ask you how you link the data table with the shader? If I understand correctly, your idea is to interpolate the nodes simulation to the vertices of the mesh right?

    1 отметка «Нравится»

  • Фото профиля Ghislain Girardot

    @GhislainGir

    There's no shader yet, it's all done in BP for now. The idea would be to export each point pos/previous pos into render targets, and encode the strand index in vertex color or something to use the standard skeletal vertex animation texture technique

    1 отметка «Нравится»