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
5-Oct-2005
[514]
warn me when update is done ^^ I could finalise my SVG renderer widget 
for rebgui  ^^
Christian
9-Oct-2005
[515]
would it be possible to create a /view version for linux w/o need 
for an x server?
DideC
10-Oct-2005
[516]
Without X, no display except console. So it's not View anymore.
What do you need from View that is not in Core ?
Christian
10-Oct-2005
[517x3]
I'm only interested in dynamically generating images on the server 
for delivery within web browsers. That's another fantastic use case 
for REBOL/View.
Think chart servers, sparklines &c.
I'm quite reluctant to install X on a _web-accessible server_ just 
for /View, tho (and, hopefully, so is everyone else). Even the Java 
folks got that right, eventually - Java can run in "headless" mode, 
and yet allows people to access graphics functionality like Java 
2D &c.
Robert
10-Oct-2005
[520]
What you need is rebface
Volker
10-Oct-2005
[521]
maybe vnc is a compromize? i guess rebface wants x too, for fonts?
Gabriele
10-Oct-2005
[522]
Command allows you to use images and the effect pipeline without 
view functionality, afaik.
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
[563]
yeah! :-)