Hi,
I'm using Inkscape 0.43 and I was wondering if there was an easy way to simulate perspective over a group of objects. I checked the mailing list and used google, but haven't seen anything that seems like what I want.
I'm guessing the key is in the transformation dialog, but I'm not sure what to do. I've done this before in the Gimp, but it was a rough-guess approach, and I was hoping it would be easier in Inkscape. If you have created a flat arrangement of shapes, I want to proportionally shrink (say the left) one side so that it looks in perspective. Then I can provide a "stacked-but-expanded" view of a system.
I'm sure it's there and I'm missing it, but any assistance would be appreciated.
Thanks in advance,
ast
Quoting "Andrew S. Townley" <atownley@...504...>:
I'm guessing the key is in the transformation dialog, but I'm not sure what to do.
SVG is limited to affine transformations (scale, rotate, transform, skew [aka shear]).
From a technical perspective, we can still "fake" perspective
transformations for some types of objects, but it's not possible to do for all types of objects. Either way, nobody's implemented it in Inkscape yet.
I've done this before in the Gimp, but it was a rough-guess approach
The Gimp (as of 2.2, at least -- maybe you need a newer version) has a dedicated "perspective" tool, appearing between the shear and flip tools. Its default keyboard shortcut is Shift+P.
If you have created a flat arrangement of shapes, I want to proportionally shrink (say the left) one side so that it looks in perspective. Then I can provide a "stacked-but-expanded" view of a system.
For a diagram, "isometric" (no vanishing point) perspective might be sufficient. You can simulate that easily with a horizontal skew.
[you'll need a non-proportional font for the below diagram to make sense]
shape:
+------------+ | | | | | | | | | | +------------+
scale | V
+------------+ | | | | +------------+
skew ->
+------------+ / / / / +------------+
stack:
+------------+ / / / /-+ +------------+ / / /-+ +------------+ / / /-+ +------------+ / / / +------------+
-mental
For a diagram, "isometric" (no vanishing point) perspective might be sufficient. You can simulate that easily with a horizontal skew.
Some time ago, I was playing with computing tranformations simulating the changes of viewpoint, both in scripts for animated svg
http://www.volny.cz/pavel.adamek/svg/cube/cube.htm
http://www.volny.cz/pavel.adamek/svg/rubik/rubik.htm
(Tested in Internet Explorer and Opera. For enabling of scripts contained in a svg document when viewing in Internet Explorer (6.0), the "active scripting" must be set to "Enable"; seting it to "Ask" is not enough.)
and as an effect for Inkscape
http://www.volny.cz/pavel.adamek/svg/house/house.htm
I had not enough time to develop it to something usable, but maybe this can serve as an inspiration for somebody with more skill.
P.A.
You could try using the Summer's Night effect.
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/ch15s17.html
I have found it to be quite useful for some situations, but I'm not sure if it would apply to yours.
On Sat, 2006-03-18 at 07:26, Matt Birk wrote:
You could try using the Summer's Night effect.
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/ch15s17.html
I have found it to be quite useful for some situations, but I'm not sure if it would apply to yours.
Thanks, Matt. This looks the business. Will give it a try this week.
Cheers,
ast
Hi Mental,
Thanks for the reply. That's what I figured I might have to do, but I just wanted to make sure.
Thanks very much for your help,
ast
On Thu, 2006-03-16 at 19:11, mental@...32... wrote:
Quoting "Andrew S. Townley" <atownley@...504...>:
I'm guessing the key is in the transformation dialog, but I'm not sure what to do.
SVG is limited to affine transformations (scale, rotate, transform, skew [aka shear]).
From a technical perspective, we can still "fake" perspective
transformations for some types of objects, but it's not possible to do for all types of objects. Either way, nobody's implemented it in Inkscape yet.
I've done this before in the Gimp, but it was a rough-guess approach
The Gimp (as of 2.2, at least -- maybe you need a newer version) has a dedicated "perspective" tool, appearing between the shear and flip tools. Its default keyboard shortcut is Shift+P.
If you have created a flat arrangement of shapes, I want to proportionally shrink (say the left) one side so that it looks in perspective. Then I can provide a "stacked-but-expanded" view of a system.
For a diagram, "isometric" (no vanishing point) perspective might be sufficient. You can simulate that easily with a horizontal skew.
[you'll need a non-proportional font for the below diagram to make sense]
shape:
+------------+ | | | | | | | | | | +------------+
scale | V
+------------+ | | | | +------------+
skew ->
+------------+ / / / / +------------+
stack:
+------------+ / /
/ /-+ +------------+ / / /-+ +------------+ / / /-+ +------------+ / / / +------------+
-mental
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid%110944&bid$1720&dat%... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (4)
-
unknown@example.com
-
Andrew S. Townley
-
Matt Birk
-
Pavel A. da Mek