Forum Replies Created

Page 2 of 2
  • Mateo Mazzini

    September 22, 2016 at 6:29 pm in reply to: Transparency, absorption distance, and coloured shadows

    I’m using the physical render in this case, the thing is, in order to achieve the look I need to use absorption color and some color in color channel, I’ll attach a project file with these lights so you can see what I am trying to accomplish(https://www.dropbox.com/s/0hrpjac58t8jbnd/TEST.c4d?dl=1).
    The lights are turning on in this timeline, and I like the look when they are on, but when they are off I think they shadow should be just grey. is there no other way than tweaking the materials?

    Thank you.

    Matz

  • Mateo Mazzini

    April 4, 2016 at 4:18 pm in reply to: AE won’t open a project. ID layer error

    tried both to collect files and copy the entire project structure.. but neither seemed to work. Finally I tried checking all the layers one by one… and I realised that one plugin were used.. from boris continuum complete 8 suite. which is installed in both machines… but don´t know why.. it made the project file unusable in other machines.
    thank you!

    Matz

  • Mateo Mazzini

    April 1, 2016 at 1:00 pm in reply to: Where to keep learning Motiongraphics

    Thank you for your reply. Never thought to do something like that. although it was the way I started working in motion graphics in the first place, by internship.
    It could be a really cool way to get to know other professionals and different ways of working.

    Matz

  • Mateo Mazzini

    April 12, 2013 at 6:07 pm in reply to: Change layer index by script

    Thank you!
    This is the solution I end up with!

    Matz

    var activeItem = app.project.activeItem;
    var activeLayers=activeItem.layers;
    for(i=1;i<=activeLayers.length;i++){
    if(app.project.activeItem.layer(i).selected){
    app.project.activeItem.layer(i).moveToBeginning();
    };

    };

    Matz

  • Mateo Mazzini

    December 31, 2012 at 12:50 pm in reply to: Reloading the “Create UI” code

    maybe it’s a difference between common scripts and scripts UI… if I open the script from “file/run script file/” it doesn’t work, but once i put the script in the after effects folder “ScriptUI Panels” and restart after effects, it shows up in the window menu. From there it does work… but, it’s also there where I have problems with the alignment.
    When i wrote the code for a common script, I could let the alignment under “undefined” and it would work, ebut when I made the change to Script UI, I had to give the code specifics coordinates…

    Matz

  • Mateo Mazzini

    December 30, 2012 at 8:13 pm in reply to: Reloading the “Create UI” code

    Xavier, your method worked just fine. But once again, the problem I found was that I must define the exact coordinates of the elements, because if I don’t, after effects doesn’t know where to put the UI stuff.
    I don’t know if that is a problem that could be solved with alignment code like “row”,”center”… the only way I could make it work was with coordinates…

    leave you with the code i have so far…

    thank’s a lot!

    // DEFINO POSICION DE VENTANA
    puntoX1=10;
    puntoX2=220;
    puntoY1=10;
    puntoY2=500;
    // DEFINO TAMAÑO DE VENTANA
    tamanoX=220;
    tamanoY=500;

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

    function createUI(thisObj)
    {
    var ventana = (thisObj instanceof Panel) ? thisObj : new Window(“palette”, “my script”, [100, 100, 300, 300], {resizeable:true});

    ventana.stackgroup = ventana.add(“group”);
    ventana.stackgroup.location=[puntoX1,puntoY1,puntoX2,puntoY2];
    ventana.stackgroup.size=[tamanoX,tamanoY];

    ventana.stacksubgroup1 = ventana.stackgroup.add(“group”);
    ventana.stacksubgroup1.location=[puntoX1,puntoY1,puntoX2,puntoY2];
    ventana.stacksubgroup1.size=[tamanoX,tamanoY];
    ventana.stacksubgroup1.add(“statictext”,[10, 40, 90, 60], “A TOOL”);
    ventana.stacksubgroup1.add(“edittext”,[100,40,195,60],”Sin Nombre”);
    ventana.stacksubgroup1.add(“button”,[100,70,195,90],”apply”)

    ventana.stacksubgroup2 = ventana.stackgroup.add(“group”);
    ventana.stacksubgroup2.location=[puntoX1,puntoY1,puntoX2,puntoY2];
    ventana.stacksubgroup2.size=[tamanoX,tamanoY];
    ventana.stacksubgroup2.add(“statictext”,[10, 40, 90, 60], “B TOOL”);
    ventana.stacksubgroup2.add(“edittext”,[100,40,195,60],”Sin Nombre”);

    ventana.stacksubgroup3 = ventana.stackgroup.add(“group”);
    ventana.stacksubgroup3.location=[10, 10, 200, 30];
    ventana.stacksubgroup3.size=[200,30];
    ventana.stacksubgroup3.add(“statictext”,[10, 10, 60, 30],”Tool”);
    var toolMenu=ventana.stacksubgroup3.add(“dropdownlist”,[70, 10, 195, 30],[“A”,”B”,”C”,”D”,”E”]);

    toolMenu.selection=0;
    ventana.stacksubgroup1.visible=true;
    ventana.stacksubgroup2.visible=false;

    toolMenu.onChange=function fcreateUIS(){
    var toolSelection = toolMenu.selection.index;

    ventana.stacksubgroup1.visible = (toolSelection==0);
    ventana.stacksubgroup2.visible = (toolSelection==1);
    };

    return(ventana);
    }

    var pal = createUI(this);
    pal;

  • Mateo Mazzini

    December 25, 2012 at 7:07 pm in reply to: ScriptUI problem

    Finally I made it Work! thanks a lot Xavier, your method worked just fine. The only thing I had to change was the “.show()” method, wich doesn’t work with ScriptUI panels in After Effects. There is a diference (from what i had noticed) between the script panels and the ScriptUI panels in After Effects: if i left “undefined” in the alignment of an element in the panel, it shows up just fine. But, the only way I could make appear a button, a text, or whatever in a ScriptUI panel, was giving to After Effects Specific coordinates… otherwise it just won’t work.

    Once again, thanks for your reply.. I leave you with the code that worked for me… hope it helps some one else…

    (as always, I have to excuse me for my english… is not my native tong)

    function createUI(thisObj)
    {
    var ventana = (thisObj instanceof Panel) ? thisObj : new Window("palette", "mi Script", [100, 100, 300, 300], {resizeable:true});

    ventana.add("statictext",[10, 10, 80, 30],"Nro de Layers");
    var nLayers=ventana.add("edittext",[90, 10, 180, 30],"1");
    nLayers.active=true;
    return(ventana);
    }

    var pal = createUI(this);
    pal;

    Matz

Page 2 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy