On Sat, 12 May 2007 07:14:04 GMT "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
babbled:

> 
>       Carsten wrote:
> 
> > personally, as an intermediate-step i'd like to simply be able to
> > modify the FILL of an image (or text object) so the FILL can be
> > transformed (we need to be able to disable tiling for images).
> > this will then allow for us to provide transformed image data but
> > within a rect - allowing us to worry about events later but get the
> > benefits of the visual elements now.
> 
>       I've already done all this. No need to 'disable tiling',
> that's what the fill-spread modes are for. Recall the shaped-gradient
> I once sent? Same thing.. except that here we take into account
> borders and hq down scaling (for the software engines). The gl engine
> is still a problem - if one wants to do things strictly with gl - since
> I need code to render to a texture buffer (though it may be possible
> to use a quad mesh or some such?).

doing transformed fills in gl is easy - you just need to work out the quad
corner points and then draw 1 or more textured quads (probably using gl's clip
to limit the draw). that doesn't obviate the need for render-to-texture :)

> > yup. you can convert a scale + rotate INTO a transform matrix,
> > but not the other way around (easily).
> 
>       Not difficult - it's impossible in general.. and much depends
> on the order one wants the transforms to be applied.

in simple cases it's possible - but not generically. if it happens to be a
simple translation, or scale it's doable. rotation at the same time will make
it hard- add in shearing and you are really going to have a hard time.

>    jose.
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to