I actually quite like the solution you have, but also agree that additional 
features would be useful. I'd be quite interested to see an inverse 
displacement map, since I have gotten the suspicion that the spec may be just 
fuzzy enough here that the way browsers implement varies considerably, in ways 
that might make inversion tricky perhaps. just a suspicion, since I haven't 
really isolated those differences systematically.
 
The SVG Working Group is already thinking about some non-affine transforms like 
perspective tranforms and the SVG Interest Group is attempting to help "filter" 
some of the discussion pertaining to suggestions for new features.
See, for example,  
http://lists.w3.org/Archives/Public/public-svg-ig/2008JulSep/0108.html
 
regards
David

________________________________

From: [email protected] on behalf of David Leunen
Sent: Mon 9/29/2008 5:44 PM
To: [email protected]
Subject: Re: [svg-developers] shadow projections



Thanks for your reply,

feOffset tends to be so slow (and I'm not quite sure why)
>

I guess it's an implementation problem. I can't see why it should be slower
than a translation transform.

Your example didn't come through

Sorry.
Here is my quick example : http://leunen.d.free.fr/shadow-proj.svg 
<http://leunen.d.free.fr/shadow-proj.svg> 
Viewable in Opera.
(don't ask me why the "identity displacement" seems to be BB... shouldn't it
be 80 ? My trials&errors brought me to that. It's either me who don't
understand displacement maps fully, or a bug in Opera...?)

the best
> approach I've thought of would involve something like this: create two
> versions one more blurred and the other less, and then use a mask that
> fades from one to the other from top to bottom.
>

Interesting. But I'm really looking for a pure filter effect. No scripting,
no masking.
And (I'm not sure but) I think that technically, it would not be quite the
same result, compared to a variable stdDeviation.

Sorta like http://srufaculty.sru.edu/david.dailey/svg/distort.svg 
<http://srufaculty.sru.edu/david.dailey/svg/distort.svg>  ?
> That's going to be hard to control, and I'm not sure quite how you'd
> invert the displacement map.
>

Yes, like that.
I haven't been able to build an example, yet. These displacement maps are
not easy to manipulate.
By inverted displacement map, I mean another map that does the exact
opposite displacement.

With the svg filters coming soon in CSS, I guess many developers will want
to apply other funny effects to their html content.
It would be cool if this kind of shadow projection will be possible one day,
without scripting, and without changing the content.

[Non-text portions of this message have been removed]



 


[Non-text portions of this message have been removed]


------------------------------------

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to