w3c / svgwg

SVG Working Group specifications
Other
704 stars 132 forks source link

Native support for 3D perspective transformations (per each corner). #787

Open HT-7 opened 4 years ago

HT-7 commented 4 years ago

What I mean is explained here.

It should also work on embedded raster graphics.

This is a highly requested feature and currently requires heavy workarounds.

It would be great if SVG gets this feature natively, or at least InkScape in their vendor-specific SVG variant.

BigBadaboom commented 4 years ago

3D transforms are supported. But it is not perfect in all browsers yet.

See: https://stackoverflow.com/questions/30476852/3d-transforms-on-svg-element

HT-7 commented 4 years ago

3D transforms are supported.

But only through CSS code.

It would be good if SVG natively supported it, including for embedded raster graphics.

But it is not perfect in all browsers yet.

No problem. I expect future browsers to support it properly.

tatarize commented 4 years ago

If 3D transforms got more nativish support I could guarantee they would be identical to the CSS transforms. Getting SVG to work in python for kinda industrial uses, required pretty healthy doses of CSS specs. The daylight between what is CSS and SVG is quite clearly shrinking. To the point that if CSS supports something and SVG doesn't, you might as well support that for CSS.