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

Oldes
2-Feb-2006
[749]
Sorry Cyphre, but if you want to make thumbnails, you need possibility 
to save them as JPG. PNG is too big for thumbnail and there are still 
problems with this format. Forexample today I had problem when I 
wanted to use PNG as a background texture with IE.
Rebolek
2-Feb-2006
[750]
It's not problem with PNG but with IE. Result is the same, I know.
Cyphre
2-Feb-2006
[751]
Oldes. The discussion was about image quality when rescaling. Not 
about distirbution formats. But anyway, you can convert the PNG output 
from Rebol using some third party tool or library on-the-fly to JPG. 
This is no problem. AFAIK jpg saver is not included in rebol because 
of its binary size. But maybe in Rebol 3.0 we could porvide it as 
an module? ;)
Henrik
3-Feb-2006
[752]
a workaround is to blur the image a few times before scaling it down. 
A little time consuming, but if you need HQ thumbnails right now... 
:-)
shadwolf
21-Feb-2006
[753]
cyphres did you looked at my  SVG rendere and the matrix problem 
in it ?
Cyphre
28-Feb-2006
[754]
not yet, but I have it on my 'todo' ;) ...will let you know in a 
few days.
Graham
18-May-2006
[755]
AGG and flash rendering... Cyphre, what's your view on this news?
Cyphre
18-May-2006
[756]
I'll be reviewing the new official version of AGG (2.4) very soon. 
Maybe we could put the Flash rasterizer into DRAW dialect (it depends 
how much usable it is in real world, also how much code increase 
ould cost etc.
Graham
18-May-2006
[757]
Ok.
Cyphre
18-May-2006
[758]
But this type of rendering is usable only for relatively easy reproducing 
Flash shapes. I don't think it could be usful for some other things.
Graham
18-May-2006
[759]
Cartoons? :)
Cyphre
18-May-2006
[760]
ie. you have to have parsed the .fla or .swf file to get the shapes. 
Beacause the compound shapes are generated by Flash IDE (this is 
not an easy process) to achieve validity of the rendering.
Pekr
18-May-2006
[761]
hmm, I thought we could use Flash IDE tools, "export" curves and 
let it be "played" by rebol/agg :-)
Cyphre
18-May-2006
[762]
yes, that is the only purpose..but by 'exporting' you have to parse 
the fla/swf to get the compound shapes. All other formats works in 
SVG-like rendering way (ie shapes are z-ordered and rendered one 
over another)
Volker
18-May-2006
[763]
Would make it easier for flash-knowing artist.
Cyphre
18-May-2006
[764x2]
Usually Flash-atrist don't event know how Flash interpret and render 
his gaphics :)
But I agree this feature could be handy for Olde's Rebol/Flash dialect 
tool.
Volker
18-May-2006
[766]
But they know the drawing-tools?
Cyphre
18-May-2006
[767x2]
The usage would be FlashIDE->Rebol/flash convertor->DRAW
So someone would have to make the Rebol/flash convertor for them 
to be able render it in Rebol. Maybe a good enhancement for Oldes? 
;)
Volker
18-May-2006
[769]
WHich means save flash and click rebol-viewer (with integrated extractor?
Pekr
18-May-2006
[770]
I thought that Flash tools are able to export to text file thier 
curves and commands :-)
Volker
18-May-2006
[771]
Then we need an action-script-<rebol converter. Which is javascript 
at the same time. And thanks to google we can then run java in rebol. 
hehe :)
Cyphre
18-May-2006
[772x2]
yes, afaik you can export to many formats for m the IDE. But the 
trick is in the way how the cureves are described ;)
You would have plenty of work with converting SVG exported file from 
Flash IDE back to the Flash compound shapes ;)
Volker
18-May-2006
[774]
Which means you need either a clever parser, or a call to new AGG.
Cyphre
18-May-2006
[775x3]
have a look here to get the idea how Flash renders:
http://blogs.msdn.com/mswanson/archive/2006/02/27/539749.aspx
it is efficient way (as the result is rendered in one pass) but it 
needs lot of more work to define the shapes properly ;)
AFAIK no other publicly known graphics system is using this method.
Pekr
18-May-2006
[778x2]
well, Cyphre, then we need you to come-up with commercial Rebol native 
Authoring tool - you know - we want to beat Scala, right? :-)
Cyphre - can you talk about new View internals? Gabriele sheds some 
light on some topics here from time to time, but very little was 
said about View. The only thing we know from blog is, that even system 
was replaced ....
Cyphre
18-May-2006
[780x3]
I'm not agains that the Flash rendering support in DRAW but this 
needs to be well designed. I'll probably discuss it woth Oldes as 
he is very deep in Flash internals. I believe we will find some elegant 
way ;)
Pekr: I cannot tel you much news at the moment. Watch the blogs ;)
BTW I'm currently working on some DRAW fixes from RAMBO. So I'd like 
to ask all DRAW users: If you have encountered a serious bug which 
is not in RAMBO, please put it in so they can be fixed in this round.
Pekr
18-May-2006
[783]
I think that guys are interested in SVG compatibility issues, to 
have SVG compatible renderer :-)
Graham
18-May-2006
[784x2]
How about a way to change the coordinate system?
I'd like to see a way to set 0,0 to bottom left ...
Volker
18-May-2006
[786]
How about exposing the math? To map mouse back to faces, as in Antons 
demo?
Graham
18-May-2006
[787]
What do you think?
Cyphre
18-May-2006
[788]
Wait guys ;) I was asking for bug reports not for new features :) 
But feel free to add those to RAMBO as  wishes to not forget on them.
Volker
18-May-2006
[789]
How far can transformation go? can it turn things upside down?
Graham
18-May-2006
[790]
I think using top left 0,0 is a bug :)
Volker
18-May-2006
[791x3]
But common on screens.
also similar to line-counting. top line is first line, not #66
but for diagramms it is terrible *nod+
Cyphre
18-May-2006
[794]
Graham: lot of people could think writing from letf to right is a 
bug too :)
Graham
18-May-2006
[795x2]
but that's for text.  Not for drawing.
mathematics uses Cartesian coordinates
Cyphre
18-May-2006
[797]
BTW you can very easily change the coordinate system even now.
Graham
18-May-2006
[798]
How?