3 ms·
Does anyone know of a library (or reading material) that can render a pdf (mostly architectural drawings) on to webgl canvas as actual vectors not image?
by meekaaku 3y ago
Does anyone know of a library (or reading material) that can render a pdf (mostly architectural drawings) on to webgl canvas as actual vectors not image?
- me_jumper 3y agoNot sure if that's what you are looking for but mupdf can render to SVG.
- gcr 3y agoWebGL is inherently a vector-to-raster technology, it’s always backed by a pixel buffer. One might argue that even PDFjs works this way with its calls to the canvas API. What are you trying to do? Why is webgl the key here?
- meekaaku 3y agoBasically I am looking to render pdf of architectural drawings onto webgl (because 2d context is too slow), and maintain the vector information in the drawings (ie lines, arcs). I know webgl is eventually raster, but I want to pan/zoom while retaining the crispness of vector lines.