Textures with Alpha Channels

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

  1. #1

    Default Textures with Alpha Channels

    I'm attempting to model trees in Director 3d, in order to create the appearance of lots of leaves I'm place textures of several leaves at the ends of branches. I'm placing the texture on a plane model, the alpha channel allows the white to be transparent. My problem is that I want the leaves to be visibile from both sides, however when is use

    newModelResource(newModelResourceName, #plane, #both)

    I can see the pink and white grid in between the leaves and slightly transparent

    Setting the #facing paramter to #front or #back works, but then I can only see the leaves from one side.

    To work around this I'm currently creating a group with two planes with the leaves facing #front on one facing #back to work around this, but I don't like the idea of creating two object when I should only need one. If anyone knows how to get rid of the pink and white grid, please let me knowdafsdfa



    randallr webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Overlapping and alpha channels
      The Linux Flash player, while functional, sucks majorly when it comes to viewing some Flash-intense websites. Viewing the same site on Windows...
    2. Alpha channels on textures
      Hi, I've got a D3D movie with several sprites using a 24bit PNG with an alpha channel as the texture (its only a single colour with either 100%...
    3. PS7, PNG and alpha channels
      How can I get alpha channels to save with PNG files? I tried using SuperPNG, the free plug-in, but it won't save alpha data either. Are there any...
    4. MX and Alpha Channels
      Just discovered this while preparing a conference poster. Mac OS X.2.6. Imported a CMYK tiff with an alpha channel into FH MX to place on a...
    5. Gradients in alpha channels
      My alpha channel contains a white circle in the middle which then fades (gradient) out to black around the edges(like a greyscale sun). When I use...
  3. #2

    Default Re:Textures with Alpha Channels

    hi randy, using alpha textures is actually quite easy. there is a simple example on my site

    [url]http://www.geocities.com/hairybobby2000/3tutealpha.html[/url]

    it also explains the various problems people get. you'll find that

    t.renderformat = #rgba8888

    is the relevant line which makes it work



    HAIRYBOBBY - why didn't I choose a really cool name like the vulcanpimp

    [url]http://www.geocities.com/hairybobby2000[/url]

    Photograpghy section

    [url]http://www.geocities.com/hairybobby2000/px1.html[/url]

    Photoshop section

    [url]http://www.geocities.com/hairybobby2000/photo1.html[/url]
    hairybobby webforumsuser@macromedia.com Guest

  4. #3

    Default Re:Textures with Alpha Channels

    Create the plane using either #front or #back, and set the model.visibility to #both.

    If you create the plane resource with facing set #both, it actually creates two planes, and each one can receive a different shader in the model.shaderlist


    Medion webforumsuser@macromedia.com 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