Is there a simple way to make the surface of a Wodnerland Texture reflect the dynamic state of a morph (e.g., an ImageMorph or a FishEyeMorph)?
Cheers, Bijan Parsia.
On Wed, 1 May 2002, Bijan Parsia wrote:
Is there a simple way to make the surface of a Wodnerland Texture reflect the dynamic state of a morph (e.g., an ImageMorph or a FishEyeMorph)?
Going with the working assumption that it's not declasse to solve one's own problem, the following is the key to a solution:
<CSOTD> "This must be executed in a Wonderland Script editor w makePlaneNamed: 'test'.
test1 doEachFrame: [test1 setTexturePointer: (Form fromDisplay: (28@514 corner: 158@644)) asTexture]. "In this case, I'm grabbing the form from the display. The rect is where I have a fisheye morph. But so long as you can extract a Form, this should work." </CSOTD>
I love Squeak. The Alice stuff is really working nicely. Both Jeff's nuBlue book chapter and Mark's presentation are very helpful.
Cheers, Bijan Parsia.
squeak-dev@lists.squeakfoundation.org