godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.95k stars 20.17k forks source link

Particles3D: trail divisor is not very good #10363

Closed kubecz3k closed 4 years ago

kubecz3k commented 7 years ago

Operating system or device - Godot version: 3.0 alpha

Issue description: Adding this issue as a reminder for @reduz (after irc meeting). Not sure however what idea exactly @reduz have on mind for replacement.

kubecz3k commented 7 years ago

Also:

Reduz: I think i will shuffle the particles so old particle gets next position. Problem with trail method is that if emissor moves, all screws up

reduz commented 7 years ago

This is unfortunately too much work and potential breaking, so will leave for 3.1 when more particle work will be done (Attractors, collision, force fields, etc).. even if compat is broken a bit (the feature kind of sucks anyway..)

jedStevens commented 4 years ago

I think it would be good to have some sort of mesh generation for trails, I think some engines call them ribbons. This could be done with ImmediateGeometry but I almost think exposing the compute shader would be a better option for fixing this. I'll have a crack at this when I get home from work.

Calinou commented 4 years ago

The ribbon feature request is probably better described in #22217, so I'll close this one.

See also this asset to create 3D trails. It uses Godot 3.0, but it could be ported to a newer version.