World: r3wp
[!REBOL3 GUI]
older newer | first last |
Henrik 14-Jul-2010 [1987] | That doesn't help anything for platforms that don't use it. |
Graham 14-Jul-2010 [1988] | that's what the host kit is for |
Henrik 14-Jul-2010 [1989x2] | As said, size is not the issue, but managability. The issue is to keep uniformity as far outward as possible in the rebol core. If possible, keep win32 printing as a small mezz library, like DocKimbel has done for R2. |
(size is a side effect of managability) | |
Pekr 14-Jul-2010 [1991] | How big is Cairo lib? IIRC it was over 1MB? I agree with Robert - let's finish what we have. Let's see, what enhancements we can get in. AGG is still a cool library, being used by MANY projects. Just becuase Mozilla honchos could not do any better and choosed Cairo as mostly a political decision (because of author's involvement in the project) does not mean Cairo is any better ... Apart from that, and as Robert says - in future, we can eventually replace it. |
Gregg 14-Jul-2010 [1992] | I agree with not switching right now, but I also think we need to consider the benefits and how we mgith get PS/PDF support. I've though DIsplay Postscript was a great idea since NeXT. And if there's a way, for those who want to include it, to add it as an extension, we don't impact the core. |
shadwolf 15-Jul-2010 [1993x12] | an extension linkin agg and opengl would be awsome and crazy at same time that's sad the developpement stopped |
but there is 2 things differents ... you have the dialect draw wich gives access to the insertion of drawn shapes into a VID face and AGG is the engine can then beanything .... | |
can opengl be used the same extends as AGG hum ... opengl have a heavy mechanics and that's not suited in my opinion for 2D fast over face rendering | |
the thing is draw and so agg can be used on any widget componing VID and that's a hugde constraint what really sux with opengl are those half assed IHM interface i know glut, x and w32 extension that allows the opengl rendering engine to recive user events and then display on screen in the particular area set for it. Those interfaces are not 1% as fun as VID... Vid is total flexibility. we never did that in vid be you can imagine heavy animation using draw dialect on any kind of preset styled face. I think carl tryed to show that with the animated sliding widget when you open a window in his R3 GUI demo. | |
for me doing 2D using opengl always apeared to me as using a nuclear bomb to kill a single poor tiny cute ant ...(ok ant isn't cute...) | |
that doesn't means it doesn"t have it's grace. | |
things like transparency could be handled a way faster using opengl | |
ofcourse the software speudo antialiasing u can find in AGG is just a joke compared to X16 antialiasing buffers that can be found on now in dayx accelarting video cards. | |
comparing AGG antialising and opengl antialiasing is like comparing the sun and the moon ... | |
the moon shines but it's only due to the refraction of the light comming from the sun that's prety much what the normalisation algorithms using in AGG does and they completly sux with tiny chars fonts... making them so blur or fuzzy as you like that you can't read them ... | |
but in agg you don't have a proper way to handle fonts who wants to have flat texels to represent is document or hundreds of png files in memory ... and that where glut and other extensions try to give solutions but the réalisaton is in général ugly. | |
but in opengl you don't have a proper way to handle fonts who wants to have flat texels to represent is document or hundreds of png files in memory ... and that where glut and other extensions try to give solutions but the réalisaton is in général ugly. | |
Graham 15-Jul-2010 [2005] | And Cairo? |
shadwolf 15-Jul-2010 [2006x4] | one thing wich is really needed is the ability to have transparent windows no border no title no background ... a lot of things fun could be done once having that |
graham in general when it starts with cairon or anothing context ... that's a bad sign i mean rebol doesnt formally mention that ... | |
the draw context in a face is always there ... it's embeded in it no need to say HEY YOU KNOW WHAT NOW WE WILL DO A SQUARE IN THIS WINDOWS AND PUT SOME CONTENT in it using some engine | |
that's a cool concept to séparated things and make a dedicated widget that handle this rendering style and wich is mixed with common other widgets | |
Graham 15-Jul-2010 [2010] | You're confusing me ... |
shadwolf 15-Jul-2010 [2011x3] | that's what QT GTK+ WXWindows does |
so things like super posing the regular widget properties of a VID face and some specific draw of another specific rendering engine | |
but i can be wrong the cairo context is maybe just a transparent back grounded abstracted widget you can clip to any face | |
Graham 15-Jul-2010 [2014] | I'm less concerned about coolness then an appropriate license and functionality of an up to date graphics library |
shadwolf 15-Jul-2010 [2015x4] | on a fonctionnality ground cairo have good point |
it embed an SVG engine ( even if i'm sure a rebol / agg one blast it ) support of freefonts support of png (but only this image format where rebol works with jpg etc...) | |
but you have an image surface ... wher you can clip any rvb content ... even opengl buffer ? | |
i mean you can trop opengl rendering in a file why not traping it to a image buffer and then display it | |
Graham 15-Jul-2010 [2019] | the idea of rendering postscript or PDF is very appealing to me |
shadwolf 15-Jul-2010 [2020x2] | i think cairo can be fun but then the question is always the same will the dialect build to interface it with rebol will cover the whole thing or just cover the ground capabilities |
i like the path thing in cairo ... | |
Graham 15-Jul-2010 [2022] | the difference is that we now have the host kit so it can be extended |
shadwolf 15-Jul-2010 [2023x4] | that make me think are bezier curves like thing you set a curve shape and you can draw anything to shape it |
using the cairo path layer you can imagine multi layer drawing something like photoshop's "calques" (sorry it's french lets say masks) | |
but why doing multi layer well to determine an order of was is on top of what when rendering | |
having multi layers means you can then multi thread the rendering 1 layer per thread this will enhance the complexity of what we can display on screen (think about rendering a webpage or a pdf document for example) | |
Graham 15-Jul-2010 [2027] | When are we getting multithreading?? |
shadwolf 15-Jul-2010 [2028x3] | never and even more after probably |
carl said multi thread multi pipe multi core sux for a scripted language async process is better | |
well in fact we had this discution like 10 years before multi core have become the majority of the now in days personal computers | |
Graham 15-Jul-2010 [2031] | async is not going to help get better rendering of multiple layers concurrently |
shadwolf 15-Jul-2010 [2032] | well the fact is cpu are multi threaded multi cored and so are the graphic cards when you render a document with AGG only that the freaking CPU that does the whole rendering work for God's sakes, it's like the computing on the 90's ... ok it's passed it's done it's deprecated and over now we have 650MHz GPU multi rendering pipelined and multi threaded multi cored CPU over 2GHZ per core that's a lot of power and why would rebol be the only one not exploiting that ... And in the near futur (5 years to come) the GPU and CPU will be merged in a single chip high performance. |
Graham 15-Jul-2010 [2033] | Just run a new instance of rebol for each core :) |
shadwolf 15-Jul-2010 [2034] | .... becarefull there's a wolf in my name and those jokes it really don't make fun of them :) |
Graham 15-Jul-2010 [2035] | That's what Cheyenne does .. multiple helper processes |
shadwolf 15-Jul-2010 [2036] | yeah but i'm poor brained ... i like easy to understand concepts when it's too much bricolage like that's make me run |
older newer | first last |