Comments (3)
Hi, I have the same problem. Did you solve it now?
from diffvg.
I found that the problem came from the color sampling process of forward rendering. The parameter pt passed in this function is the coordinate of the point in the image space (canvas_width*canvas_height), but in fact it should be the relative position of the point in the path, similar to begin and end in linearGradient.
from diffvg.
I found that the problem came from the color sampling process of forward rendering. The parameter pt passed in this function is the coordinate of the point in the image space (canvas_width*canvas_height), but in fact it should be the relative position of the point in the path, similar to begin and end in linearGradient.
Great! Can you tell me how to solve the color sampling problem? I am not familiar with this.
from diffvg.
Related Issues (20)
- CUDA Runtime Error: operation not supported at /data/home/username/diffvg/scene.cpp:35 HOT 2
- How to remove the randomness to get reproducible runs HOT 1
- Creating polylines directly from numpy arrays of 2d points?
- Creating polylines directly from numpy arrays of 2d points? HOT 2
- How to render multiple images in a batch?
- no module named 'pydiffvg' HOT 2
- Square linecaps? HOT 1
- Installation on Windows
- Mac / MPS Support HOT 1
- hollow areas are filled
- Unable to open file "python310.lib" HOT 1
- diffvg / pydiffvg on Colab? HOT 2
- install issue HOT 7
- Suggested Code Hub for Windows 10 users HOT 1
- cmake error: build fail on CUDA 9.1 HOT 1
- Could someone build a WHL for Windows CUDA 11.8? HOT 3
- Torch212+CUDA121 build error HOT 5
- Compile diffvg sucess on Windows, give you wheel HOT 1
- Upon cloning onto my machine
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 diffvg.