Cannot add the new top of mask

Hey guys,.

I try to add my layer mask using the sdk, but I can't make it work right!

Here is my code,

  AEGP_MaskRefH maskItem;
  A_long maskIndex;
  AEGP_StreamRefH maskStream;
  AEGP_StreamValue2 maskStreamValue;
  AEGP_MaskOutlineValH outlineValue;
  AEGP_VertexIndex vertexIndex = 0;


  ERR(suites.MaskSuite6()->AEGP_CreateNewMask(*layer, &maskItem, &maskIndex));
  ERR(suites.StreamSuite4()->AEGP_GetNewMaskStream(aegp_plugin_id, maskItem, AEGP_MaskStream_OUTLINE, &maskStream));

  A_Time time;
  time.scale = 1;
  time.value = 0;

  ERR(suites.StreamSuite4()->AEGP_GetNewStreamValue(aegp_plugin_id, maskStream, AEGP_LTimeMode_LayerTime, &time, TRUE, &maskStreamValue));
  outlineValue = maskStreamValue.val.mask;


  ERR(suites.MaskOutlineSuite3()->AEGP_CreateVertex(outlineValue, vertexIndex));
  AEGP_MaskVertex newVertex;
  newVertex.x = x;
  newVertex.y = y;
  newVertex.tan_in_x = inX;
  newVertex.tan_in_y = inY;
  newVertex.tan_out_x = outX;
  newVertex.tan_out_y = outY;


  ERR(suites.MaskOutlineSuite3()->AEGP_SetMaskOutlineVertexInfo(outlineValue, vertexIndex, &newVertex));


  ERR(suites.MaskSuite6()->AEGP_DisposeMask(maskItem));// dispose the mask item
  ERR(suites.StreamSuite4()->AEGP_DisposeStreamValue(&maskStreamValue)); // dispose the stream value
  ERR(suites.StreamSuite4()->AEGP_DisposeStream(maskStream)); // dispose the stream

I add a new mask to my bed, but there is no top on it!

What I am doing wrong?

Li Zhiqing salvation!

You're almost there (I had the same problem...).

Once you have set the MaskOutlineVertices, what you have already done, you must always set the value of flows.

Thus, line 31:

ERR (suites. StreamSuite4()-> AEGP_SetStreamValue (aegp_plugin_id, maskStream, & outlineValue));

See you soon,.

François

Tags: After Effects

Similar Questions

  • cannot add the new hard drive more than 2 TB on vsphere upgrade 5

    can someone give me a clue? I can't add new greater than 2 TB drive to my vm on my upgraded vsphere 5.0. My data store is 6 TB and already read by vsphere... I create new virtual machine and add the new drive, but it limits again just 2 TB when I change 4 TB, the error message will appear. I recently added my datastore LUN with VMFS5 version. is there a any mistake I made? Please help me this problem is so frustrating me... i need to create new disk 6 TB to my new file server

    Hello.

    You will need to use a RDM in physical Compatibility Mode to achieve. As weinstein5 said, a VMDK cannot be greater than 2-to-512bytes. You can use the OS to spread over several 2 TB-512bytes VMDK, if that's what you really want.

    Good luck!

  • Cannot add the new log file for the 11g database.

    Salvation of DBA

    I'm not able to add the log file, I receive the error message when the database is added.

    SQL > alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of size of 50 m;
    alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of 50 m of size
    *
    ERROR on line 1:
    ORA-01505: Error adding log files
    ORA-01577: cannot add the log file ' / oracle/DEV/db/apps_st/data/log03a.dbf'-fichier
    already a part of the database

    SQL > select a.group #, a.status, a member of the journal of v$ a, v$ logfile b where a.group # order of b.group = # 1;

    GROUP # MEMBER STATUS
    ---------- ---------------------------------------- ----------
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01a.dbf
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01b.dbf
    /Oracle/DEV/db/apps_st/data/log02a.dbf CURRENT 2
    /Oracle/DEV/db/apps_st/data/log02b.dbf CURRENT 2

    Kindly help me to add the new log file to my database.

    Thank you
    SG

    PGO

    Please see (how can redo log group be dropped when it ever becomes inactive?) [ID] 730827.1).

    Thank you
    Hussein

  • Cannot add the new data store

    VM dear supporters,

    My vSphere environment: 1 vCenter Server Foundation, 3 vSphere 4.0 Enterprise 5.0 and vSphere Client 5.0

    1. read the error message in the attachment:

    "hostdatastoresystem.queryvmfsdatastorecreateoptions...". »

    2. already the ESX02 reboot but still unable to add the new data store.

    New size of the data store = 3.1 TB

    Need to vmsupport on this subject.

    Thank you

    Hello

    Size Max LUN VMFS is 2 TB-512 MB in vSphere 4 (your hosts are in version 4), if you want to add 3.1 TB LUN first upgrade ESX hosts to version 5

  • Cannot add the new nfs datastore

    Hello

    I would like to get some advice how to add a new nfs data store. Here are the steps I did:

    (1) I have setup a stand-alone ESXi 4 server. I configured the VMNIC0 with 192.168.100.1/24 IP with Vswitch0.

    (2) I have setup a NFS storage. The NFS share is file://\\192.168.200.2\share. I tried using a Windows laptop and I can access the share.

    (3) ON the ESXi server, I created another Vswitch1 with VMNIC1 IP 192.168.200.1/24. I connect my storage to VMNIC1. ESXi, I'm able to ping my storage 192.168.200.2.

    (4) I connect my Windows laptop (IP 192.168.100.2) to VMNIC0. I am able to Vsphere Client to the ESXi server.

    (5) using the Vsphere Client user interface, I click on 'add the new data store '. The fields that I get are "192.168.200.2" and "share". I got the below error message:

    "Error while configuring the host: NFS error: unable to mount filesystem: unable to connect to the NFS server.

    What it went wrong?

    Kind regards

    Kent

    No claim, the NFS must be in the same subnet as your ESX VMKernel Port and your VI Client must be in the same subnet as the Console of the ESX Service / Management Port. But in many cases (especially with ESXi and if not configured otherwise) management and VMKernel are on the same Interface / subnet.

    Kind regards

    Gerrit Lehr

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

    Co-author of the German reference work on virtualization and VMware

    "Das Virtualisierungsbuch" - http://www.cul.de/virtual2.html

    Regular author on virtualization and other topics in the Magazine German FreeX IT in ass

    http://www.cul.de/freeX.html

  • Cannot add the new printer port for Central Output Server 5.7 under Windows Server 2012

    I am my output of an old Windows box to a new server migration and have problems with the new ports.  I have 6 installed instances and the last looks OK, but all the others get errors when all output is sent to them, even a Windows Test print. I have them all the same thing, with the format \\.\pipe\jetform\server5 configuration port

    When I installed the software, I installed all 6 instances then went through and added 6 local printer ports - it seemed to configure them OK this first time.

    My test was then on the 6th and last instance and went well.

    When I wanted to test the other forums, I found all simply erroneous jobs on the queue for the printer.

    If I have one of these printers connected to the 6th port, it worked fine.

    I deleted one of the ports that did not work and I tried to re-add. Then I got the message "the system cannot find the file specified."

    I tried to add the port via the registry - he added, but would not yet print.

    Then I noticed in the output server control center, when I tried to stop Central and start one of them, I got the error "unable to connect to the channel named"\\.\pipe\jetform\server5.ctr"

    I use a domain account that is configured to run Adobe services, he is a Director of field with all required fees

    I modified the local security policy to enable users to add printer drivers.

    And I have now run out of ideas! Someone at - it a?

    Thank you

    This was traced to one of still having ini files a record of the proceedings of last name installed (i.e. SERVER6).

    So it's fixed

  • Virgin Media UK has changed his ISP address and I cannot add the new address through automatic or manual, how do I do it?

    Virgin used to use google for it's email service has recently created a new ISP of it own. I'm unable to find using the automatic "Add account" in Thunderbird. I tried to do it manually without joy. I can't get into my email account using webmail blank page. Any suggestions please?
    GMN

    Via the Menu bar
    File > new > existing e-mail account
    or
    Via the mail toolbar
    Icon of the menu > new message > e-mail account

    Enter the name
    Enter the full e-mail address
    Enter the password - same one you use to access webmail

    Select this option to remember password.
    Click on "continue".

    Thunderbird tries to search for configuration settings.
    Check: He selected the right account type: POP or IMAP
    Are the correct settings... see info at the link below.
    the manually set/correct
    Click on the button "Manual Configuration".

    See here the setting on the server:
    http://help.virginmedia.com/system/selfservice.controller?configuration=1001 & PARTITION_ID = 1 & TIMEZONE_OFFSET = & usertype = 1 & VM_CUSTOMER_TYPE = Cable & cmd = VIEW_ARTICLE & article_id = 2743

    According to your email... the portion after the @, this will determine what will be the name of the server for POP/IMAP/SMTP.

    Use the "Re-test" button to verify the changes.
    Click 'Done' to create the email account.

  • Cannot add the new credit card issued in another country

    I need to change the credit card used for my subscription to Adobe. When I enter new credit card details and new billing address, I can't save anything because "the zip code is incorrect" (IE does not match my previous country). I need to change my country to change credit card details, but I don't know where to do it. Help?

    OK, the current plan has been cancelled and I will issue a refund for the current month you have barely renewed.

    Please go ahead and create a new Adobe ID with the Slovenia as the country using the same email address.  Then sign up for a new plan.

    If you have any questions, please let me know.

    Thank you

    Bev

  • Cannot add the new layer

    It must be something simple and stupid.  Using Elements 8, here's what I do:

    (1) using the main menu, click on "file / open".

    (2) (select a RAW Canon file (.)) CR2)

    (3) file open in Camera Raw

    (4) on the Camera Raw dialog box, click on 'Open Image'

    (5) camera Raw dialog box closes, image opens in the main window of photoshop

    (6) at this point, using the main menu, select "Layers."  All entries are grayed out (disabled).

    (7) the Lyers palette is also non-functional.

    Huh?

    As I said this hads to be something simple and stupid, I scanned the docs online, searched google and adobe forums.  Can't find anything about it.

    Any help appreciated.

    Mike

    The reason is most likely because you opened your file converted to 16-bit mode, which does not support layers.

    Either during reprocessing in ACR while checking the output to 8 bits (in the middle of the bottom bar menu)

    Alternatively, convert to 8-bit in PSE editor edit menu/mode... 8-bit.

  • Cannot add the printer network Windows 7 64 bit

    My laptop Home Premium 64 - bit of Windows 7 (client) cannot add the network printer that sits on the Windows 7 Ultimate 64 bit computer. A client XP computer easily added the network printer. When you try to add the network printer, the Windows 7 client searches for the driver on the host computer and says "unable to connect to the printer - the operation has failed with error 0x000003e3. I downloaded the driver from the manufacturer of the printer to the client computer. I also disabled the firewall on the computers... Any help would be appreciated.

    Hello

    ·         What is the number and model of the printer that you are using?

    ·         How many computers are connected to the host computer?

    ·         You are on a domain network?

    Method 1:

    You can check the items below that explain how to install a printer in Windows 7.

    Install a printer

    http://Windows.Microsoft.com/en-us/Windows7/install-a-printer

    Find and install printer drivers

    http://Windows.Microsoft.com/en-us/Windows7/find-and-install-printer-drivers

    Method 2:

    a. now follow the document below to add the printer to the Windows 7 computer.

    http://Windows.Microsoft.com/en-us/Windows7/share-a-printer

    b. If the steps above does not help try the procedure below.

    We need to change the port and check. Let us perform the steps below to install this printer and check.

    a. Click Start, click Control Panel, and double click on devices and printers.

    b. click Add a printer.

    c. Select "add a local printer.

    d. Select "create a new port". Select "Local Port" as the port type.

    e. in the "type a port name" box, type the address in the following format.

    \\[IP address of the host computer]------[the share name of the printer]

    And then click Next.

    f. Select the driver in the list of drivers. If no driver available, click the Windows Update button, wait the process finishes and then search for the driver again.

    g. complete the installation.

    For additional help, refer to the article below.

    Printer in Windows problems

    You can also check out the link below that addresses the same issue when you face:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/error-0x000003e3-when-trying-to-install-network/2348b57b-7448-E011-8dfc-68b599b31bf5?msgId=d577ab02-DC48-E011-8dfc-68b599b31bf5

  • Cannot add the header HTML - CFWebstore on CF11

    Hello

    I get the error below on a new installation of CFWebstore v6.6 on CF11. I used a previous version of CFWebstore on CF7 and CF9 without problem. Looking for suggestions...

    Cannot add the HTML header. ColdFusion is unable to add the header specified in the output stream. It's probably because you used to define one of the ColdFusion Cookies of Session or authentication cookie. To do this, please use configuration at the application server level. The error occurred on line 213.

    Thanks in advance for any help!

    Gary

    I found this answer:

    To resolve this issue, connect to Coldfusion Admin, go to the memory Variables and uncheck "Disable the update from Coldfusion cookies using tags/functions of Coldfusion." Memorize your settings, and then restart your Web site.

  • Add the new hard drive into the data store in ESXi 4.1

    Hi all

    I got ESX 4.1 installed on the Dell server, and I have 3 virtual machines on a data store.

    I added a new 500 GB scsi hard drive to the server,

    and I need to add it to the datasore or create a new...

    How can I see this new hard drive? and add it to the data store?

    Waiting for your help.

    concerning

    Abrams

    Oracle system engineer

    Abrams,

    That's all I can help you.  These instructions are based on the Perc 5 / i controller, which I think you have on our system.  You have not specified the server so I just assumed that this is so.

    1. unscrew the hot spare that you just made.  Follow this link from Dell.
    http://support.Dell.com/support/eDOCS/storage/RAID/PERC5/en/UG/HTML/chapterh.htm#wp1061343

    2 follow the link for the installation of virtual disks - http://support.dell.com/support/edocs/storage/RAID/PERC5/en/UG/HTML/chapterh.htm#wp1069357

    This link has three steps to void, skip the step on "spare parts of designate hot."
    a. create the virtual disks and select virtual disk options.   -Online steps to create another disk group and add the new disk to the disk group.
    (b) designate the drives hot spares (optional). =>, YOU CAN SKIP THIS STEP
    c. initialize virtual disks. -online must do.  just do not initialize the incorrect disk.

    After the step #2 c, you should be able to access the drive in ESXi or command-line (list of nmp esxcli devices).

    And no, you cannot add this manaully until do you step #2 above which is to define the disk group, creating virtual disks and initialize the virtual disk.

    Good luck.

  • Cannot add the vmkernel nic: a specified parameter was not correct. vSphere CLI + ESXi 4

    Hello. I try to add vmknic with frames in my distributed virtual switch.

    I read the vSphere command-line Interface Installation and reference Guideguide:

    "vicfg-vmknic - a-i DHCP"vmk5"

    I see the error message:

    Cannot add the vmkernel nic: a specified parameter was not correct.

    Vim.Host.VirtualNic.Specification.Ip

    What's wrong?

    I tried all the combinations of parameters with the same result.

    Ok! I've found a workaround.

    Since adding a vmkernel remote interface doesn't seem to work with DVS, I simply created one on a standard vSwitch and it then migrated to the DVS. And voila: the value 9000 MTU migrated intact with her! Here are the steps I followed:

    1. put the ESX host into maintenance mode - evacuate VMs manually if necessary

    2 remove the VMKernel iSCSI/NFS to the DVS interface

    3. create a standard virtual switch with no physical cards. He has no need to be a VMKernel VM Networking switch is fine. Make a note of the name you gave to the PortGroup created on the new vSwitch.

    4 using the remote control line, add the new interface vkernel specifying an appropriate jumbo MTU (9000) and the PortGroup on the standard new vSwitch. For example:

    esxcfg - vmknic.pl - Server

    If you get 3 answers, everything works. If you get failures, something has gone wrong. Go back and check that the interface is configured correctly using the command list esxcfg - vmknic.pl-.

    Enjoy!

    M

  • Add the new column on 25 million lines Table

    Hi gurus,

    I have to add the new column to a populated application table who get to each Transaction.
    We can do this with no interruption of service and what are the things that I need to look after adding the peak of performance.
    Something happened to my mind is re - run stats

    Any Suggestion

    Database version = 10.2.0.4
    OS = RHEL4

    I appreciate your help on this
    Thank you

    789816 wrote:
    If the GET of the table is locked, it means that the application cannot write any new transactions in the table until the new default values has been updated?, my understanding of the downtime to do this to

    *-Online Yes, you need downtime in 10 g *.

    Another Question if we have default values as NULL will always be the table get locked?

    *-ONLINE YES *.

    11 g, this problem has been fixed by oracle: http://www.oracle-class.com/?p=1943

    create table sales as
       select rownum as id,
       mod(rownum,5) as product_id,
     mod(rownum,100) as client_id,
     2000 as price,
     to_date(
     '01.'||lpad(to_char(mod(rownum,3)+1),2,'0')||'.2011','dd.mm.yyyy')
     as c_date
     from dual
     10   connect by level <= 2.5e5;
    
    Table created.
    
    SQL> select count(*) from sales;
    
      COUNT(*)
    ----------
        250000
    
    ----session 1
    SQL> begin
      2  for i in 1..100000 loop
      3  insert into sales (id) values(i);
      4  end loop;
      5  commit;
      6  end;
      7  /
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    
    When inserting into the table sales, the alter table add the new column was waiting for the inserts to finish
    
    -----session2:
    SQL> alter table sales add (provider_id NUMBER(2));
    
    Table altered.
    
    SQL> 
    
  • Add the new contact

    Hi, I have a problem with a part of my integration - adding a new contact. I do all kinds of things with integration objects, including the update of the Contact object and will have no problem. Specifically, it adds the new contact, but it times out:

    HttpException (0x80004005): request timed out.

    This sometimes happens, sometimes it doesn't, but it always takes a lot of time to InsertOrUpdate compared to adding/getting contact to date of other objects. (What is normal behavior?) I went through the code and everything seems fine. I just vomit this here to see if someone had a problem of simliar or off-the-top-of-the-head suggestions.

    It's been a while since I've been here and I've not been keeping up with the goings. Probably there was at least a new version since I checked last and I see now that they are at the Service of Web 2.0.

    This is a c# project and I use Web Service 1.0. I use forms authentication and I set a timeout to 20 minutes. It is based on the c# WebSelfService example I received from customer of 18 months previously.

    In addition, please do not assume that I am smarter than I really am. Do not think that "well, surely he has verified that if I post." Just after some thoughts come to your head.

    Thank you.

    Published by: user10974562 on April 3, 2009 06:18

    Published by: user10974562 on April 3, 2009 06:21

    Just a question... Reg your insert.

    How are you populating the Manager field in your insert?

Maybe you are looking for

  • C75 - A satellite does not start on battery alone

    Hi all! Let me explain my problem: I own a * Toshiba satellite C75 - A *. It's quite recent (to 1 year) with windows 8.1 running. I can start it on diet, it works perfectly. Battery inserted or not, all right. But the problem is when I try to start w

  • Satellite 4030cdt dead

    I'd appreciate advice for my dead satellite 4030cdt, it is totally dead no response from all power button, power supply works fine the main battery and battery cmos have a little tension on them, I disassembled the laptop right and checked all the co

  • I can't install Outlook Express, I don't understand what to put in for the incoming mail POP or outgoing server - help please

    I have Yahoo Mail but have trouble with Explorer and simply do not know how to check questions for Outlook Express.  How do I know which is my server or I need this pop thing?  I'm with bt internet.com sorry to be so obtuse that my senior moments see

  • Renewal AVG security

    I went through the process of renewal of my 2 years with AVG online suppot I followed all the information they gave me for installation. Now, after completing the installation ui tried to enter my e-mail address but there is no sign in the bar and I

  • Computer to Tv.I NetFlex

    I have the cable to connect the TV to the laptop and even had the chance twice to get movies, play TV but don't know how.  I can get icons on the TV screen and even the cursor but not the entire screen or movie again.  Can help you.