Oh, but I've always got ideas (well, almost always). :)
If you want to animate a texture you'll need to do one of the following:
1. Make a texture out of a cast member or an image object.
2. Update that cast member or image object.
3. Reset the texture's image or member property using the updated member or image.
4. Update the stage (usually handled by Director/SW of course)
5. Return to step 2.
If you create a texture object using Lingo, that texture will have both a member and
an image property. Updating these properties with a new image, a new member or an
updated member will update the pixels that compose the texture with the new
information thus giving you an animated texture.
RealVideo is very easy to use because the Real members play at the member level (no
sprite needed) and the member supports the image property. So if you can handle the
bandwidth requirements this is a straightforward means of animating textures. You
could also use QuickTime as a texture but that will require the usual wrangling of the
QT member to get its image (there must be a sprite on stage in order to get a QT
image). Here is an example of using a sprite on stage (a non-DTS QT sprite in this
case) to create animated texures:
<http://www.score.de/3d/demos/Qtdemo.zip>
(courtesy of Christophe Leske)
If you want to be nicer to the download pipe then I'd suggest having some fun with
imaging Lingo that manipulates a texture's image and then you throw that image onto
the texture repeatedly. This will be fast (imaging Lingo is quick) and effective, and
it also avoids clogging the download pipe, but it will require you to write the Lingo
that manipulates the image object.
Of course, all of the above deals with "animating" in the sense of a linear frame
animation sequence. You can also play with the textureTransform property to physically
move the texture about the surface of a model if that's your intention (Colin already
posted some info about this).
How's that sound? Enough to get you going? If not then let us know.
Cheers,
Tom
> -----Original Message-----
> From: limiar40 b [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 04, 2001 10:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: <lingo-l> 3D texture
>
>
> Ykx i already found that topic i'm starting to study if its
> possible to make
> what i want with that xtra!!
>
> if anyone else have an ideia , i aprecciate...
>
> limiar
>
> >From: Jorge Pe�a <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: RE: <lingo-l> 3D texture
> >Date: Wed, 5 Sep 2001 12:11:35 -0500
> >MIME-Version: 1.0
> >Received: from [208.210.86.12] by hotmail.com (3.2) with ESMTP id
> >MHotMailBD5E5686002E40043257D0D2560C0F4A0; Tue, 04 Sep 2001
> 10:12:39 -0700
> >Received: from mail1.fcgnetworks.net
> >([EMAIL PROTECTED] [192.168.40.6])by
> >mail2.fcgnetworks.net (8.9.2/8.9.0) with ESMTP id
> NAA24463;Tue, 4 Sep 2001
> >13:12:08 -0400 (EDT)
> >Received: by mail1.fcgnetworks.net (8.9.1/8.9.0) id
> NAA18106for lingo-send;
> >Tue, 4 Sep 2001 13:14:15 -0400 (EDT)
> >Received: from eniac.cable.net.co (eniac.cable.net.co
> [196.27.25.66])by
> >mail1.fcgnetworks.net (8.9.1/8.9.0) with ESMTP id NAA18075for
> ><[EMAIL PROTECTED]>; Tue, 4 Sep 2001 13:14:11 -0400 (EDT)
> >Received: from pavilion ([209.88.54.32]) by
> eniac.cable.net.co
> >(Post.Office MTA v3.5.3 release 223 ID#
> >637-71558U30000L25000S0V35) with SMTP id co for
> ><[EMAIL PROTECTED]>; Tue, 4 Sep 2001 12:13:30 -0500
> >From [EMAIL PROTECTED] Tue, 04 Sep 2001 10:14:00 -0700
> >X-Authentication-Warning: mail1.fcgnetworks.net: majordomo
> set sender to
> >[EMAIL PROTECTED] using -f
> >Message-ID: <[EMAIL PROTECTED]>
> >X-Priority: 3 (Normal)
> >X-MSMail-Priority: Normal
> >X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
> >In-Reply-To: <[EMAIL PROTECTED]>
> >X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
> >Importance: Normal
> >Sender: [EMAIL PROTECTED]
> >Precedence: bulk
> >
> >Hi.
> >
> >I think it can be done... I remember stumbling upon an example at
> >macromedia.com. It involved a real player asset but if I
> remember correctly
> >it can be done with other media. Check the technotes and
> you'll probably
> >find it.
> >
> >HTH
> >
> >Jorge
> >
> >-----Original Message-----
> >
> >it is possible to animate a texture in a 3D object?
> >
> >
> >[To remove yourself from this list, or to change to digest
> mode, go to
> >http://www.penworks.com/LUJ/lingo-l.cgi To post messages to
> the list,
> >email [EMAIL PROTECTED] (Problems, email
> [EMAIL PROTECTED])
> >Lingo-L is for learning and helping with programming Lingo. Thanks!]
> >
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]