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

Cyphre
3-Jan-2005
[1]
Created AGG group because some of you wanted links for some of the 
AGG demo scripts from Rebol2 world. Also feel free to discuss anything 
related to AGG, View, graphics etc.
Guest
3-Jan-2005
[2]
thanks
Cyphre
3-Jan-2005
[3]
http://cyphre.mysteria.cz/agg-demo-01.r
Guest
3-Jan-2005
[4]
you had some font shape effects that were pretty impressive, can 
you pls post those ?
Ryan
3-Jan-2005
[5]
I was looking for an AGG demo, thanks!
Cyphre
3-Jan-2005
[6]
just a moment..I'm on slow connection so it will take some time when 
I find the links...
Ryan
3-Jan-2005
[7]
Excellent!
Guest
3-Jan-2005
[8]
i was surprised nobody was shouting for Draw/AGG ! This clearly opens 
the door to many possibilities. Cyphre, could you pls give us a brief 
update of where the project is going and your opinions on the different 
possibilities ?
Cyphre
3-Jan-2005
[9]
here you are few links I posted in the past:

http://cyphre.mysteria.cz/rebol-agg-faces.jpg

http://cyphre.mysteria.cz/agg-rebol.jpg

http://cyphre.mysteria.cz/agg-image-patterns.jpg
Guest
3-Jan-2005
[10]
can you pls post again the code sample for the agg-image-patterns 
that you had posted on the original rebol world ? thxs
Cyphre
3-Jan-2005
[11]
After succesfull implementation of native affine transformations 
we are solving the rest of items on our 'to-do beta' list. I cannot 
tell you more for now but stay tuned. I believe the beta release 
of View/AGG will be very soon.
Guest
3-Jan-2005
[12]
is there public info on the to-do beta list ?
Ryan
3-Jan-2005
[13]
I am drooling in anticipation!
Cyphre
3-Jan-2005
[14]
This is internal list but maybe you can ask Carl about more information. 
(try it in Blog chat channel?)
Ryan
3-Jan-2005
[15]
Any enhancement for ray casting?
Cyphre
3-Jan-2005
[16]
(please note I'm working on agg project as a volunteer and I'm not 
RT member or speaker so I cannot tell you anything more..you have 
to ask Carl or anyone from RT)
Guest
3-Jan-2005
[17x2]
pen doesn't make contour around filled polygons 

Rebol/View crashes when drawing filled poligons partially out of 
visible face area = you cannot zoom/move any object out of face borders 
- very annoying problem (this problem doesn't crash latest Rebol/Link...instead 
of it interpret shows "not enough memory" error) 

DRAW's 'text command doesn't recognize underlined font style (manipulating 
text will be explained in the next issue of ZINE...Watch out!) 
my enhancement dreams:


missing 'ellipse command - why there is no posible to make elipse 
when 'circle is available?!? 

missing 'point or 'dot command - currently you have to write [line 
10x10 10x10] to make single dot at 10x10 coords on the screen 
missing 'round command - DRAW cannot make arcs in a simple way 

missing 'fill-pattern command - for simple texturing of filled polygons
Cyphre, you had posted this in REBOL/Zine 30 months ago. I imagine 
all of this is not an issue anymore, right ?
Cyphre
3-Jan-2005
[19x2]
this is the code whith image-patterns:


fnt: make face/font [size: 240] view layout [box 800x260 white effect 
[draw [pen logo.gif font fnt text 1 "REBOL"]]]
all those issues I mentioned in the REBOL/Zine are solved (some of 
them even in non-agg alpha/beta versions)
Ryan
3-Jan-2005
[21]
impressive
Cyphre
3-Jan-2005
[22x2]
Use any experimental code at your own risk as this code and syntax 
is related to View ALPHA versions and is subject to cange in future 
versions.
have to leave now...talk to you later guys
Ryan
3-Jan-2005
[24]
Thanks for all!!!!!
Guest
3-Jan-2005
[25x3]
Thanks a lot. Hope carl provides more info soon!
img: draw 50x50 [fill-pen green box 0x0 50x50]
view layout [image img]   and I get a left top 1 pixel border. Is 
this a bug ?
Ryan
3-Jan-2005
[28x2]
Suggestion regarding blog 71 & 77: 'push is too confusing from a 
graphical point of view since push would make most people think of 
moving an object in that context, not a stack operation. 'Group is 
decent, but you may consider the word 'invoke to focus on an operation 
taking place. 'Invoke also works well with the push pop schema. 'Enact 
is also a good one.
speed & ease of use are very important. Perhaps splitting interface 
into a low level speed way, and the high level easy way would be 
the wisest decision. Matrix is cool, but its not obvious to use to 
those that have yet worked on that level.
Cyphre
3-Jan-2005
[30]
Guest: this is not a bug. Try this code:

img: draw 50x50 [fill-pen green box 0x0 49x49]
view layout [image img]
Oldes
3-Jan-2005
[31]
it seems to be bug to me
Cyphre
3-Jan-2005
[32]
you have to take in mind that the coordinate system starts from 0x0 
not 1x1. The white border is a 'stroke'  rendered by PEN (which is 
set to white by default). So if you want just plain box you have 
to write:


 view layout [box 50x50 effect [draw [pen none fill-pen red box 0x0 
 49x49]]]
Oldes
3-Jan-2005
[33]
hmm
Cyphre
3-Jan-2005
[34x2]
ups, the last line should be:


view layout [box 50x50 effect [draw [pen none fill-pen red box 0x0 
50x50]]]
(because the stroke line is not rendered in that case)
Guest
3-Jan-2005
[36]
thanks. I can't wait to use draw/AGG effects !
ReViewer
6-Feb-2005
[37]
Is there a replacement for key effect? my trials are not what I expected 
regarding that...
Cyphre
7-Feb-2005
[38]
keying at level of DRAW is not supported in the latest alpha of Rebol 
with AGG. You can yse the KEY command in the EFFECT blocku though. 
I'm looking into this so this feature will be hopefully back in the 
betaversion of Rebol/AGG release.
Tomc
22-Feb-2005
[39]
will native matrix operations be exposed with AGG?  if so which ones?
Cyphre
23-Feb-2005
[40x3]
yes,  AGG will support 2D affine transformation matrices. So you 
can apply translation, rotation, scaling and inversion on  the actual 
matrix.
You will be able to define the matrix content directy using block! 
of 6 values.(this is more for advanced users or useful with some 
kind of vectorial format conversions)
You will be able to use also matrix stack and PUSH/POP different 
statest of matrix. This will allow nested(hierarchical)  transformations.
Tomc
23-Feb-2005
[43]
so how about matrix multiplication and transpose -- non-graphics 
specialized maths
Pekr
23-Feb-2005
[44]
general matrix operation? I am not sure it belongs to AGG, but we 
asked for it long time ago :-)
shadwolf
10-Jun-2005
[45]
I want to thank Cyphre for all his test scripts in REBOL/View/tests/. 
Very a good good source of inspiration  and a perfect show room for 
the AGG capabilities ...
Ashley
10-Jun-2005
[46x2]
Agreed. Has anyone done (or is working on) an AGG based SVG renderer? 
Or an SVG2DRAW converter? If so, there's a wealth of SVG content 
out there that we could use ...
I'm thinking SVG icon sets for a start.
Graham
10-Jun-2005
[48]
we made a start a couple of years ago but didn't get far
http://www.compkarori.com/vanilla/display/SVG+Dialect
Gabriele
10-Jun-2005
[49]
ashley: IIRC, Cyphre has a SVG parser that outputs a draw block. 
but i think it was unfinished.
DideC
10-Jun-2005
[50]
Yes he has. The Tiger head was "stolen" from an SVG source ;-)