Earlier quoted context omitted.
I assume the point is that you have to implement a pure software rasterizer. It's not actually that difficult, but it feels like a lot for an undergrad who's not familiar with the space. I assume this is done as part of a class that gives you context. For an example of a rasterizer, you can take a look at my pure JS implementation of canvas (which is roughly the same imaging model as SVG). All lines and shapes are fl…
It's get somewhat tricky when you want things like gpu support, text rendering etc. You have to do things like stencil texture to speed things up etc etc.
Stanford CS248: Implement an SVG Rasterizer
11–20 of 82 posts
Re: Stanford CS248: Implement an SVG Rasterizer
#12Re: Stanford CS248: Implement an SVG Rasterizer
#13Re: Stanford CS248: Implement an SVG Rasterizer
#14I've already implemented an SVG renderer at https://www.amanithsvg.com based on our openvg engine with software rasterization https://www.amanithvg.com Both are closed source, but there are evaluation version available, if someone is interested in compare rendering quality and speed.
Re: Stanford CS248: Implement an SVG Rasterizer
#15What's a good JavaScript-based solution to render SVG into an image? html2canvas doesn't work well with SVG, especially those heavily styled with CSS.
Re: Stanford CS248: Implement an SVG Rasterizer
#16What's a good JavaScript-based solution to render SVG into an image? html2canvas doesn't work well with SVG, especially those heavily styled with CSS.
Re: Stanford CS248: Implement an SVG Rasterizer
#17I've already implemented an SVG renderer at https://www.amanithsvg.com based on our openvg engine with software rasterization https://www.amanithvg.com Both are closed source, but there are evaluation version available, if someone is interested in compare rendering quality and speed.
Can you recommend some resources for someone trying to do the same?
Re: Stanford CS248: Implement an SVG Rasterizer
#18What's a good JavaScript-based solution to render SVG into an image? html2canvas doesn't work well with SVG, especially those heavily styled with CSS.
Re: Stanford CS248: Implement an SVG Rasterizer
#19What's a good JavaScript-based solution to render SVG into an image? html2canvas doesn't work well with SVG, especially those heavily styled with CSS.
Is that what you’re looking for?
Re: Stanford CS248: Implement an SVG Rasterizer
#20What's a good JavaScript-based solution to render SVG into an image? html2canvas doesn't work well with SVG, especially those heavily styled with CSS.