|
From: Stuart B. <stu...@gm...> - 2022-05-30 08:26:04
|
On Mon, May 30, 2022 at 8:27 AM eatdirt via Flightgear-devel < fli...@li...> wrote: > On 28/05/2022 21:58, Stuart Buchanan wrote: > > It's beautiful in places where it works! > > Don't you have a bug in some funny tangent/normal vectors? It looks like > the artefacts tend to align along -45 degrees while the beautiful > yellowish curves prefer +45 degrees? That's just an artifact of the very rough rasterization approach I've implemented at present. I've experimented with a more advanced rasterizer which gets rid of those artifacts, but it is too slow. >From talking to James last night on the hangout, rather than re-invent the wheel, we should include a 3rd party rasterization package to create the texture from the vector data. The challenge is finding one that will be cross-platform and easy to include. An idle thought I had this morning was whether we could use nanovg for this, as I think we already include it for Canvas? -Stuart |