I did skim through that one. What I really wanted was what Anonymous asked for 
in the comments section, but maybe it’s worth trying to implement something 
according to the explanation that’s there and test to see how different it is 
to the flash implementation.



To answer your other questions, we want to solve the generic problem (we’re 
writing an editor, so we can’t assume users will only use a certain shape) for 
SVG.



Thanks.



________________________________
From: Alex Harui <aha...@adobe.com.INVALID>
Sent: Wednesday, January 9, 2019 10:24:05 AM
To: dev@royale.apache.org
Subject: Re: BevelFilter

This is not my area of expertise at all, but have you seen this?  
http://www.rw-designer.com/bevel-effect-explained

IIRC, there are vector effects, and pixel effects.  Vector effects basically 
alter the vectors that compose the graphic.  Pixel effects post-process the 
drawn pixels.

I think a basic Bevel effect may be a vector effect.  The Flash one might 
require pixel effects as well to implement blur.  The article I linked to 
implies that the basic bevel effect is a 3D modeling problem.  Do you have to 
use SVG or can you use WebGL or some 3D library?

Also consider whether you have to bevel "anything" or something simple.  To 
bevel a rectangular border can be relatively simple, IIRC.

HTH,
-Alex

On 1/8/19, 11:54 PM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:

    [1] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3schools.com%2Fgraphics%2Fsvg_filters_intro.asp&amp;data=02%7C01%7Caharui%40adobe.com%7C6c6db802bf884b353dce08d67607b5ef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636826172827584997&amp;sdata=X%2BfpYa02LFDAqPL5aRuigSWqq3h%2BnE%2BqgitAqVBwOGc%3D&amp;reserved=0



    ________________________________
    From: Yishay Weiss <yishayj...@hotmail.com>
    Sent: Wednesday, January 9, 2019 9:53:32 AM
    To: dev@royale.apache.org
    Subject: RE: BevelFilter

    Hi Olaf,



    Well, I was hoping to write a Royale bead rather than use a third party 
library. I’m more interested in the alogorithm used for flash and Photoshop, 
assuming that’s easily translatable to SVG [1] filters.



    Yishay



    ________________________________
    From: Olaf Krueger <m...@olafkrueger.net>
    Sent: Tuesday, January 8, 2019 1:55:09 PM
    To: dev@royale.apache.org
    Subject: Re: BevelFilter

    Hi Yishay,
    maybe it's worth to give GreenSock/GSAP a try [1][2]?
    They provided a BevelFilterPlugin for AS3, maybe they ported it to SVG?
    I am not sure about the license...

    Olaf

    [1]
    
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensock.com%2Fgsap&amp;data=02%7C01%7Caharui%40adobe.com%7C6c6db802bf884b353dce08d67607b5ef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636826172827584997&amp;sdata=t4INgD9E8SAcw2Qf3NOiUQh46jH%2FdFpxcz1vS1xeAQE%3D&amp;reserved=0

    [2]
    
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensock.com%2Fforums%2Ftopic%2F16855-animated-masked-svg-bevel-and-carve%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C6c6db802bf884b353dce08d67607b5ef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636826172827584997&amp;sdata=tSsKROW8xhsBSnniU3affIvojjKFx2tq%2FOgaHneJea8%3D&amp;reserved=0



    --
    Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C6c6db802bf884b353dce08d67607b5ef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636826172827584997&amp;sdata=0%2BvGWK6EsfwbFJuOCb1jO%2FNBpAGajUk0aVB7ns2S78Q%3D&amp;reserved=0


Reply via email to