Ask a Question related to Macromedia Director 3D, Design and Development.

  1. #1

    Default Help texture

    Spanish translate to the English with google.
    Good morning not to add to textures or (*.avi, *.mov) to an object 3d from director(lingo), help me with an example.
    thanks.
    merlinkes Guest

  2. Similar Questions and Discussions

    1. AVI as a texture?
      I'm following the tutorial on the Adobe Developer Center regarding inserting Streaming Video into Shockwave 3D...
    2. use a avi as texture
      Hy! Can i use an avi as a texture, how? What can i do to make a texture from a movie and then aply it to a 3d model?
    3. ANN: MB Texture Pack4 is available
      Just a quick note to let you know that MB Texture Pack4 is now available on the Macromedia Fireworks Exchange. Enjoy! Sincerely, Matthew Brown...
    4. Need Help w/ Stone Texture
      I really don't have much skill with Photoshop. I tried following a web tutorial to make a stone pattern and I came up with this. I followed...
    5. Texture help
      Is it possible to get a texture from a 3Dobject, and save it to the cast? ? If it is, how? Valle
  3. #2

    Default Re: Help texture

    Here's a script that you can use to animate a texture using a pre-defined list
    of images:

    -- ANIMATED TEXTURE --
    -- Parent Script
    --
    ----------------------------------------------------------------------
    -- This instance will cycle through the images in plImages, changing
    -- the image of the given texture once per frame.
    ----------------------------------------------------------------------



    -- PROPERTY DECLARATIONS --

    property pTexture -- 3D texture object
    property plImages -- list of images for texture cycle




    -- PUBLIC METHODS --

    on new(me, aTexture, anImageList) ------------------------------------
    -- INPUT: <aTexture> must be a texture object
    -- <anImageList> must be a list of image objects containing
    -- at least one item
    -- ACTION: Adopts the texture and the list of images
    -- OUTPUT: Returns a pointer to this instance
    --------------------------------------------------------------------

    pTexture = aTexture
    plImages = anImageList

    (the actorList).append(me)

    return me
    end new



    on Finalize(me) ------------------------------------------------------
    -- ACTION: Clears all circular references
    --------------------------------------------------------------------

    (the actorList).deleteOne(me)
    end Finalize



    on stepFrame(me) -----------------------------------------------------
    -- ACTION: Cycles through the available images.
    --------------------------------------------------------------------

    vImage = plImages[1]
    plImages.deleteAt(1)
    plImages.append(vImage)

    pTexture.image = vImage
    end stepFrame



    This link might also be helpful:
    [url]http://www.macromedia.com/devnet/director/articles/streaming_video.html[/url]

    openspark Guest

  4. #3

    Default Re: Help texture

    Spanish translated with google.

    Thanks, but I like to know to me are like putting a texture animated (*.avi) in an object w3d mattered.
    Thanks.
    merlinkes Guest

  5. #4

    Default Re: Help texture

    As far as I know, you cannot use *.avi or *.mov or *.wmv to create an animated
    texture. The reason for this is that you do not have access to the .image
    property of these digitalVideo types; to animate a texture, you need an image
    or a member with an .image property.

    You can use Flash or RealMedia video, because Director gives you access to
    this .image property.

    openspark Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139