World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Volker 22-Jun-2005 [1650] | Ashley mentioned he has something small. And Cyphre has too, but commercially closed. |
Graham 22-Jun-2005 [1651] | Cyphre can't use his code .. but that doesn't mean he can't take the knowledge and apply it |
Carl 22-Jun-2005 [1652] | Pekr: I know that Cyphre has put a few large city maps into DRAW, and they looked pretty good. We just need to get him to tell us more about it. |
Graham 22-Jun-2005 [1653] | unless there's a non compete clause. |
shadwolf 22-Jun-2005 [1654x2] | http://www.dobeash.com/files/svg-demo.zipfor Ashley SVG renderer drawer script |
AShley rocks but inkscape ouput is not supported until now | |
Volker 22-Jun-2005 [1656] | Ashley promised to add more rocks when we start with small (as in features) images and grow. |
shadwolf 22-Jun-2005 [1657] | http://shadwolf.free.fr/fraisier.pnghttp://shadwolf.free.fr/fraisier.png |
Pekr 22-Jun-2005 [1658] | do you ppl think that SVG along with CSS are future of web? That html as we know it today, will be put to rest in few years? |
shadwolf 22-Jun-2005 [1659x4] | this is my first big image draw intent with inkscape ... |
sure the ideal thing would be to have a rebol clone of inkscape ... But this will take lot of time to write ... | |
http://shadwolf.free.fr/fraisier.png | |
sorry for the bad link ... | |
Volker 22-Jun-2005 [1663] | btw instead of those zips, should we change to view-desktop for demos? |
Pekr 22-Jun-2005 [1664] | I want rebol clone of Scala multimedia better :-) SVG is nice, but I want things to move and move fast and smoothly - impossible today ... |
shadwolf 22-Jun-2005 [1665] | the only thing that I wasnt able to do is use TTF font files with Inscape |
Carl 22-Jun-2005 [1666] | Pekr: on Scala - yes me too! |
Pekr 22-Jun-2005 [1667x4] | we should integrate fmod for sound, and bitstream for fonts - even Qt uses bitstream and the basic engine is under 150KB? |
Carl - what would be needed? My impression is, that smooth scrolling is not possible with Win32 API? | |
I remember talking to Dave Haynie and he told me, that when working in Scala, they had to code own sub-os, to get precise timers, synchronisation etc. So - dunno. Took lots of work for them. And Rebol has to be cross-platform, so, maybe it is impossible to achieve. But you know better - you're the media guy! :-) | |
If all is needed is DirectX - then go for it, I think it is on every Windows machine nowadays ... | |
Graham 22-Jun-2005 [1671] | Pekr, how long ago was that? Hardware has got more powerful ... Moore's law |
Pekr 22-Jun-2005 [1672x4] | and btw - will min-face concept help in that regard? |
Graham - it is basic logic - try to move face per pixel - you get very jerky result, slow. Then download some Scala demo - AMAZING. You will FEEL the difference. And Carl told us some time ago, that rebol already uses double-buffering ... | |
... so my question is rather simple - can it ever be done, using plain Win32 API? | |
IIRC Carl also planned to improve granularity of event system, introduce view plug-ins, but I don't know ... | |
shadwolf 22-Jun-2005 [1676] | hum directX this means bye bye portability .. |
Graham 22-Jun-2005 [1677] | I think that you need to look at where Rebol/View is going to be used, and decide how best to improve those areas where the market opportunity is greatest. Is smooth animation that opportunity? |
Carl 22-Jun-2005 [1678] | These are things to be added... but by a team of people. Should move this discussion out of this group. |
Volker 22-Jun-2005 [1679] | switching group? but graphcs is important to rebgui! :) |
Graham 22-Jun-2005 [1680x2] | Most of us just want a decent cross platform development toolkit. |
that is complete in it's widget set. | |
Volker 22-Jun-2005 [1682] | dx can be wrapped and made cross-plattform. |
Graham 22-Jun-2005 [1683] | Even though the embedded market is important, the desktop market is much more important .. IMHO |
Carl 22-Jun-2005 [1684] | I agree with that statement. |
shadwolf 22-Jun-2005 [1685x4] | I found the proper SVG output format for InkScape it's SVG Plain text (this format is lighter than the normal SVG output fomat |
here is the fraisier.svg version ;) | |
http://shadwolf.free.fr/fraisier-plaintext.svg | |
we save 4ko and the format seems to be more close of the one of Sodipodi (witch have been used to draw the iconset gived by Ashley in svg-demo.zip) | |
shadwolf 23-Jun-2005 [1689x3] | I'm playing with ashley's svg-demo.r script code in order to understand it and know what are missing in it. I took as reference the blender.svg file because it's tiny and half rendered. I constate that <g></g> block that encap transformations and transformed things is not support and LinearGradient is not supported too ... |
How can I handle in DRAW/AGG the transform matrice ability ? | |
better changing to AGG groupe sorry | |
Normand 27-Jun-2005 [1692] | do %rebgui.r display "RebGuiTest" compose/deep/only [ label "Query" t: text 40 "" return a: area 100x50 "In the beginning, " button "Insert" [ insert a/text "Title{}" ; edit-text a enter insert tail a/text "And from a barely documented VID, a need for something bare but easy to document: RebGui. And the user saw it was good." ; edit-text a enter show a ] do [at face/pane/3/text 10 insert tail face/pane/3/text "there was View 1.3. "] ] ; End Display do-events How to move the cursor to inside the brackets of Title{->Here<-}. How to enter a newline, and more generally use the function defined in rebgui-edit.r into the area? ** Script Error: edit-text has no value ** Where: action ** Near: edit-text a enter More generally, how to enter a string and move the cursor after the insertion of it. Thanks for an answer to this 'II am New' question pertaining to RebGui. |
Ashley 27-Jun-2005 [1693] | This should get you going: display "Test" [ a: area 100x50 "Title {}" do [ rebfocus a system/view/caret: back system/view/caret show a ] ] The RebGUI edit-text function (and indeed the majority of the edit context) is designed to be used from within RebGUI widgets ... it's not "user-space" functionality. Manipulating text and / or focus is done via the standard view mechanisms (system/view/caret, focal-face, highlight-start & highlight-end) ... RebGUI just provides an encapsulated front-end to these. Depending on what sort of operations need to be performed (e.g. move the cursor to the Nth character), we can certainly add additional user-space functions (much like rebfocus), we just need to define what these functions are and how common their use would be. |
shadwolf 30-Jun-2005 [1694x3] | I have done the set of svg icons you ask me using inskscape plain text svg (the lighter svg format ...) you can get it here http://shadwolf.free.fr/RebGUI-svg-icons.zip .It's not author marking and it's my own work so no problems with rights issue. |
I hope you will found them reliable ... | |
now we have to focus on the widget SVG that can renderise them ;) | |
Ashley 30-Jun-2005 [1697] | Looks good under Opera. Has the SVG renderer you and Vincent have been working on got to the stage where it can display these? If so, post a link and I'll integrate that in. The entry point will be a function named 'load-svg in a separate file so we don't have to worry about "widget clutter", and I've already added a new 'icon widget and updated toolbar widget which use the 'load-svg function ... so we should be ready to go. |
shadwolf 30-Jun-2005 [1698x2] | actually not because we have several problems on recursion group interpretation on gradient effect (fill and for border line fill) so now we are trying to make a better engine that can be use more efficient ly rebol object! properties we are basing our work on xml-to-object function ... |
SVG format is so blury that you can't match it to a predeterminate struture you have to do a structure analyst for each leaf of the the object tree then get the needed information from leaf and nodes then convert them to rebol then apply the draw | |
older newer | first last |