[svg-developers] Re: SVG in online audio book site
Hmm, it is not working for me under ASV 3.03... is it working only under alpha version of plugin which will probably not be finished at all? I'd advise to update your code, to be it working also under Mozilla and Opera and use Flash plugin to play audio. I could only recommend this solution, it is working pretty well for me... M. --- In svg-developers@yahoogroups.com, Xiaoping Gao [EMAIL PROTECTED] wrote: http://www.englishhaha.net/ We are working to put public domain classic books with audio on this site for free. The way that text is hilighted in karaoke style should be very helpful to people whose native language is not English. The site is in its infancy so stability and performance may not be as good as you expect. But bear with us. We will work to improve it as it grows up. Please write to us if you have suggestions to make the site better. Thanks, Qi Luo [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/
[svg-developers] Re: SVG in online audio book site
I'm using it there (http://svg.kvalitne.cz/submarine/index.htm) and it is pretty easy (based in libraries from http://www.schillmania.com/projects/soundmanager/) - just configure xml.file sound-config.xml with links to the files and them call them via some JS method like soundManager.play(mySoundId,1,1) Marek --- In svg-developers@yahoogroups.com, Xiaoping Gao [EMAIL PROTECTED] wrote: Yes. It requires the ASV 6. We had problem for playing audio for all word using ASV 3. Although ASV 6 is alpha (unfortunately stayed in alpha for ever), it works fine for our need. Could you give us a sample of using SVG with Flash plugin to play audio? Many thanks, Qi revelonshift [EMAIL PROTECTED] wrote: Hmm, it is not working for me under ASV 3.03... is it working only under alpha version of plugin which will probably not be finished at all? I'd advise to update your code, to be it working also under Mozilla and Opera and use Flash plugin to play audio. I could only recommend this solution, it is working pretty well for me... M. --- In svg-developers@yahoogroups.com, Xiaoping Gao xpgao1@ wrote: http://www.englishhaha.net/ We are working to put public domain classic books with audio on this site for free. The way that text is hilighted in karaoke style should be very helpful to people whose native language is not English. The site is in its infancy so stability and performance may not be as good as you expect. But bear with us. We will work to improve it as it grows up. Please write to us if you have suggestions to make the site better. Thanks, Qi Luo [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/
[svg-developers] Re: Absolute path to Relative path
Great idea, lets go on!!! --- In svg-developers@yahoogroups.com, CPK Smithies [EMAIL PROTECTED] wrote: I have written a little javascript application to optimize paths. It performs the following: (a) parses the string of turtle commands in the 'd' attribute (b) applies a transform, if given (c) optimizes bezier curves into 'S' or 's' if possible (d) optimizes Lineto into H or V if possible (e) removes redundant LineTos before a path-close ('Z') (f) optionally makes all commands relative (default is to leave as is) (g) optionally makes all commands absolute (h) strips unnecessary command letters (i) outputs the optimized path If this would be useful to anyone I will upload the ingredients to the Files area - just a simple .html form for UI and a couple of .js files. (I am also working on a PHP program that optimizes an entire SVG file. This uses the same classes as the javascript program. Currently it does not handle the line, polyline or polygon elements - although this should not require too much more work!) - 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/
[svg-developers] Re: Firefox Animation
Hi Andreas, how it is that you know, there will be SMIL support in Batik 1.7? I was not able to find and verify this information, although it souns as a great news! Marek --- In svg-developers@yahoogroups.com, Andreas Neumann [EMAIL PROTECTED] wrote: I had a feeling that Firefox didn't support animation - I just couldn't find somewhere that said it outright. no, Firefox doesn't yet support animation. For simpler animations there is an alternative called SMILScript provided by Doug Schepers, Vectoreal: http://www.vectoreal.com/smilscript/ This works for many of the simpler cases. I assume that you've used Opera with animations? Their web site says they have built-in support for SVG 1.1 basics. Does that mean that they DON'T support animations? Operas SVG support is probably closer to the full profile than to the basic profile. They support animation, filters, SVG fonts (not fully, but a useful subset), scripting/DOM, etc. Opera is also close to ASV, functionality-wise, sometimes even better. It is a little slower though when the SVG files are larger in filesize. I was hoping to find a way to install a plugin and make it work. It seems a chore to develop some animation if you could only use it with Explorer (haven't tried it with NN yet either!) SMIL animation currently works with Opera, ASV (in Iex), Batik 1.7 (soon to be released) and some mobile viewers. There is also Tinyline, which works as an applet. For firefox you would have to use SMILScript or scripting as an alternative. Andreas - 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/
[svg-developers] SVG Submarine Assault game 1.0 finally available to public
Hi community, after many promises, here it is. test it, play it, comment it, enyoy. I believe you will like it! Firefox performance was hard-task-to-solve, but it works (somehow;-) Official version including SOUNDS and programming notices etc: http://svg.kvalitne.cz/submarine/ Link to the game itself (SVG + JS file, uncompressed, nice formatted) http://svg.kvalitne.cz/submarine/submarine.svg (linked is only http://svg.kvalitne.cz/submarine/submarine.js) Link to the simple SVGZ all-in-one file () http://svg.kvalitne.cz/submarine/submarine.svgz All comments are very welcome Marek - 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/
[svg-developers] Re: Renesis Player 0.2 Release
Seems to be as fast as previously but with a bit more compatible API and working as plugin also. Not bad, but still many of my static SVG files won't display under renesism so some more work is surely necessary. But besides ... is not bad that Renesis is not dead :-) M. --- In svg-developers@yahoogroups.com, emiasys [EMAIL PROTECTED] wrote: Hello, Just a short notice that the Renesis Player 0.2 has been released today as promised. See http://www.EmiaSys.NET for more information. Regards, Alexander Adam Emia Systems - http://www.emiasys.com Renesis Community - http://www.emiasys.net - 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/
[svg-developers] Re: tspan in mozilla
Great, thx! --- In svg-developers@yahoogroups.com, T Rowley [EMAIL PROTECTED] wrote: On 9/25/06 11:39 AM, T Rowley wrote: On 9/25/06 10:12 AM, revelonshift wrote: Yeah, it is workaround, but I could it use, perhaps. Hope FFX2 will be working already as expected... Err, oops. While the fix is trivial and has been on the trunk since February, it was missed when merging low risk changes to the branch because it was included in a much larger patch. I've filed a bug/patch for the branch, but as RC1 is currently in QA the chances of getting approval to include this in FF2 are slim. https://bugzilla.mozilla.org/show_bug.cgi?id=354147 Patch is in - will make FF2 RC2 and final. -tor - 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/
[svg-developers] Re: SVG in ASP
As far as I know another option is tspan element inside of text... MR --- In svg-developers@yahoogroups.com, dappyl [EMAIL PROTECTED] wrote: Hi... I'm new at SVG.. I'm using SVG in asp file.. How to create a new line like in html code .. instead of creating new text?? - 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/
[svg-developers] MSIE + ASV
Hi there, I noticed something not very clear to me. Unless in Adobe plugin is required to use internal JS engine, should be used browser's, right? But it is not always true, and I noticed this: In my neverending race for performance I discovered that calling setTimeout/setInterval function with some parameters results in calling eval() internally what means some slowdown, of course. In pure MSIE and HTML there are acceptable both strings and literals as first argument to both setTimeout or setInterval functions. But it seems to be not working in SVG in use (ASV). Do you know why? And could tell me anyone if sending as first parameter string with function name foe() results also in eval()? Thx for tips, Marek - 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/
[svg-developers] tspan in mozilla
Hello, I recently tried to substitute a lot of positioned text by tspan and catching events for them tspan by common onclick=foe() handlers, but it seems it is not working in FFX/Mozilla, other browsers work. It is Mozilla limitation? And is there some better way to have one line with many words, each word having different listener? MR - 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/
[svg-developers] Re: Performance tips
Thank you. It works,. I tried the same yesterday without success but just today realize to get initial transform object I have to specifify initialization in SVG like this transform=matrix(1 0 0 1 0 0) (for the fist time). Then it works. Now I replaced the most often setAttribute() calls and seems to be maybe a bit better. Not many, but I'll try to gather piece to piece and it should help in the final, I hope... --- In svg-developers@yahoogroups.com, Erik Dahlström [EMAIL PROTECTED] wrote: On Thu, 21 Sep 2006 19:28:16 +0200, revelonshift [EMAIL PROTECTED] wrote: I also think that getting infoamtion from DOM on the fly is slowing-down operations, so I've already cached all nodes in variables and using only write - setAttributeNS method. But maybe using directly SVG DOM could speed some time, but I'm not sure how to apply changes to trasform matrix, especially translate, on referenced element (I don't know the syntax :-( ). Do you think it could be faster than setAttributeNS and translate(x y) ?? M. You could try this, to see if it helps: var svgtransform = yourelement.transform.baseVal.getItem(0); // now you hold a live SVGTransform object, modify it and it will affect the element directly svgtransform.setTranslate(x,y); It might be faster since you will then bypass the string-matrix parsing. /Erik -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ - 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/
[svg-developers] Re: Performance tips
OK, thx, you're right. But since getting matrix is done only once at the initiation phase and during gameplay is only updated, I will probably stay at my previous solution... Anyway .. thx for your point... but, during game I'm often affecting fill attribute and sometimes using rgb color schema. Is there some object, comthing like NewRgbColorSVG/NewhexColorSVG to use it in similar way like: object.style.fill = NewRgbColorSBG(0,10,20)? or any other way? Parsing of rgb or even hexa could take time and if there is some faster way and I've fill in heavy yous, I'll give it a chance... Marek --- In svg-developers@yahoogroups.com, David Vest [EMAIL PROTECTED] wrote: Den 2006-09-22 11:24:53 skrev revelonshift [EMAIL PROTECTED]: I tried the same yesterday without success but just today realize to get initial transform object I have to specifify initialization in SVG like this transform=matrix(1 0 0 1 0 0) (for the fist time). You could use the DOM to initialize the list when you really need it: var elm = document.getElementById(some_transformable_element); var list = elm.transform.baseVal; if (list.numberOfItems == 0) list.initialize(document.rootElement.createSVGTransform()); var item = list.getItem(0); /* manipulate item */ -- David Vest [EMAIL PROTECTED] - 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/
[svg-developers] Performance tips
Hello there. Is there somebody experienced in high-perrformance-tweaking of SVG implementation in Mozilla? I did almost everything I could think about for optimization, but still, my Submarine close-to-finish game performs in Gecko based browsers the worse. The best is of course ASV (taking rouhly about 30% os CPU), second is Batik (taking in some actions 100% of CPU), then Opera (is optically slower than Batik but takes maximally 70% of CPU = I don't know why :-( ) and Mozilla/Firefox is the worst of them, reaching 100% of CPU power very often. I tried use of cloneNode instead of creating new one, without benefit, I tried use one complex gradient instead of several simple ones, again no benefit. The only possible way to speed things in Firefox up is disable almost everything and reduce greatly number of elements. But I'm quite sure that there must be something I'm still not aware of... Thx for any tips, Marek PS: Another problem I'm heading is sound = is there someone who knows how to via Scripting control playing sounds, compatibility in many browsersa is especially welcome. I failed using embed objects, playing through FLASH API is also not very working, but perhaps there is some way - 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/
[svg-developers] Re: Performance tips
No, I'm not using styles at all, knowing, that they are not so fast as direct properties. Some other ideas, if Mozilla specific, the better... M. --- In svg-developers@yahoogroups.com, [EMAIL PROTECTED] wrote: Are you using styles in your svg? for example style type=text/css![CDATA[.Pen0 {fill:none; stroke:#FF; stroke-width:0.5}.Brush0 {fill:#FF; stroke:#FF; st and then path d=M172.5,263.261 L187.5,263.261 L187.5,238.261 L172.5,238.261 L172.5,263.261 class=Brush0 / if you are then expect FF to run slowly if your doing some animation with a stylesheet. Hope ive been helpful Richard From: revelonshift [EMAIL PROTECTED] Reply-To: svg-developers@yahoogroups.com To: svg-developers@yahoogroups.com Subject: [svg-developers] Performance tips Date: Thu, 21 Sep 2006 09:55:38 - Hello there. Is there somebody experienced in high-perrformance-tweaking of SVG implementation in Mozilla? I did almost everything I could think about for optimization, but still, my Submarine close-to-finish game performs in Gecko based browsers the worse. The best is of course ASV (taking rouhly about 30% os CPU), second is Batik (taking in some actions 100% of CPU), then Opera (is optically slower than Batik but takes maximally 70% of CPU = I don't know why :-( ) and Mozilla/Firefox is the worst of them, reaching 100% of CPU power very often. I tried use of cloneNode instead of creating new one, without benefit, I tried use one complex gradient instead of several simple ones, again no benefit. The only possible way to speed things in Firefox up is disable almost everything and reduce greatly number of elements. But I'm quite sure that there must be something I'm still not aware of... Thx for any tips, Marek PS: Another problem I'm heading is sound = is there someone who knows how to via Scripting control playing sounds, compatibility in many browsersa is especially welcome. I failed using embed objects, playing through FLASH API is also not very working, but perhaps there is some way _ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters - 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/
[svg-developers] Re: Performance tips
No CSS usage in my game. Some other tips please? --- In svg-developers@yahoogroups.com, [EMAIL PROTECTED] wrote: Are you using styles in your svg? for example style type=text/css![CDATA[.Pen0 {fill:none; stroke:#FF; stroke-width:0.5}.Brush0 {fill:#FF; stroke:#FF; st and then path d=M172.5,263.261 L187.5,263.261 L187.5,238.261 L172.5,238.261 L172.5,263.261 class=Brush0 / if you are then expect FF to run slowly if your doing some animation with a stylesheet. Hope ive been helpful Richard From: revelonshift [EMAIL PROTECTED] Reply-To: svg-developers@yahoogroups.com To: svg-developers@yahoogroups.com Subject: [svg-developers] Performance tips Date: Thu, 21 Sep 2006 09:55:38 - Hello there. Is there somebody experienced in high-perrformance-tweaking of SVG implementation in Mozilla? I did almost everything I could think about for optimization, but still, my Submarine close-to-finish game performs in Gecko based browsers the worse. The best is of course ASV (taking rouhly about 30% os CPU), second is Batik (taking in some actions 100% of CPU), then Opera (is optically slower than Batik but takes maximally 70% of CPU = I don't know why :-( ) and Mozilla/Firefox is the worst of them, reaching 100% of CPU power very often. I tried use of cloneNode instead of creating new one, without benefit, I tried use one complex gradient instead of several simple ones, again no benefit. The only possible way to speed things in Firefox up is disable almost everything and reduce greatly number of elements. But I'm quite sure that there must be something I'm still not aware of... Thx for any tips, Marek PS: Another problem I'm heading is sound = is there someone who knows how to via Scripting control playing sounds, compatibility in many browsersa is especially welcome. I failed using embed objects, playing through FLASH API is also not very working, but perhaps there is some way _ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters - 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/
[svg-developers] Re: Performance tips
Thx for the tip to sound managers = I'll try them, at least. For the game test, sorry, but I'm not sure on which address I could contact you with mail attachments... M. --- In svg-developers@yahoogroups.com, Erik Dahlström [EMAIL PROTECTED] wrote: On Thu, 21 Sep 2006 11:55:38 +0200, revelonshift [EMAIL PROTECTED] wrote: Hello there. Is there somebody experienced in high-perrformance-tweaking of SVG implementation in Mozilla? I did almost everything I could think about for optimization, but still, my Submarine close-to-finish game performs in Gecko based browsers the worse. The best is of course ASV (taking rouhly about 30% os CPU), second is Batik (taking in some actions 100% of CPU), then Opera (is optically slower than Batik but takes maximally 70% of CPU = I don't know why :-( ) If you send me your game off-list I can have a quick look. What platform are you on? PS: Another problem I'm heading is sound = is there someone who knows how to via Scripting control playing sounds, compatibility in many browsersa is especially welcome. I failed using embed objects, playing through FLASH API is also not very working, but perhaps there is some way http://blog.codedread.com/archives/2006/04/20/audio-in-web-pages/ http://www.whatwg.org/specs/web-apps/current-work/#scs-sound Hope this helps /Erik -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ - 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/
[svg-developers] Re: Performance tips
After implementing all three optimize attributes to root element and removing of the only one one element with opacity (circle-sun) I could still easily during movement reach 100% of CPU load :-( --- In svg-developers@yahoogroups.com, Phi Tran [EMAIL PROTECTED] wrote: More tips. - Only use Semi-transparent or Semi-opacity when it is in real need. A pixel is processed multiple times faster if it not Semi-opacity.(this is one of the big time consuming work horse). - One more tip that you should have in mind in creating the composition of your SVG file/layer. If your pixel need to be in anti-alias you are forcing the player to calculate and paint extra pixels (maybe 10- 15. . .) Hope it helps Phi On 9/21/06, Phi Tran [EMAIL PROTECTED] wrote: In my experience I use this scheme and it helps. I use multiple layers specially those that serve as the background. Then I only redraw the layer that need to change. In this case I do not force the player to scan/redraw the whole SVG. Note: Every time updating the player does not know which and which. A pixel may be drawn multiple times of background and in order to come to the final foreground colors You want to avoid that... The drawback of this scheme is: - You may have to maintain multiple SVGs. - More SVG external javascript coding. There is only few style and attributes items that actually affect the drawing but I have scanned thru thousands of SVG files. Many of them (99% plus) have lengthy attribute and lengthy style. It does nothing but only wasting the CPU time. Remember: the player need to maintain all of them cascadingly (you also want to avoid that too) Hope it helps. Phi. On 9/21/06, Sylvain Rouillard [EMAIL PROTECTED] wrote: revelonshift a écrit : No CSS usage in my game. Some other tips please? avoid transparency like the plague. __ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com -- Phi - Tran Hugely increase your speed, saving your band-width with ZipProtocol plus crystal clear SVG Rendering image at HTTP://oneplusplus.com -- Phi - Tran Hugely increase your speed, saving your band-width with ZipProtocol plus crystal clear SVG Rendering image at HTTP://oneplusplus.com [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/
[svg-developers] Re: Performance tips
My many thanks to all of you trying to help me. There is many hints but I'll try to answer them globally at once there: - I tried to avoid clip-path and it is as one game option to disable. It helps a bit, but not much. My clipping path is done using two primitives - circles; - about javascript itself, I believe it runs quite fast; to maximize game speed I'm keeping all the information in script and during gameplay I minimized impact to write only, there are no read operation - about CPU usage = I'd say yes, I also prefer the way of Firefox = get maximum of CPU and do it as fast as possible, than behavior of Opera which is visually slower than could be, but taking not more than 60-70% of CPU - about the cycles, in general there are very different number of setTimeout cycles during the game play. But during debugging, there is only one (or two) cycles. This only one takes almost nothing (3%CPU) and the only action after keyDown is create the event, send it to listener and listener will change global property. Then, still running cyclus will do transform/translate of group. It is everything. What e bit complicates the situation is, that event keydown is repeated when key is holding, but this is something I cannot avoid (I think) and everything else is spent on translating the group - about CSS / attributes usage (and that are the same in Mozilla) = yes, but they are helping other viewers so I don't plan to change it - I read about performance boost on FFX nightbuilts on paths and gradients and tried it, but in general it performs very differently from week to week and latest ones have even temporarily broken clip-path support and perform slower than latest releases (but yes, there were also faster ones some three weeks or so back). I believe it will be cool in the future of FFX3 - about different viewers = I like them all and I'm trying to make game as compatible as possible, but I've to power to try also Corel or Renesis implementation before game will be at least at 1.0 - if there is somebody else in this group to help me with betatesting/code-inspection (yes, in some of you already am in contact), please contact me at marek(dot)raida(at)vodafone(dot)com and I could send you current code with belief, that with a little help with few of you I'll be able to finish my work and then publish it freely to the nice SVG World of many fans... Thank you all for your patience with me... Marek - --- In svg-developers@yahoogroups.com, Phi Tran [EMAIL PROTECTED] wrote: Lately I am very careful in what I will say specially after ADOBE's announcement. For not to be misunderstood as a cheap-shot to promote my SVG/Zip . . . . Let me make my point on this thread. I only trying to help to save some CPU instructions here and there; Base on my background and study of the codes. I do not have any intention to undermine any SVG players. Please take my apology if any one you feel offended Thanks. On 9/21/06, T Rowley [EMAIL PROTECTED] wrote: On 9/21/06 10:18 AM, T Rowley wrote: Major items to keep an eye out for performance in Firefox 1.5/2.0 SVG are group opacity (fill-opacity is fine), clipPaths, and complex paths (the current cairo tesselator has poor scalability). All of these should improve in Firefox 3.0. A little more information on the clipPath note - trivial clipPaths consisting of a single graphics element will be a fast path, but nontrivial ones fall onto a slower general codepath. -tor -- Phi - Tran Hugely increase your speed, saving your band-width with ZipProtocol plus crystal clear SVG Rendering image at HTTP://oneplusplus.com [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/
[svg-developers] Re: Performance tips
I also think that getting infoamtion from DOM on the fly is slowing-down operations, so I've already cached all nodes in variables and using only write - setAttributeNS method. But maybe using directly SVG DOM could speed some time, but I'm not sure how to apply changes to trasform matrix, especially translate, on referenced element (I don't know the syntax :-( ). Do you think it could be faster than setAttributeNS and translate(x y) ?? M. --- In svg-developers@yahoogroups.com, Ronan Oger [EMAIL PROTECTED] wrote: Ouch. Good to know. Thanks, Jim. On Thursday 21 September 2006 18:27, Jim Ley wrote: The biggest Mozilla speed improvement in scripting will be to not use getElementById() but to cache every single reference in a seperate variable of your own. currently mozilla re-looks up every node in the DOM for XML documents, and it's very, very slow. -- Ronan Oger lailing list account http://www.roitsystems.com http://www.roasp.com - 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/
[svg-developers] Re: Beta game
I'm not IRC user and not even plan to be ... so I beleived to find some contacts there... Game is again some steps ahead = now with fixed functionality for Batik also so additional effects plus enhanced debug mode... Marek --- In svg-developers@yahoogroups.com, Jim Ley [EMAIL PROTECTED] wrote: revelonshift [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] And now I'm at the true important topics: - is there somebody willing enough to not only play, but also help me with betatesting the game? - I'm still solving some small issues + designs, although game is from 90% ready, so betatest is necessary. I don't want to test is in public, so that's why I need some email contact to volunteers ;-) (and I've not site too :-( - is there somebody having domain/page (not quite dead) dedicated to SVG to share it with me/host my previous and recent SVG experiments there? Why not head over to the #SVG IRC channel irc://irc.freenode.net/#svg and chat with the nice folks there, they're generally up for testing stuff people have to see. I'm pretty sure I can help out with some hosting too. Cheers, Jim. - 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/
[svg-developers] Beta game
Hi fols, I's been quite long time since I created some SVG game. Do you remember SVG Cowboys or SVG Turtles? Yes, there is next brother to them comming soon, called SVG Submarine Assault. And the difference will be not only ASV compatibility, but also Mozilla and Opera full compatibility, although I've to admit, that animating everthing by hand in scripts without SMIL was not always very funny and I'd to use some tricks and performance tuning thousand times and still Mozilla is not so quick as ASV. And I'm talking only about strong Intel machines with Firefox on Windows, which is known to be faster than on other platforms. But... Also my original SVG page with some demos and games and convertor disappeared and exist no loger :-(. And now I'm at the true important topics: - is there somebody willing enough to not only play, but also help me with betatesting the game? - I'm still solving some small issues + designs, although game is from 90% ready, so betatest is necessary. I don't want to test is in public, so that's why I need some email contact to volunteers ;-) (and I've not site too :-( - is there somebody having domain/page (not quite dead) dedicated to SVG to share it with me/host my previous and recent SVG experiments there? Thank you for your attention... Marek - 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/
[svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer
I believe Adobe want not spend anoyher money on implementing SVG plugin compatibility for Vista/IE7, and that's why they announced it. It is very sad, since now SVG is geting more and more popular :-( If they could be at least so helpful to open source codes of ASV 3 / 6dev to community... M. --- In svg-developers@yahoogroups.com, Doug Schepers [EMAIL PROTECTED] wrote: Hi, Ronan- Ronan Oger wrote: Yeah right, and compete with their own product? Doug, you are optimistic to a fault. Perhaps. But if you don't ask for something, you're unlikely to get it. This announcement from Adobe had a rather tentative tone in parts, suggesting to me that they might be feeling out community reaction; if that reaction is strongly negative enough, they might not wish to stir up such ill will. Jon Ferraiolo, a veteran of Adobe and a driving force behind SVG, goes even further than I in his suggestions to Adobe. They canned ASV to make room for their commercial solution and have no commercial incentive to keep it there as a thorn in their side for people to build applicatons around. Clearly. But they do have a moral responsibility to the community, regardless of whether they honor that responsibility. On top of that, everyone who has had to rebuild their apps to be ecmascript compliant after using ASV has loudly cursed their javascript implementation... They can only lose on reputation from having an old, unsupported product lying around gathering user ire. This doesn't sound like a very convincing argument to me. People are more aware about standardized scripting now, thanks in no small part to this list. ASV may be permissive in its scripting engine, but it also works (mostly) with the same code that works in Opera and FF. Anyone who has been foolhardy enough to code to ASVG must surely now have learned their lesson. This is the cost of vendor-supplied free addons. Nothing given by a company is free. Opera, Mozilla, and Microsoft are companies which give away their browser for free. I'm sure that all of them have older unsupported version of their browser, but I doubt that they no longer permit their distribution. I think this is highly unorthodox of Adobe. I think that other SVG viewers will now rise to the challenge, and we may be better off without the perception of SVG as an Adobe technology, but I still think this is poor practice by Adobe. Regards- -Doug Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/1U_rlB/TM ~- - 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/
[svg-developers] Re: SVG banner
Hmm, I cannot text it on Mac, primarily on Windows, but: - native SMIL implementations work good in no FF version, I believe also ASV on Mac, right? - Firefox in Windows is not fast, but working - Firefox in Redhat is slower than on the windows, but still working M. --- In svg-developers@yahoogroups.com, Jonathan Chetwynd [EMAIL PROTECTED] wrote: Marek, just to let you know that your zip file for firefox, soaked up massive resources and froze camino, the animation was extremely slow. G4 powerbook. also the files are marked as .exe which is a little peculiar or unusual. cheers Jonathan Chetwynd On 4 Sep 2006, at 15:32, revelonshift wrote: Surely. Grab it there: http://www.balki.sk/_others/marek/o2banner.zip M. --- In svg-developers@yahoogroups.com, Jonathan Chetwynd j.chetwynd@ wrote: Marek, please could you upload these files to a public space with shorter plain english filenames? I just can't seem to download them. cheers Jonathan Chetwynd On 4 Sep 2006, at 10:10, revelonshift wrote: http://f1.grp.yahoofs.com/v1/ EOv7REyYoGImZcguyMNC4YViUpJdfEbVCF2ybJR58YU3JTAYJgVvHcj0oF9VXtm5gQXd2H2e wOrFpySxt94BLeanPJnGYYkEYuo/ver04 - 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/ * 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/
[svg-developers] SVG banner
Those days is running massive Telefonica O2 campaign in Czech Tepublic (new on market) with everywhere visible banner with ogygen bubbles (for example there http://www.novinky.cz/). Friend did not believed me, it is very easy to do it in SVG, so I have to convince him. In files section are three files as results of nearly an hour work (ver04.svgz - basic file, and two other derivates ver04firefox.svg - version for Firefox/Batik and version with improved bubble - ver05.svg) I preferred to be it very easy and understable for novicers (avoid unnecessary scripting) and maximally compatible (Opera, ASVG, Firefox, mobile SVG browsers works (somehow) too. Friend was enchanted and he started (with two other) experimenting with SVG immediattely although they did-not-belived in SVG till that time! :-))) Marek Links: http://f1.grp.yahoofs.com/v1/EOv7REyYoGImZcguyMNC4YViUpJdfEbVCF2ybJR58YU3JTAYJgVvHcj0oF9VXtm5gQXd2H2ewOrFpySxt94BLeanPJnGYYkEYuo/ver04.svgz http://f1.grp.yahoofs.com/v1/EOv7RP8Bxs8mZcguSpz0HMr_qJqr3Qqp75mhpZxFvejh-qjr3JYoC6bRbc33on-z1-2MEkbOMGIwHed6iWvj1DnuC4UZq96yWwI/ver04firefox.svg http://f1.grp.yahoofs.com/v1/EOv7RHqCqEomZcgulB3aE_WRnZBDp8WgkSmKwSMbZm_snr632JL9Kbt7na51PNXcv__C27hWyGwy62jFd6A27tOP7tmQXqqgCpQ/ver05.svg - 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/ * 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/
[svg-developers] Re: SVG banner
Surely. Grab it there: http://www.balki.sk/_others/marek/o2banner.zip M. --- In svg-developers@yahoogroups.com, Jonathan Chetwynd [EMAIL PROTECTED] wrote: Marek, please could you upload these files to a public space with shorter plain english filenames? I just can't seem to download them. cheers Jonathan Chetwynd On 4 Sep 2006, at 10:10, revelonshift wrote: http://f1.grp.yahoofs.com/v1/ EOv7REyYoGImZcguyMNC4YViUpJdfEbVCF2ybJR58YU3JTAYJgVvHcj0oF9VXtm5gQXd2H2e wOrFpySxt94BLeanPJnGYYkEYuo/ver04 - 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/ * 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/