Ask a Question related to Macromedia Director 3D, Design and Development.
-
randallr webforumsuser@macromedia.com #1
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
-
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... -
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%... -
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... -
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... -
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... -
hairybobby webforumsuser@macromedia.com #2
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
-
Medion webforumsuser@macromedia.com #3
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



Reply With Quote

