r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[AGG] to discus new Rebol/View with AGG

shadwolf
20-Jun-2005
[84]
you can even make the base then I will enhance them if you prefer 
...
yeksoon
20-Jun-2005
[85x2]
very smooth drawings
and the best thing is... so short.... I can read it, memorise it 
and 'spit' it onto my vi without using copys
DideC
20-Jun-2005
[87]
Sorry, but what are you speaking about guys (Shadwolf, Steeve) ?
Not the small scripts above (except Yeksoon, I suppose) ?
BrianW
20-Jun-2005
[88]
DideC, those are great. Really easy to warm up to AGG with those 
:-)
DideC
20-Jun-2005
[89]
thanks
shadwolf
20-Jun-2005
[90x2]
no I'm talking about treeview and dir-requestor for rebgui based 
on your work on the request-dir.r as you yet have a good experience 
and some inovent ideas over this topic  I think it's natural to push 
you to contribute but I you doesn't want to I will take some weeks 
soon to do it  but it could be more painfull for me and less inventiv 
that the work you can do DideC
no I'm talking about treeview and dir-requestor for rebgui based 
on your work on the request-dir.r as you yet have a good experience 
and some inovent ideas over this topic  I think it's natural to push 
you to contribute but I you doesn't want to push you. I will take 
some weeks soon to do it  but it could be more painfull for me and 
less inventiv that the work you can do DideC
Anton
21-Jun-2005
[92]
shadwolf, do not avoid the pain.
Ashley
21-Jun-2005
[93]
SVG Demo: http://www.dobeash.com/files/svg-demo.zip
shadwolf
21-Jun-2005
[94]
a svg renderer in only 5k .... What a great job  !!!
Pekr
21-Jun-2005
[95x2]
is that "full" SVG renderer/parser?
but overall it is good - feels realtime. I wonder if SVG has future? 
Is that new replacement for technology as DHTML, which never became 
widely used? There is plenty of W3C XML stuff, I wonder if they keep 
that under control or what the future of the web holds ....
shadwolf
21-Jun-2005
[97x9]
yes
I have connection problems  :((((
some times Altme Hang and I can't send or receive message but altme 
stay connected ...
PekR yes 5K  script for SVG parsing to Draw/AGG then rendering engine 
AShley have done thanks to REBOL/View 1.3 the smallest and fastest 
SVG renderer I saw until now ;)
I milite to integer it into the REBOL/view release ;)
I'm downloading inkshape I will start to provide to ASHLEY a set 
of SVG icons in totally abandon licence ....
my first svg draw make with inkscape (linux/win32..) http://shadwolf.free.fr/new-file.svg
but it seems that inkscape SVG files are not properly supported by 
svg-demo ...
I try with sodipodi
yeksoon
21-Jun-2005
[106]
there seems to be some slightly difference between what Inkscape 
and SVGDemo renders.

eg. blender.svg

on Inkscape, there's an orange fill... on svg demo, it appears as 
a black fill.


I am using the latest /View...so, probably not a /View version problem.
shadwolf
21-Jun-2005
[107]
hum sodipodi windows version doesn't work ...
Cyphre
21-Jun-2005
[108x2]
Pekr: SVG is pretty bloated so don't expect you will have 'full' 
SVG parser in 5k :-)
Anyway nice demo Ashley.
shadwolf
21-Jun-2005
[110x3]
it's a very first intent so we will enhance it ;)
yeksoon the .svg files provided with svg-demo.R are do using sidopodi 
workbench
I use inkscape to make new-file.svg and this one doesn't load at 
all
Cyphre
21-Jun-2005
[113]
dont' worrym none of my test svg files worked with it...it is understandable 
as Ashley surely make this in a few hours.
shadwolf
21-Jun-2005
[114x2]
sidoposi doesn't launch in my os dependencies and linking problem 
regarding to GTK+ (no new version of it since one year) but inkScape 
witch use GTK+ too (but the newer version of GTK+) works pretty fine
so I think as inkscape is a very very good SVG  work bench we have 
to support this format instead of the SVG from Sidopodi (deprec and 
not working under win2k) to favorise the usage of rEBOL/View + svg 
scripts capable + inkscape
Cyphre
21-Jun-2005
[116]
I had to spent *lot* of time to be able show around 60% of SVG files. 
Unfortunately I cannot share the code as it will be part of commercial 
app soon.
shadwolf
21-Jun-2005
[117x8]
Cyphre sure but at last you can share with us you knowledge and experience 
on the topic and this is yet a precious thing ;)
I think taking as dev reference my file new-file.svg made with Inkscape 
is a good start point (this image is simple but a good sample of 
what we need to support :)
THE GIMP is SVG CAPABLE TOO (all OS) so I use InkScape And when I 
ritch a limit with inkscape I make the complement with the gimp :)
I'm preparing a complicated SVG image make with inkscape to have 
a good working base
http://shadwolf.free.fr/fraisier.svg
here you have a like to my haevy  SVG drawing
TheGIMP SVG rendering capability is very poor ...
here is the png to be useas reference for tuning the SVG rendering 
Engine http://shadwolf.free.fr/fraisier.png
Graham
21-Jun-2005
[125]
Doesn't work with this Rebol image : http://www.compkarori.com/vanilla/display/show+rebol+svg+logo
Henrik
21-Jun-2005
[126]
openoffice.org Draw can also save in SVG, if I remember correctly
shadwolf
21-Jun-2005
[127]
yes but then it's hope to the enderer /converteer quality inkscape 
seems to me a very good one
Ashley
22-Jun-2005
[128]
Pekr: the SVG Demo is just a quick and dirty prototype. I'm just 
going to get it to the stage where it can display simple SVG icons 
(for RebGUI). If someone else wants to write an SVG viewer that is 
fully SVG 1.1 (with 1.2 around the corner) compatible then good luck 
... I'm *not* going to be doing that! ;)


yeksoon: see above comments. I'm tweaking the SVG Demo code on an 
SVG icon by icon basis. As long as it works for the icons I use (or 
intend to use) I'm happy - I don't guarantee the code will work with 
anything other than the specific SVG files I have tested it on.


Cyphre: SVG is such a "flexible" standard isn't it? :) One question; 
how did you map SVG "path d" commands (e.g. <path style=... d="M 
10 10 C 20 20 ... z") where there is no "z" command to close the 
"shape" (i.e. the AGG shape command closes by default).


shadwolf: Having our own SVG icons is a good idea as we don't have 
to worry about licence / distribution issues and we can tweak the 
generation to make it as AGG compatible as possible. To do that we 
need to settle on *one* tool so as we generate consistent SVG code, 
and we should generate SVG that uses a single unit of measure, preferably 
pixels, as it's a real pain trying to handle multiple units of measure 
within the same file. I'll continue this discussion in the RebGUI 
group.
Cyphre
22-Jun-2005
[129]
Ashley: Exactly! I love the "SVG flexibility" especially when writing 
parser for it :-) Regarding closing the shape. We haven't seen so 
far any SVG path without Z/z at the end so that's why we decided 
to let the patch closed automatically by default. Maybe we should 
add some keyword to leave shape opened?
Ashley
22-Jun-2005
[130]
Yes please! A large number of the SVG icons I looked at rely on this.
Gabriele
22-Jun-2005
[131]
add a move to the end to keep the shape open
shadwolf
22-Jun-2005
[132x2]
want it be simploer and speeder to adapt our parse / rendering engine 
to a well know rock stable editor I propose inkScape. I yet provide 
two reference files made with inkScape.
I think trying to arrive to the level to inkscape in our own SVG 
DRAW MAKER software will take more than one year to redone it with 
REBOL... So to avoid loss of time we can yet work on the engine for 
rebgui feeting to InkScape SVG format then we can start working to 
our own SVG DRAW MAKER made in full REBOL... One thing that afraid 
me a little is the flexibility of the SVG format as it can be very 
different how to support any SVG file comming from any EDITOR ? For 
me SVG appears to me to be close to what we done with MakeDoc format. 
Today we have many MD like format all very good but to make a Viewer 
in rebol that support them all it wil be very very difficult.