nanovg icon indicating copy to clipboard operation
nanovg copied to clipboard

Where did you learn all these techniques?

Open Eklaron opened this issue 6 years ago • 1 comments

I would love to read/watch about rendering 2d graphics like this. Where can I find explanation, maybe example about it? I have been looking for it so many times. Could not find any thought (only nvidia paper, where is written what is a path and why we should use it).

Eklaron avatar Dec 24 '18 14:12 Eklaron

The anti-aliasing is inspired by the recent signed distance field rendering stuff, and this old article from graphics gems 2: https://developer.nvidia.com/gpugems/GPUGems2/gpugems2_chapter22.html

I have picked up most of the curve handling from the sources of libart, anti-grain geometry, and pomax's bezier primer: https://pomax.github.io/bezierinfo/

I hope that helps!

On Mon, Dec 24, 2018 at 4:23 PM Eklaron [email protected] wrote:

I would love to read/watch about rendering 2d graphics like this. Where can I find explanation, maybe example about it? I have been looking for it so many times. Could not find any thought (only nvidia paper, where is written what is a path and why we should use it).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/memononen/nanovg/issues/518, or mute the thread https://github.com/notifications/unsubscribe-auth/AFAbyEWLGvB-pgAlNNJpybasBN9czPjlks5u8ONXgaJpZM4ZgfHM .

memononen avatar Dec 25 '18 04:12 memononen