[svg-developers] Re: Pretty printer for Windows

2008-01-22 Thread Andreas Neumann
Batiks pretty printer works fine on Windows and is actually easy to use: java -jar batik-svgpp.jar [OPTIONS] FILES See http://xmlgraphics.apache.org/batik/tools/pretty-printer.html Installing the Batik binaries is as easy as unzipping a zip archive, assuming you already have a java runtime eng

[svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread ~:'' ありがとうございました 。
there's a simple Brick Pattern here: http://peepo.co.uk/temp/brick-pattern.svg Perspective has been a fundamental property of western art for some hundred of years. feDisplacementMap may well be a possible route, however it does seem somewhat complex in the relation to the concept. regards J

Re: [svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread Erik Dahlström
On Tue, 22 Jan 2008 12:52:47 +0100, ~:'' ありがとうございました。 <[EMAIL PROTECTED]> wrote: > there's a simple Brick Pattern here: > http://peepo.co.uk/temp/brick-pattern.svg You might want to remove the space in patternUnits="objectBounding Box". > feDisplacementMap may well be a possible route, however

Re: [svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread Erik Dahlström
Jonathan, I don't see it as peculiar at all since "SVG is a language for describing two-dimensional graphics in XML." [1] (the lighting filters are the only exception to that AFAIK). In any case what you are talking about is 3D graphics. There is no reason perspective correct transformations

Re: [svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread ~:'' ありがとうございました 。
Erik, isn't it peculiar that a fairly simple perspective distortion is missing from the SVG spec? ie just as you describe by increasing scaling along a line especially given it's importance and history in western art? removed the typo, and updated slightly, thanks regards Jonathan Chetwynd A

Re: [svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread ~:'' ありがとうございました 。
Erik, it's certainly not 3D, there's no question of rotation, or animation to give parallax. this is 2D perspective distortion. unless I'm misunderstanding something significant. please could you elucidate. regards Jonathan Chetwynd Accessibility Consultant on Media Literacy and the Internet

Re: [svg-developers] Re: how to create perspective in pattern?

2008-01-22 Thread ~:'' ありがとうございました 。
Frank, having experimented briefly with feDisplacementMap it seems that it does not scale the original image, rather it displaces, so if I've understood the intention, and you agree, this would not be appropriate. regards Jonathan Chetwynd Accessibility Consultant on Media Literacy and the I

Re: [svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread Erik Dahlström
Read the section of perspective correctness here for example: http://en.wikipedia.org/wiki/Texture_mapping Cheers /Erik On Tue, 22 Jan 2008 15:12:51 +0100, ~:'' ありがとうございました。 <[EMAIL PROTECTED]> wrote: > Erik, > > it's certainly not 3D, there's no question of rotation, or animation > to give pa

Re: [svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread David Dailey
Hi folks, Here is an example using feDisplacement (animated) to apply nonlinear distortion to a brick pattern. It works in IE/ASV and in Opera 9.5 (something). http://srufaculty.sru.edu/david.dailey/svg/distort.svg What it does is to overlay two gradients: one vertical one on top of a horizo

Re: [svg-developers] Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread ~:'' ありがとうございました 。
David, I'm a little uncertain where this is going, however it appears that your transform isn't effecting the latitudinal lines of the brickwork. Erik may be suggesting this graphic as a defining example: http://upload.wikimedia.org/wikipedia/commons/5/57/ Perspective_correct_texture_mapping.j

[svg-developers] example Perspective Brick Pattern: how to create perspective in pattern?

2008-01-22 Thread ~:'' ありがとうございました 。
example Perspective Brick Pattern: how to create perspective in pattern? http://www.peepo.co.uk/temp/perspective-brick-pattern.svg a not very wonderful kludge. I would expect that when using an authoring tool one could grab a corner, and manipulate the perspective on a pattern. In this instanc

[svg-developers] Re: Pretty printer for Windows, Batik

2008-01-22 Thread Frank Bruder
Or you can write a batch file with your favoured options and %1 in place of FILES and add it as an action for the file type SVG. This way you can just right click on an SVG file and start the pretty printer from the context menu. I don't use pretty printer, but that's the way I use ttf2svg and

[svg-developers] Re: Begin and End

2008-01-22 Thread Frank Bruder
Exactly. The interpolating function is constant. So x is constant at 400 during each active duration of the animation. But that is different from the base value of 320, defined at the element itself, which is applied whenever the is not active. So there's never any continuous motion, but a ju

[svg-developers] Re: Pretty printer for Windows, Batik

2008-01-22 Thread Andreas Neumann
Hi Frank, This is a very good idea. Could you describe this technique in more detail, either on the Batik wikie, the SVG wiki or on your own website/blog? I'd be interested to use this or propose it to colleagues who work primarily on Windows, but I am not very skilled in Windows. So I can't