Several layers of texture

I been using Director for years, but I am new to 3D.

I have a plan, that the user dynamically switches the textures on the use:
-member("Scene2").deleteTexture ("planeTexture")
-member("Scene2").newTexture ("planeTexture", #fromCastmember, member ("3D_texture"))
-.texture member("Scene2").shader ("planeShader") = MEMBER("SCENE2").texture ("planeTexture")
(I load the chosen texture from a file in "3D_texture" cast member)

The foregoing shows users 'go' now trying to add another layer of texture, which will be a bitmap from a circle to grounds: a png square with a circular alpha channel) to allow the user to move around to see where on their driveway they would like it

See the photoshop comp:

"" http://trgs.net/client/pic_for_help.jpg " "

the result will show my textured base (from lines of code above) and a circle texture on top of that the user can move, then the prospect will adjust automatically as they move it around the plane.

But I can't the second texture to work, I tried things like:

-member("Scene2").newTexture ("Circle2texture", #fromCastmember, member ("circle2"))
-member("Scene2").model ("plane") .addModifier (#meshDeform)
-member("Scene2").model ("plane") .meshdeform .mesh [2].texturelayer.add ("Circle2texture")

but the entire object will just pink!

I'm trying to do something that we can't do?

any help gratefully received (the customer wants Tuesday!)

See you soon
Jez.

The easiest thing would be to simply create another plan with another texture on top. Otherwise, just texturelist [] property the shader allows you do the work and do not take into account #meshDeform.

Set the texturelist [1] your shader for the bricks of the driveway, then the shader texturelist [2] to your texture with alpha. Then assign the shader blendFunctionList [2] #blend and blendsourceList [2] to #alpha.

Your alpha texture will be a 'decal' on top of the texture of bricks. You can then move the decal autour texture using textureTransfromList [2] .position. But make sure your alpha is enough "white spaces" on the banks, on the other you are going to get the streaks.

* Important to note that the rendering engine will affect what it looks like. I think that the above description is good with directX, but if you use openGL, you may need to use blendsourceList [2] = #constant and blendConstantList [2] = 100.

Tags: Director

Similar Questions

  • Management of several layers at the same point

    Hello

    I use the API in my application and Javacript Mapviewer, more than one layer can be established at the same point. I use MVThemeBasedFOI. If you click on this point, I want to give the possibly to choose which layer you want. Now when I have several layers, only the last can be clicked. Is there a way to solve it?

    MVThemeBasedFOI.setBringToTopOnMouseOver (boolean).   I found this method, but how do I access all layers when I click on a point?

    Thanks for help.

    ESC.

    I tried really hard things to fool this behavior. At the end of the search for new features that were not in the documentation, I found this: MVMapView.enableMultiThemeClickable (boolean). They should update the documentation because there are a lot of functions implemented that do not exist.

    Just enable it and it works perfectly!

    mapview.enableMultiThemeClickable (true);

    ESC

  • How to merge several layers in one without destroying the layers of origin?

    How to merge several layers in one without destroying the layers of origin?

    joelb2995629 wrote:

    How to merge several layers in one without destroying the layers of origin?

    The solution is a very useful shortcut, but requires a bit of dexterity.

    Of is it: Ctrl + Alt + Shift + e. (Yes, 4 keys at the same time).

    This creates a new layer that is the fusion of visible layers.

    To be on the top layer and don't have ensure that active useful layers.

  • Can I extend several layers in the editing Photoshop CC 2015 Panel?

    I am creating a video using a PSD with more than 80 layers, I can choose several layers in the timeline panel, but when I try to drag to lengthen it just drag one of them all...

    Is that possible or I really need to drag one by one (cause it is REALLY bad)

    Hi Iskander1989

    The only way I remember just made one at a time.

    Also tried again here so yes need to drag one by one.

    ~ Jitendra

  • Apply the filter at several layers at the same time (without converting them to a CG)

    Hey everybody,

    I looked everywhere for a way to simply apply the same filter with several layers at once, without first convert to smart object. I need to keep my layers intact and separated from the others. Does anyone know of a script or a way to do this?

    Any response is appreciated.

    -Andy

    Paul has a script "Filter selected Layers" on the site that makes the most of the filters.

    It's at the bottom of the "CSP Scripts" section.

    http://www.PS-Bridge-scripts.TalkTalk.NET/

  • Need help to count the characters in several layers of text

    I use following code to count the number of characters and words in a single text layer. Is it possible to count the number of characters and words in a several layers of text. ?? Help, please

    Java Script code:

    //

    /*

    < javascriptresource >

    < name > Count words and characters < / name >

    < / javascriptresource >

    */

    function run()

    {

    var layer = activeDocument.activeLayer;

    If (layer.kind is LayerKind.TEXT)

    {

    Var words = layer.textItem.contents;

    Words = words.replace (/ (\r\n|\n|\r) "/ gm," "");

    var countwords = words.split("").length;

    var compteLettres is words.split("").join("") .length;.

    Alert ("\n" + countwords + "Words\n" + compteLettres + "Characters", "Count");

    }

    on the other

    {

    Alert ("select a layer of text.', 'Count');

    }

    }

    Run();

    2015, use it at your own risk.

    #target "photoshop - 70.032»

    If (app.documents.length > 0) {}

    var theTexts = main();

    alert (count (theTexts.join ("\n")));

    };

    ////////////////////////////////////

    int main() {}

    the file;

    myDocument var = app.activeDocument;

    get the number of layers;

    Var ref = new ActionReference();

    ref.putEnumerated (charIDToTypeID ("Dcmn"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"));

    var applicationDesc = executeActionGet (ref);

    var number = applicationDesc.getInteger (stringIDToTypeID ("numberOfLayers"));

    treat the layers;

    var theLayers = new Array;

    for (var m = 0; m<= thenumber;="" m++)="">

    try {}

    Var ref = new ActionReference();

    ref.putIndex (charIDToTypeID ("Lyr"), m);

    var layerDesc = executeActionGet (ref);

    var layerSet is typeIDToStringID (layerDesc.getEnumerationValue (stringIDToTypeID ("layerSection")));.

    isBackground var = layerDesc.getBoolean (stringIDToTypeID ('background'));

    otherwise the layer group.

    If (layerSet! = "layerSectionEnd" & layerSet! = "layerSectionStart" & isBackground! = true) {}

    theName var = layerDesc.getString (stringIDToTypeID ('name'));

    theID var = layerDesc.getInteger (stringIDToTypeID ('layerID'));

    var hasText = layerDesc.hasKey (stringIDToTypeID ("textKey"));

    If the layer type;

    If (hasText == true) {}

    var textDesc = layerDesc.getObjectValue (stringIDToTypeID ('textKey'));

    Letexte var = textDesc.getString (stringIDToTypeID ("textKey"));

    theLayers.push (theText)

    }

    }

    }

    catch (e) {};

    };

    return theLayers

    };

    Count characters.

    function count (theString) {}

    Var words = theString//layer.textItem.contents;

    Words = words.replace (/ (\r\n|\n|\r) "/ gm," "");

    ////////////////////////////////////

    Remove double spaces and space at the end;

    While (words.indexOf("")! = - 1) {words = words.replace ("","")};

    spaces var end = \s$/;

    Words = words.replace (spaces, "");

    ////////////////////////////////////

    var countwords = words.split("").length;

    var compteLettres is words.split("").join("") .length;.

    return ("\n" + countwords + 'Words\n' + compteLettres + 'Characters');

    };

  • Capture several layers of application on a virtual machine

    Another newbee question. I'm following the VMware Horizon Mirage App layer v4.0 capture guidelines on page 9 where he describes the process if you are going to use a virtual machine, so you can capture several layers of app. I followed steps 1 - create own reference machine, install Client Mirage and centralize the unit to a CVD of reference; 2 take a snapshot of the State of cleanliness; 3. in the MMC, use the launch App layer Capture (actually called Capture App layer in the commune of assistants, unless I'm mistaken) option... Here's where I hit a roadblock. Unit is a CVD of reference, the wizard takes me to select from pending devices, and I can't access the device but it is located in the area of reference CVD. The virtual machine itself also appears in Devices.Do assigned I must withdraw from somewhere? I'm confused !

    To capture an application tier, you must have 'reference' machine in a wait state. To capture a base layer, you must have the machine of 'reference' centralized as a reference machine. It's a little confusing. You can use the same machine to capture both types of layers. You can remove the reference CVD of inventory and it will appear in the expectation of devices.

  • Simultaneously select several layers and sous-calques

    Hello

    I'll have to select several layers and their Undercoats in Illustrator 2014, but sticking to the procedure described in the post below only lets you select several "main layers" with the left sublayer deselected.

    Re: Is it possible to select more than one layer by selecting the first and the last layers?

    Could someone please explain how the layers and sous-calques can be selected in the layers panel?

    In Illustrator, make more and more confused about the layer control...

    Thank you in advance,

    EAD

    That would be nice.

    Looks like a candidate for a feature request:

    Adobe - feature request/Bug Report Form

  • Script to connect several layers to one layer draw

    I'm trying to bind several layers to one layer no animated but I want each layer to start the animation layer from time.

    What would be the script that I need to add instead of duplicating layer draw for each layers?

    I hope that this question is not too complicated to understand lol

    TIA

    W

    I think you can do it with an expression as follows:

    thisComp.layer("ROTATE").transform.xRotation.valueAtTime (time-inPoint)

    Dan

  • Import Illustrator file with several layers and sublayers as composition by keeping all layers and sous-calques

    I drew a map of the country with several layers and sous-calques, including the streets, cities, railroads...

    Now, I want to create a template for my colleagues in After Effects.

    To do this, I want to import the AI in After Effects, holding all sublayers and layers in compositions and subcompositions.

    When I do, I get the first two layers correctly, others just in a merged publication.

    What can I do to get all the layers of each as a layer in After Effects?

    Best regards, Raphael

    Illustrator imports only the first level of the layers. If you have groups or paths below you must release layer groups. The layers will then be stacked in the order in the form of layers. Then you need to move them to the top.

    The procedure is to select a layer in the layer Illustrator Panel, then without selecting any which specific element in the layer click on the menu in the upper right corner and select release to layers. All an elements in this layer will be transformed into layers. Now, select all, and drag them to the top above the original layer. This will leave the empty original layer and put all the elements in new layers.

    Here is a tutorial I made there are a bunch of years and who uses this technique to transform a mixture in a morphing.

    Morphing with Adobe Illustrator. I hope this helps.

  • Photoshop CC 14.1 path on several layers turned off editing?

    Editing paths on several layers with the direct Selection tool has been disabled in Photoshop CC 14.1? I can't seem to find a way to do it now, shift - or command-click does nothing. In fact, I can't even click on individual trajectories on different layers, something Photoshop has had forever.

    While it was sometimes problematic how he was at 14.0 (always by selecting multiple layers and go into isolation mode to edit a single), there were moments when it was useful to edit several layers, or even just a click between the layers with the direct Selection tool.

    I saw this documentation on the site, but I'm not sure it's very useful. Can someone give me a help?

    Screen Shot 2013-09-09 at 11.58.44 AM.png

    In addition, what is the keyboard shortcut customized to enter/exit isolation mode? It is mentioned in the image above, but what really?

    You can always work with the railways of the way in which you could in the 14 0 - simply choose the mode of all layers in the path Selection tool or the direct Selection tool options bar. We have added the layer mode active for users who prefer to isolate the paths may be selected based on which layers they have already selected in the layers panel.

    To clarify:

    -Mode of active layers: by clicking or dragging on the canvas with the selection of vector tools will not affect which layers are selected in the layers panel. Double click to go into isolation mode is disabled.

    -All modes of layers: works exactly as in 14, 0 - by clicking or dragging on the canvas with the selection of vector tools can change which layers are selected in the layers panel. Double click to go into isolation mode is enabled.

    If you are a lot of switching between these two modes, you can add a custom keyboard shortcut that is alternate which mode is selected. In the keyboard shortcuts dialog box, choose shortcuts for: tools and scroll down to the option Direct selection Mode Toggle. Add your new shortcut here.

    As for your question on the hotkeys for the isolation mode, it simply means that you can assign a hotkey customized for this command as well (select > isolate the layers).

  • several layers with a reduced opacity

    Hi all

    I'm working on a file, Indesign has several layers which are both about a 10% capacity.

    When I just put the two on 10% obviously, you can see the bottom layer through the top layer.

    What I want is that you will not be able to see the layer of background (despite the top layer of 10% opacity), but simply to see the white background just as if it would be not another layer below.

    In the example image, you can see what I have now.
    So what I want, it's that you will not see the logo of the carbrands under the word Scantools.
    Is this possible?

    Thank you very much
    Eric.

    Screen Shot 2013-03-28 at 10.47.16 AM.png

    You can also simply use a tint of the color rather than reduce the opacity of the word SCANTOOLS.

  • Paste a shape as a mask when there are several layers?

    I have a couple of layers that I applied the auto vector command in order to hide. I want to now draw a rectangle rounded on part of my canvas, cut this rectangle with corners rounded and right-click on the drawing area and choose Edition > paste as mask, so the picture will be revealed due to the rounded rectangle shape. It works with a single layer, but now that I have several layers and masks vector auto I don't know which image/layer for click straight on and do with?

    Thanks for any help.1.png2.png

    Instead of cutting the rounded rectangle, leave it at the top of the stack of items, select all three objects, then select Modify > mask > Group as mask (or you can right click to select the group in the mask). This command will apply the object higher in the selection as a mask for the items below.

  • Place MULTIPLE image import... and "Save as...". "several layers in multipage PDF

    Hello

    just a few suggestions, I would like to see to speed to the top of my game and exit...

    I would like to import several images placed in illustrator CS4. Place of dialog box open and select several images for placement.

    regarding the output record under...

    • We can output from multiple layers into a single PDF in illustrator?  Or several layers in single format JPEG from illustrator with a single command instead to save individually each layer... would be a huge timesaver for me. I create different works on different layers...

    • Currently I pulled out each layer individually filled then right-click on these JPEG output files in the output folder and choose "combine taken supported files in acrobat... "to create a unique acrobat... I would do things in Illustrator "save to PDF" dialog box. Add something in the Save to output PDF save layers to a single PDF as dialog box several pages would be a useful time saver...

    • I would also like to be able to CTRL click several layers and go ' Save as... '. "only these layers be saved on...

    Output of layers multiple to several files seems to be a step backward. I guess you used several layers because that Illustrator had no feature of multiple pages or multiple-work plan. It does now, your request is rendered null and void.

  • Fields in forms on several layers

    Hi, I wonder if anyone can give me an answer on this or point me to a resource for this.

    I have an interactive brochure for a conference with muliple buttons that turns visabilities on layer and outside (there is a button for the time display every day for Conference etc.)

    I want to include a simple registration form and I want the form to be on a layer so that it can be displayed when you press a specific button (which sets the visibility of the layer).  Obviously if we can work on a single layer, why not several forms on several layers, hence the title of the post. :))

    Is this possible in Acrobat?  I have searched and tried and have not met with success.  BTW yes - I know that I could add an extra page with a button pointing to this page, but I was wondering if there was a more elegant solution :)

    Any help, guidance etc would be greatly appreciated.

    Grahame Dryden

    You pouvez promote fields of form on one layer (BCG) using preflight in Acrobat Pro, but it's a very bad idea - the specification PDF can allow it to happen, but the Acrobat user interface was never designed with fields covered in BCG in mind, so things like the ability to highlight the fields on DMB start to do strange things.

    The 'proper' method is to use scripts to show and hide individual fields by activating / deactivating the attribute visibility, rather than promotion of these in a BCG. The script can of course also set BCG States (e.g. to show/hide the labels) but the form lives on base level. The UI knows how to deal with very well hidden fields.

Maybe you are looking for

  • Satellite M15-S405 turns off suddenly

    Hi allMy M15-s405 notebook turns off suddenly and won't turn on.ESA led flashes with an orange/yellow light and shows the following (0 = 1 short = long) code00001011 Anyone know what this code means? Can I have Toshibas support email address?

  • iTunes does not transfer music to iPhone

    Hi all, thanks for your help and input here. I am trying to download/rip my collection of music (albums about 550 or 650 ~ disks - CD hardware purchased) from an external drive (3 TB WD My Passport) ALAC encoded on an iPhone 6 128 GB, 256 KB AAC conv

  • To start the "my computer" screen on the desktop. How can I stop this?

    When I start my computer [vista Business 64-bit] the "my computer" screen in the middle of the office and I would x out. How can I stop this. And what causes this?

  • BlackBerry smartphones automatically opening a message: P

    just received my first blackberry, the storm I like it a lot, but find that it's - always - open emails automatically instead of allowing me to see that it is the first, so I have an opportunity to remove without opening it. This only happens when it

  • Problem VPN ASA 5505 8.3 (1) a site

    Hello My problem is with VPN site-to-site. It's between ASA5505 8.3 (1) and Pix 501 6.3 (5). The tunnel is created between them and it's good, here you have the results to see the crypto ipsec's and isakmp his ciscoasa # sh crypto isakmp his ITS enab