Comments (2)
We have a triangulation algorithm and use it in the GL backend, but there are some cases that this algorithm can't handle, so we also use 'stencils and cover' method for those cases.
from thorvg.
Hi. I have found this awesome lib via google and I am curious what kind of tessellation algorithm is used under the hood. Is it offline triangulation on CPU? Or something like "stencil-then-cover" trick to triangulate in real time? Thanks.
Thank you for your interest in our project.
In WebGPU renderer we are using "stencil-then-cover" trick and compute shaders for final blend and composition
from thorvg.
Related Issues (20)
- Crash when using a clippath with an empty path shape HOT 3
- Handling of very large size stroke-width HOT 4
- Thin rounded rectangle path stroke artifacts HOT 3
- Abnormal drawing of moveTo() of path
- Stroke cap is not drawn HOT 1
- Supports svg style class set
- Support for set declaration of style name
- Ask for help how to use SvgLoader HOT 4
- thorvg archlinux package support
- ThorVG freezes completely if an equal sign is in certain places HOT 2
- Support HSL color format in Svg HOT 1
- Lottie/Slot: More cases covering all supported properties
- FillSpread example is required
- Lottie: stabilize lottie slot feature.
- Invalid access occurs in stroke outline HOT 2
- SVG stroke-width with a percentage uses the width instead of the diagonal over sqrt(2).
- arm-neon compile error HOT 2
- AVX: examples shows up black screen when AVX is enabled.
- tvg_set_frame fails on lastframe HOT 3
- Lottie animation not rendering - potential lack of layer effects support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thorvg.