World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Pekr 29-May-2007 [2954x2] | how can be such thing useful? You usually will need either - further draw help, or effect (gradient, well, which can be done by draw too ;-) help .... for simple things, yes .... |
but maybe it makes sense, dunno ... | |
Gabriele 29-May-2007 [2956x3] | this is done for speed and saving memory |
ie it's faster and uses much less memory this way. | |
functionality-wise it's the same - just use n gobs instead of 1 face (could also be 1 gob with draw etc.) | |
Pekr 29-May-2007 [2959x2] | I thought that usually you want simple thing as color be directly the part of each gob ... maybe it is more practical? But I would have to see how I do simple thing as view layout [text red "ahoy"] |
is all text rendering part of rich-text now? | |
Gabriele 29-May-2007 [2961x3] | you do that as view layout [text red "ahoy"] :P |
why would you need a color for an image? | |
why would you need a color for an effect? | |
Pekr 29-May-2007 [2964] | well, of course, you are right ... but how do I do color of text? via rich-text dialect? |
Rebolek 29-May-2007 [2965] | yes probably |
Gabriele 29-May-2007 [2966x3] | gob/color is the background color, it would not be the text color anyway. |
text color is done via rich text dialect afaik. | |
i guess, that if text is a string, there must be a font specification somewhere, with text color in it. | |
Henrik 29-May-2007 [2969] | you say rich-text... so a page with a lot of rich text consists of one gob, not many? |
Gabriele 29-May-2007 [2970x2] | one gob, exactly. |
(one per paragraph maybe. we'll see.) | |
Henrik 29-May-2007 [2972] | ok, I just thought that editing text might be heavier, if it didn't consist of several gobs. |
Rebolek 29-May-2007 [2973] | as I understand it, you can have whole UI in one gob - if your UI will be done as one draw dialect block. probably not the fastest way anyway :) |
Gabriele 29-May-2007 [2974] | correct. |
Henrik 29-May-2007 [2975] | so, can gobs be instanced? like many faces that share the same font object |
Rebolek 29-May-2007 [2976] | what I don't like (but the design is still not finished so this may change) is that there is separate draw and effect block. I think R2 way (draw in effect) is much more flexible. Probably merging those two dialect would be best. |
Gabriele 29-May-2007 [2977] | rebolek, most of the times you are not using both. and using layered gobs is going to be faster, probably. |
Rebolek 29-May-2007 [2978] | Gabriele, you should check code of some of my demos if you think I'm not using both ;) But if layering is faster then OK |
Gabriele 29-May-2007 [2979x5] | i expect layering to be faster, because if you change one layer, it is not always necessary to recompute the other layers. |
but... you guys need to ask these questions to cyphre :) | |
henrik: current docs do not talk about anything that could be shared, except the effect/draw/text blocks themselves. | |
that is, there is no font subobject. | |
i assume font object is referenced from the text block, so if you reference the same from many text blocks you are sharing it. | |
Henrik 29-May-2007 [2984] | gabriele, ok, bad example. I was thinking more like for a star field, you could use one gob, referenced many times. |
Gabriele 29-May-2007 [2985] | they would all have the same offset and size then :) |
Henrik 29-May-2007 [2986] | ok, so you reference one image in many gobs? |
Gabriele 29-May-2007 [2987x2] | so, you'd have many gobs, maybe referring to the same effect or draw block. |
or image - yes. | |
Henrik 29-May-2007 [2989] | yep, ok |
Gabriele 29-May-2007 [2990x3] | on gob: |
Carl: "Ask if they remember what great graphics system used "boogers and goobers". ;)" | |
Carl: "If we had to pick worldwide perfect names, we'd have very few to pick from. Also, when you define a word, it is context dependent. It very rapidly takes on its new meaning and loses the out-of-context meaning. Also, if they can create a better 3-letter name that starts with G -- then I am open to hearing it. But, it must happen very soon." | |
Henrik 29-May-2007 [2993] | goo :-) |
Gabriele 29-May-2007 [2994x2] | :) |
i'll wait a day or so then collect proposals and send them to Carl. don't keep your hopes to high though ;) | |
Pekr 29-May-2007 [2996x3] | so it has to start on "G"? |
gfx | |
but then gob! is maybe a better name, it just sounds kind of devilish to me :-) | |
Pekr 30-May-2007 [2999] | Gabriele said: "i assume font object is referenced from the text block, so if you reference the same from many text blocks you are sharing it." my question is - is current aproach replacement for classes which were proposed for R3 initially? - http://www.rebol.net/r3blogs/0035.html |
Graham 30-May-2007 [3000] | VIS - view image structure , and the french word for face :) |
Pekr 30-May-2007 [3001x3] | So far proposed words: gob! face! gfx! cell! atom! layer! vis! sprite! bob! blit! |
well, I added few others :-) | |
well, if face is about to stay as highere level organisation of gobs, and we have facets, feels, what about eye? :-) | |
older newer | first last |