Alpha channels on textures

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

  1. #1

    Default 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%
    alpha, or 0% alpha)

    This is working in as far as you can see through the sprites where you
    should be able to, and not where you shouldn't.

    The only problem is that director looks like its putting a black matt
    around the texture rather than either no matt, or blended alpha.

    Is there any way to fix this? I'm hoping that the sprites will blend
    into each other rather than the faint outline I've got at the moment.

    Another way I could fix this would be to use a bitmap as an alpha
    channel texture and colour the shader in seperatly - but I can't find
    any way of doing that either...

    Thanks for any help.

    Guy

    guy.bowden@gmail.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. 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...
    3. 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...
    4. 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...
    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: Alpha channels on textures

    You can see an example of what I mean here:

    [url]http://extranet.holler.co.uk/universal/1402/vekMazeMaxHavok4.htm[/url]

    The blue layers should blend into a single solid block of colour when
    they overlap

    guy.bowden@gmail.com Guest

  4. #3

    Default Re: Alpha channels on textures

    guy, try setting the "quality" property of the texture object(s) to:

    texture("maze").quality=#rgba5551

    that will force a 1bit alpha channel and should get rid of your alpha
    "outline". also i've noticed some weird artifacts on the black 1st
    layer. am not sure if that's the case, but your texture bitmap sizes
    should always be powers of 2 (4,8,16,32,64,128,256,512)

    btw. the best place for dir3d related schtuff is probably here:
    [url]http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l[/url]

    toxmeister@gmail.com Guest

  5. #4

    Default Re: Alpha channels on textures

    Ta very much Toxi (i presume..)

    I've tried that quality property to no avail as well. there's still
    some outline in there..

    As for sizes - would that be 2,4,..,512 * 2,4,...,512 pixels in
    dimentions for the bitmap?

    guy.bowden@gmail.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