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

Christian
12-Oct-2005
[523]
Do recent /Commands include AGG already?
Cyphre
13-Oct-2005
[524]
I don't think so. You have to wait for the new Command SDK or write 
to RT's feedback.
Graham
13-Oct-2005
[525x3]
Done that.
any change ever of a native pdf browser ?
*chance*
Pekr
13-Oct-2005
[528]
pdf browser? what dao you mean?
Graham
13-Oct-2005
[529x2]
a way to view PDFs from Rebol without using anything else.
maybe we would need ghostscript installed as well to get all the 
fonts...
Pekr
13-Oct-2005
[531]
pdf maker is not enough?
Graham
13-Oct-2005
[532]
That allows you to make pdf . not view them.
Pekr
13-Oct-2005
[533]
hmm, but how you want to achieve that? You would have to have complete 
PDF specification parser and convert to AGG to display ...
DideC
13-Oct-2005
[534]
Acrobat ;-)
Pekr
13-Oct-2005
[535]
:-)
shadwolf
17-Oct-2005
[536x3]
use MDP ^^
serriously  it will be easier for you to use MakeDoc Pro and MDP-BRowser 
and enhance the mdp-engine capability to generate pdf docs...
than writiting to VID a performant  PDF renderer engine ...
Rebolek
21-Oct-2005
[539x4]
I was cleaning my FTP accound and I found AGG Animation engine I 
wrote year ago. It's probably not finished, but there's a small working 
demo. >> do http://krutek.info/rebol/aggregator-cleaned.r
Anim is 33 lines long and the engine is cca. 140
the dialect looks like this:
shape 'txt-i [
		fill-pen 255.0.0.50 font boldfont text 1 350x200 "rebol"
	] action [
		frame 1 show zoom 8 8 center 350x200 to-frame 55 
		frame 1 fade fill-pen 255.0.0.0 to-frame 15 
		frame 200 move -600x0 to-frame 250
	]
Geomol
21-Oct-2005
[543]
cool!
Rebolek
21-Oct-2005
[544]
Thanks:)
Izkata
21-Oct-2005
[545]
O_O  Nice!
(saves)
Geomol
24-Oct-2005
[546]
Cyphre, do you have any news about, when we'll see your different 
fixes in a release?
Cyphre
25-Oct-2005
[547]
Geomol, please be patient, lot of cool things is happening right 
now ;) I think Carl is planning to build a new View with updated 
AGG very soon.
Pekr
25-Oct-2005
[548x2]
Cyphre, speak, please - what cool things?
but some folks need some things to move on, shadwolf will surely 
want to know the status of SVG compatible gradients offsets :-)
Henrik
25-Oct-2005
[550]
I would guess one thing would be direct rendering instead of using 
SHOW? it would speed up many operations dramatically...
Pekr
25-Oct-2005
[551]
direct rendering modes were promissed some time ago, who knows when 
we get those :-)
Henrik
25-Oct-2005
[552]
I hope it gets there soon, because it's about the only thing that 
is slowing rebcode down right now.
Pekr
25-Oct-2005
[553]
'show is slowing the rebcode? well, it can be, that is right ... 
better timers would not hurt too :-)
Henrik
25-Oct-2005
[554x2]
it's probably depending on the graphics driver, but it doesn't really 
matter what I do, whether its rebcode, AGG or VID, things slow down 
to a crawl when going full screen. I did some time profiling which 
showed that SHOW takes up probably more than 75-90% of a drawing 
cycle, much depending on resolution. removing that obstacle or making 
SHOW more intelligent will speed animation up a lot.
I'm trying to do thumbnails with AGG. doesn't it do subsampling when 
scaling down an image? It looks just as choppy as with the old DRAW.
Volker
25-Oct-2005
[556]
thee is a switch for anti-aliasing. Do not know if it is by default 
on or of though.
Henrik
25-Oct-2005
[557]
it works when you scale up, but not when scaling down. anti-aliasing 
is on by default
Geomol
25-Oct-2005
[558]
Huh!? I'm using DRAW to resize a brush in Canvas, if AA is on. Try 
paint a one pixel line with AA off, then turn AA on and hit 'h' to 
halve the size. Isn't it doing it, like you want?
Henrik
25-Oct-2005
[559x2]
it seems it does...
the quality is strangely poor on images
Geomol
25-Oct-2005
[561]
Henrik, I use this code:
draw newbrush [scale scalex scaley image brush-image]
Henrik
25-Oct-2005
[562]
scale is a direct DRAW command?
Geomol
25-Oct-2005
[563x2]
yeah! :-)
http://www.rebol.com/docs/draw-ref.html
Henrik
25-Oct-2005
[565]
ahh... I was looking for that document. thanks.
shadwolf
26-Oct-2005
[566x2]
shadolf i dead waiting lol  ... Well SVG renderer widget  for RebGUI 
is not a urgent stuff at all ... Well yes if the 2 needs i have are 
integred to next rebol/view AGG  release it would be really nice 
this will allow us to enlight  rebGUI look with scalable graphics 
^^. next thing once the 2 needs i have are available will be to work 
on the renderer engine widget to make it as fast as possible to allow 
a lot of  SVG content to be rendered without impacting rebgui performencies.
we have to fixe too the usuabilitie of SVG content into RebGUI too 
but i think this is a last issue to discuss .Ashley propose the idea 
of a svg renderer widget to be included into RebGUI. I took his code 
and propose a more advanced version and this work allow me to pop 
out some needs to perfectly comply  the rendering task. But the main 
discution on what we are going to do ith the renderer once we have 
it is not started yet. I think many things can be expected from a 
SVG renderer widget in REBGUI  but then  it depends too on the quality 
to the resulting renderer.
Cyphre
4-Nov-2005
[568]
A little survey for DRAW programmers here in this world::

We are thinking about a possible  separation of the gradient functionality 
from FILL-PEN command as this command is going to have too much argument 
combinations. What do  you think about this? Any better ideas? Or 
are you satisified with only two pens(for fill and for stroke)  in 
DRAW?
Terry
4-Nov-2005
[569]
FYI.. here's what the latest Flash player is doing with grads.. 

Enhanced stroke properties

Select from a variety of cap and join 
types. Apply a gradient to a stroke as well as a fill. Render stroke 
intersections better with stroke hinting.
Advanced gradient control

Tighter 
control over gradients such as changing the focal point of a radial 
gradient and selecting from different overflow modes. 
Cyphre
4-Nov-2005
[570x2]
99% of this you can do in current rebol too.
Maybe I should have note that Rebol with crrent Rebcode is far more 
faster than Flash8.
JaimeVargas
4-Nov-2005
[572]
Even w/o direct blitting?