Hull Heating effects

Post Reply
FluffyFreak
Posts: 1344
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Hull Heating effects

Post by FluffyFreak »

Rather than continue to detour the https://github.com/pioneerspacesim/pioneer/pull/2550 pull request I'd like to continue the discussion here.
The shader only effect in that PR is a merely the basis and beginning of what can be done and shouldn't need to depend on any future work which may or may not be done (at least for a long time).

Jpab suggested at the end of that discussion that Kerbal's atmospheric reentry effect looks like the edge extrusion used in shader volume generation. Which after a bit of research I have to say might prove to be very useful for generating the shell itself even if I don't adhere exactly to how it's used for shadow volumes.
The basic idea is to do some upfront processing of the mesh to generate adjacency information about the edges. Then you use it by filtering out all of the edges that you cannot see (dot product test), then you test the remaining edges - if an edge has one face it can see and one that cannot be seen (more dot products) then you have a silhouette, otherwise you can ignore it.

Other things that might improve the effect are trails using a mixture of billboarded particles and a solid textured trail but I haven't looked into our particle system yet or into how to do the trails properly, though they shouldn't be overly difficult conceptually.

Does anyone else having anything to add?
FluffyFreak
Posts: 1344
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Hull Heating effects

Post by FluffyFreak »

Also, this is planning for future work, not for this current effect.
Nyankosensei
Posts: 235
Joined: Wed Sep 11, 2013 8:03 pm

Re: Hull Heating effects

Post by Nyankosensei »

And adding smoke than trails ?

Is possible to add some textures on shield mesh for have fire effect ?
FluffyFreak
Posts: 1344
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Hull Heating effects

Post by FluffyFreak »

There's a new shield mesh system coming, the Pull Request has been up for months now, and I have started looking into how to do more effects for this following jpab's suggestion of treating it like shadow volume extrusion.

It's all still on my todo list, it's just a very long list :)
Post Reply