|
From: Edward K. C. <ek...@lg...> - 2010-03-16 17:18:46
|
On 2010-03-15, at 4:01 PM, James Walker wrote: > On 3/15/2010 11:03 AM, Edward K. Chew wrote: > >> Just wondering if there is any sample code for creating texture maps >> using CGBitmapContext and the like? I think I see what I need to do, >> but there may be some potential gotchas and most of the examples I've >> come across seem to deal with Quickdraw-era stuff like gworlds. >> Basically, what it comes down to is I have a client who wants to be >> able to import PDFs into rectangular sheets floating around in the 3D >> model, and Quickdraw is not so great with PDFs. > > I don't think I have any good sample code I could post... I'm using a > somewhat convoluted scheme where a framework calls an application > callback to get pixel data, which might be from a CGBitmapContext, and > then passes it to Quesa. But I could discuss any issues you're worried > about. > > -- > James W. Walker, Innoventive Software LLC > <http://www.frameforge3d.com/> Thanks James. Well, I guess I'll press ahead with what I've got and let you know if I hit a snag. -Ted |