Re: Warping an image with a Bezier Path
Re: Warping an image with a Bezier Path
- Subject: Re: Warping an image with a Bezier Path
- From: Marcel Weiher <email@hidden>
- Date: Sun, 19 Jan 2003 01:54:51 +0100
On Saturday, January 18, 2003, at 11:53 Uhr, Seth Willits wrote:
Is it possible to warp an image to fit into fully enclosed bezier path?
For example, if you can imagine the shape of a typical trophy where
the top and bottom are perfectly flat and the sides curve out and then
back in as they go from the base to the top of the trophy, how can I
take an image and warp it to fit inside that space? I don't want the
trophy shape to mask the image but I want to contain the entire image
in the trophy.
This sounds like the trophy is a 3D object. Why not make it that and
then map the image onto this surface as a texture, all with OpenGL?
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.