Ask a Question related to Macromedia Director 3D, Design and Development.
-
Lovehina #1
A portion of a texture/plane transparent...?
I?m wondering if there?s a way to define an area of a texture or plane as
transparent? Yes I know that using an image with an alpha channel can do this.
But my problem is that I want to animate or move this area in real time. Yes I
also know that I could use ImagingLingo, but the problem is that it?s way to
slow. I would have to redraw the transparent area of an image, than reload the
texture, I tried this and it way to slow. :(
I?m wondering if there is a built in function in Director that could make an
area of a plane or texture transparent. I know that this is easy to do in
regular cases by defining a member as a mask, but I cant find a similar
function in 3D.
Maybe there is something where you could define one plane to be the mask of
the plane behind it. Or perhaps one texture layer to be the mask of the texture
layer behind it.
In my specific case it would be enough if I could resize a plane, but without
it affecting the texture. Because normally when you resize a plane, the texture
gets squished as well.
Thank you for answering in advance. :)
Lovehina Guest
-
dragging a small texture around a HUGE plane
I'm trying to get a small texture to be able to be dragged around a huge plane by the user. I can move the texture using this line:... -
Moving a texture layer around a plane
Hi I've got 2 textures on a plane, 1) the base texture repeated all over the plane, 2) a bitmap with a circular alpha channel i want to be... -
Plane only shows texture on one side
Hi, I've created a plane with lingo and rotated it so it's on end. The plane has a texture mapped to it but the texture only shows on one side, the... -
Plane Texture Problem
Hi. My problem is simple: i work with a PLANE in 3DStudio Max, with 2-Sided Shader Texture. In the 3DSMax render looks ok in both sides, but... -
just trying to make my shader's texture not squish to fit the plane..
I thought I already knew how to do this, but I can't seem to get it to work.. I have 3d planes and I'd like to display a texture on them, made from... -
hondo3000 #2
Re: A portion of a texture/plane transparent...?
take a texture wich is black with a transparent hole and put it into your
shader into channel one.
put the other texture into channel number two:
tex01=pMember.newtexture("tex01", #fromcastmember, member("alpha"))
tex02=pMember.newtexture("tex02", #fromcastmember, member("bitmap"))
shader01=pMember.newshader("shader01", #standard)
shader01.texturelist[1]=tex01
shader01.texturelist[2]=tex02
shader01.blendFunctionList[1]=#add
and then:
on exitframe
shader01.texturetransformlist[1].rotate(0, 0,1)
go the frame
end
if you use a black texture with a "alpha" hole you will add rgb(0,0,0) to the
other texture layer.
i tested it a few minutes ago, you can use wraptransform and
texturetransformlist. at the moment i do something wrong and get only a
rotation to the texturelayer. and i get only access to the first texturelayer
with wraptransform. but i did not looked very close to it because i have to
leave home now, maybe you will find a way to move your transparent areas over
the texture and post your way here :)
hondo3000 Guest



Reply With Quote

