I remember watching a movie/CGI animated film, years ago but sadly I do not remember the name.
All I remember is, that it is set in space/sky (can't say for sure which one, all I can remember is they were flying). There were some space pirates or something, and some weird bugs attacked them (machine bugs, like flying hornets but with guns).
And the most grappling memory I have of it is the last scene, where there is a space funeral, where they wrap this guy into some white cloth and let him fly in the space. The story is blurry but I remember the beforementioned space pirates attacked some kind of ship, and it gave a steampunk-esque vibe to it all.
I watched it sometime around 2000-2006 not sure exactly.
The language was probably english, but honestly I have no idea whatsoever, I remember it being 3d though.
As for the language and west./japanese, I have no idea.