Background Bitmap value W3D file problem

OK, I posted about a while, but it has never been resolved. I have a program that allows the user to select from a list of objects. The list consists of several different models of W3D imported into my a 3D cast member after a mouseUp event. There is another list which consists of various images (JPEG format) that are important in a cast member called boss. After importation, they are applied as a texture to the current W3D model. I have the background transparent value, and DTS is disabled. The program works fine you cross and click on the different textures, they are applied to the model that is superimposed on a background that I created. My problem comes when I try to print at the scene. To print, I put the image of the 3D cast member to a bitmap, called "Imageholder." Once this happens, for all but one of the W3D models I work with, a background color is filled in the bitmap of the Imageholder and is no longer transparent. The sprite of the Member "Imageholder" I put transparent background as well. There must be a problem with exporting W3D model but I don't know what to change. Please help and thanks in advance.

Answered my own question... Finally! I thought to print you need to set an image to the image of the 3D member. Turn on you can simply print the scene with the 3D cast member.

Tags: Director

Similar Questions

  • Problem with Listfield and expandable background bitmap

    Hello

    I struggled for a while to make this work, and after searching the forums and knowledge base, I can't seem to do right. What I try to do is:

    1 header is a bitmap expandable width of 1px to the bottom, more a company logo bitmap, with position fixed (only the items below it is scrolling)

    2. use a listfield, which contains 4 elements:

    -1 px wide image bitmap background for each line, repeat horizontally

    -1 px width bitmap image of background for the highlighted line, repeat horizontally

    -an icon bitmap for each line on the left side, and

    -a title text for each line

    Here is the screenshot and code what I've done so far, so the problem is:

    1. when I scroll, scrolls the header (what I want is to position of the header is fixed, only the listfield below is scrolling).

    2. the background image is only painted on the first line of the listfield, how can I do this with all the lines?

    3. How is - that replace you the default blue color on a bitmap background highlighted line?

    public class AjsScreen extends MainScreen{
    
        // constructor
        public AjsScreen() {
            super();
    
            // --- 1. Main Header --- \\
    
            //prepare images upfront
            final Bitmap bgHeader = Bitmap.getBitmapResource("bg-header.jpg"); // repeating background image for main header
            final Bitmap logoAjs = Bitmap.getBitmapResource("logo-ajs.png"); // company logo in main header
            final Bitmap bgMenu = Bitmap.getBitmapResource("bg-menu.jpg"); // repeating background image for main menu
            final Bitmap bgMenuRo = Bitmap.getBitmapResource("bg-menu-ro.jpg"); // repeating background image for main menu (highlighted)
    
            //images used as repeating background
            final Background backgroundHeader = BackgroundFactory.createBitmapBackground(bgHeader, 0, 0, Background.REPEAT_VERTICAL); //REPEAT HORIZONTAL ???
            Background backgroundMenu = BackgroundFactory.createBitmapBackground(bgMenu, 0, 0, Background.REPEAT_VERTICAL);
            Background backgroundMenuRo = BackgroundFactory.createBitmapBackground(bgMenuRo, 0, 0, Background.REPEAT_VERTICAL);
    
            //main header background, with stretched width, and fixed height
            HorizontalFieldManager hfm = new HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH){
                public int getPreferredHeight() {
                    return 55;
                }
            };
            hfm.setBackground(backgroundHeader);
    
            //main header logo
            BitmapField bf = new BitmapField(logoAjs);
            bf.setPadding(2, 0, 0, 5);//clockwise from top, right, bottom, left
            hfm.add(bf);
    
            add(hfm);
    
            // --- 2. Main Menu --- \\
    
            ListField lf = new ListField(){ //4, USE_ALL_HEIGHT | USE_ALL_WIDTH
                protected void paint(Graphics graphics) {
                    // TODO Auto-generated method stub
                    super.paint(graphics);
                }
            };
            lf.setBackground(backgroundMenu);
            lf.setRowHeight(40);
    
            final Vector le = new Vector();
            le.addElement("Menu 1");
            le.addElement("Menu 2");
            le.addElement("Menu 3");
            le.addElement("Menu 4");
            le.addElement("Menu 5");
            le.addElement("Menu 6");
            le.addElement("Menu 7");
            le.addElement("Menu 8");
            le.addElement("Menu 9");
    
            lf.setCallback(new ListFieldCallback() {
                public int indexOfList(ListField listField, String prefix, int string) {
                    return le.indexOf(prefix, string);
                }
                public int getPreferredWidth(ListField listField) {
                    return Display.getWidth();
                }
                public Object get(ListField listField, int index) {
                    return le.elementAt(index);
                }
                public void drawListRow(ListField listField, Graphics g, int index, int y, int w) {
                    g.drawBitmap(0, y, bgMenu.getWidth(), bgMenu.getHeight(), bgMenu, 0, 0);
    
                    String text = (String) le.elementAt(index);
                    g.drawText(text, 0, y, 0, w);
                }
            });
    
            lf.setSize(le.size());
    
            add(lf);
    
        }
    
    }
    

    Thank you very much

    Yusuf

    «1. when I scroll, scrolls the header (what I want is in the position of the header is fixed, only the listfield below scrolls).»

    ListField will do this for you.  I suggest that you look at setTitle in the screen and put your part not scrolling in there

    '2. the background image is only painted on the first line of the listfield, how can I do this with all the lines?'

    Don't know (haven't looked hard) how your background is painted on the first line, but this line:

    g.drawBitmap (0, bgMenu.getWidth (), bgMenu.getHeight (), bgMenu, 0, 0);

    doesn't seem to work for your lines.  You need to paint the entire width like this.

    ". How do replace you line default highlighted in blue on a background bitmap? »

    There are a number of ways to do I think.  Is to determine if you paint the selected line and act accordingly

    (if (listField.getSelectedInde () == index) {...})

    } else {}

    }

    Some people I think drawFocus override for the ListField - if you're looking for tour you will find examples.

    I think there are other ways, I'm looking round I think that this question has been asked before.

  • Seal a .swf with a transparent background in an XHTML file

    I'm trying to integrate a .swf with a transparent background in an XHTML file. The only answer I found so far is to use < param name = 'wmode' value = 'transparent' > in the object params and wmode = "transparent" in the embed tag. Using this code, the entire .swf file goes transparent with icons. I also read to use "export html code" in Flash (using transparent windowless in settings) but that gives me a file .html huge to make it transparent which is of no use to me. I need for the import/include in my page home using a few lines of code. Any help would be appreciated.

    I don't think that you listen to what I say.  You use the embed code is old and will not work with recent browsers, and as you have, it would be incomplete, even in those ancient times.

    You don't have to use the page that Flash produces when you publish an html page.  You can copy and paste this code in place of what you now that does not.  CS6 provides a little more efficient integration of code that CS4 will be, but still CS4 will bring something better than what you use.

  • definition of the background image of the file during execution

    So, I have another issue to resolve and my migration to 11.5 will be complete.  In the previous iteration, the project has been able to set the background image from an external file dynamically during execution.

    After the migration, it seems that the projector keeps the canonical path to the image of Member and looking for him there. In other words, loads of projector, but a file finder opens, saying: he cannot find the background image in the path of the source machine Director.  Setting the name of the file in the jargon does not stop this behavior doesn't happen.

    I tried to re - import the image as "link to external file" (which had the same results) and flat import (which does not load the file during execution, even if I put the file name in the jargon).

    Anyone know how I can do this, the value of the background image of a file during execution?

    Thanks in advance!

    I do it all the time.  Just make sure that the image is in the same location relative to the projector that's director file.  The easiest way is of course if the image is in the same folder as the .dir file, in which case, you'd sure as to put it in the same folder as the projector, and you can set the name of the file using:

    Member ("someExternalMember"). FileName = the moviePath & "filename.jpg"

    You can have it in subfolders as well if you want to make sure that the relative location is the same.

  • I know this has been asked before but I deleted 6 months value of files, can not use cancel.

    I know this has been asked before but I deleted 10 months value of files, cannot use cancel and have not saved (live & learn) someone posted do a restore from "Import and backup" my restore ad is only 2010-6-29 to 2010-6-22. Is this the way to go to recover as much as possible, or is there another solution?

    These dates are when a backup was performed automatically by Firefox, no dates when you saved bookmarks. Try to restore the backup of the day which you removed all bookmarks. It will restore the backup file-not only what you deleted, you will lose all the bookmarks you saved after the date of the file that restore you.
    https://support.Mozilla.com/en-us/KB/lost+bookmarks

  • Computer will not start at the top. I was first getting a 'file problem' message on nv4_mini.sys. After finding that someone else had...

    Computer will not start at the top. I was first getting a 'file problem' message on nv4_mini.sys. After finding that someone else had the same problem and I responded went to try the solution but then started to get the message that the file: \windows\system32\config\system is missing or corupted. Have tried to do where I could start up in safe mode and cannot. Tried to boot from the installation CD, but when I try to make the system recovery and choose the system to recover nothing happens. This isn't regarding the password. I have a Dimension 4500 XP sp3

    Hi BrianJ641,

    Follow the steps in the article.

    http://support.Microsoft.com/kb/307545

    Note: When you are prompted to type the administrator password, you can type if you set the password. If the administrator password is blank, just press ENTER.

  • Write a bitmap to a file *.bmp or *.png with JDE 4.5

    Does anyone know a function to write a bitmap to a file standard riphics for example *. BMP *. PNG or something like that?

    I'm Trying with JDE 4.5 on the default curve Simulator.

    Please see this thread.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=736&query.ID=1057...

  • LabelField with background bitmap file

    I would like to show a LabelField with a background as (01.gif, the yellow circle is the bmp and the labelField is '1'). My code is as follows:

    final Bitmap bmp = Bitmap.getBitmapResource("img/circulo_numero.png");
    LabelField lblPaso = new LabelField("1", Field.FIELD_RIGHT) {
        protected void paintBackground(Graphics g) {
            g.drawBitmap(0, 0, bmp.getWidth(), bmp.getHeight(), bmp, 0, 0);
            super.paint(g);
        }
    
        public int getPreferredWidth() {
            return  bmp.getWidth();
        }
    
        public int getPreferredHeight() {
            return bmp.getHeight();
        }
    
        protected void layout(int width, int height) {
            super.layout(width, height);
            setExtent(Math.min(width, bmp.getWidth()), Math.min(height, bmp.getHeight()));
        }
    };
    

    However, I got results as indicated in 02.gif...

    How can I solve this problem?

    TIA,

    Yamil

    Sorry, I'm not your post earlier. In any case, here is an explanation:

    Your number 1 is painted where LabelField wants to paint. Unfortunately, you don't try to control where he went to paint it or where it will be placed, by the way. Fortunately, there is an old creation of mine tailor-made for you. Here it is:

    Re: ButtonField with background

    Simply create a CenteringManager with the bitmap you want to use as a background, add your LabelField and enjoy.

  • the value position of file problem

    Hi all

    The question that I get is as follows:

    I want to add to an already existing data other .txt file. To do this, I use "leader Set position" function to determine the current file mark. This function accepts as input, ONLY a refnum!

    but in my case, I just a file path (not a refnum!). How can I generate the path that I, a refnum to use as input to the function of "Position of the whole file?

    Note: Please read the comments in the VI

    Thanks in advance for any help you can provide,

    Kind regards

    F

    If your file exists, you must open...

  • OCR @ background for several PDF files

    Dear friends,

    I have several PDF files image / tiff files. a PDF file can have multiple pages. I wanted to do OCR of each PDF file. Manually, I need to do it one by one.

    I wanted to perform this task in the background might be a tool that can be run to do OCR for all files and save result files in the specific folder. This groundwork will be executed on a daily basis.

    Can this be possible with Adobe OCR tool? OR offer another solution using Adobe OCR.

    Have we not all libraries that can be integrated with .net application? so that we can build the tool that can be run in the background.

    Thank you

    Louis

    Yes, you can run OCR on a set of files and save them in the folder with the specified names. To do this, follow these steps:

    If no file is opened in Acrobat:

    1. start Acrobat and go to tools > improve the Scans

    2. There is a link «or recognize text in multiple files»

    3. on the "recognize text" dialog box, click Add files option and select all the files, you want to perform OCR.

    4. click on Ok. Now a dialog box will come where you can specify the output settings (folder path and file name prefix/suffix)

    5. the "Recognize text - settings' window specify the language and style of OCR output. (Default value is searchable exact Image).

    If a file is opened in Acrobat, step 2 will change: toolbar in Acrobat select text recognition > in multiple files

    Hope it will solve your problem. Please let us know if something else is needed.

    Thank you.

  • How to write a table and a scalar value in file?

    I would like to write my data in a file but cannot address the problem. In the file I would write are values of x and y of my points of data in two columns, however, the data is in a table and the data of x consists of 3 pieces of information: an initial x, x incremented value and the number of points in my sample of data. How would I go about this?

    The number of points is redundant, because it will be the same as the 'other' in the table.

    Here's what I usually do:

  • Files problems...

    Recently I tried to create a new folder under Vista 32 bit and was unable to name it. I can type the name I want, but when I enter the name goes to the "new folder". I ran the registry cleaning software made for Vista and cleaned all the invalid registry keys. I also scanned the HARD drive using the Microsoft web scanner. Nothing is fixing this. What's wrong???

    Even if you don't get this error message and it is not a shared network folder, the solution can still help solve your problem, because it is similar (can't rename the folder): http://support.microsoft.com/kb/934160.
    But it is probably a permissions problem (user/group permissions or ownership rights).  Here is some information that should help you.  Do the TWO parties - the part of the authorities AND the part of the property.

    To view your permissions, right-click on the file/folder, click Properties, and check the Security tab.  Check the permissions you have by clicking on your user name (or group of users).  Here are the types of permissions, you may have: http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).)  Here's how to change the permissions of folder under Vista: http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/.  To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article: http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.

    To resolve this problem with folders, appropriating the files or the drive (as an administrator) and give you all the rights.  Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for files and folders/player who can change the required permissions.  You can change now switched to read-only (even if the main folder indicates that they are always read-only - you can access yourself as the owner).  You can keep them in read-only to other users, customers and administrators even (although they can support themselves and access, if they wish, and it is really not that you can do to stop it except protect the file with a password by using a 3rd party product.)  Here is more information on the ownership of a file or a folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html.  To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article: http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.

    Good luck and I hope this helps!

    P.S. I STRONGLY advised against running ANY registry cleaning software if you want to avoid your system crashing, it irremediably corrupts or infected with some type of malware.  There are NO registry cleaning software I can recommend (or someone here who has experience in the industry will recommend).  Most do almost nothing of the real value and some can be very dangerous.  Vista didn't need it - he did a great job on its own.  When perform you analyses using the advertised software it shows ALWAYS hundreds or thousands of errors that must be repaired if you download and purchase their software (or sometimes this happens even with freeware).  It's a scam.  They try to make you download the software to get money out of you or infect your system with malware of some sort.  If you decide to use anyway, do it at your own risk with this bet to keep in mind.

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Background color with sticky notes problem

    I have a weird problem with sticky notes. It works well, but the background color of the text entry box remains white, despite the color you choose. If you choose any color, borders will change, but the input area stays white. Any thoughts on how to solve it?

    Hi FabioFreitas,

    The problem may be related to corrupted application files. To solve this kind of issue, I would propose the following suggestions.

    Method I have
    1. open a command prompt to run the following command to repair the corrupted system files.
    (a) click the Start button and type "Command Prompt" in the search box.
    (b) right click on command prompt to run as an administrator.
    (c) Type: sfc/scannow to scan the entire drive.
    2 copy the StikyNot.exe since another available on the current computer operating system.

    More information on SFC scan found in this document:
    http://support.Microsoft.com/kb/929833

    Method II 
    If the method above does not help to create a new user account and check, if it solves the difficulty of the corrupted user profile issue.

    Create a user account
    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    If the problem does not occur in the new account user set your user account corrupted. The steps to fix the corrupt user account is given below.
    Fix a corrupted user profile.
    http://Windows.Microsoft.com/en-in/Windows7/fix-a-corrupted-user-profile

    It will be useful.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • 16-bit greyscale RAW file problems

    All,

    First of all, let me start by saying hello. This is my first post.

    I'm having a problem as well save as and opening of gray from 16-bit raw files in Photoshop CC 2015.1.2. I am running Photoshop on a PC for Windows 10. The plug of the machine's Core i7 HDD DDR4 / 256GB Solid State OS drive/256 GB solid state Scratch disk/2 TB plateau 6700/32 GB for storage/NVidia GeForce 980TI video card. I don't know all of this information is relevant to the problem that I am experiencing, but I thought I would include it just in case.

    I searched a bit on the forums, but questions I've found so far are in reference to Camera Raw files, and that's not what I got. From what I have gathered in my research, the Camera RAW files and height map RAW are not the same thing. I downloaded a map of height .png terrain.party 16-bit gray. When I open the PNG in Photoshop, it opens as a gray 16-bit file (I confirmed this by looking at the settings of the Image/Mode of the file). I then made the essential changes of scale that I have needed to make the picture and click file | Save as. In the file save dialog box, I changed the type of PSD for Photoshop RAW file and clicked on the "Save" button. In the subsequent Options Photoshop RAW dialog, I chose IBM's PC for the byte order and left all other settings at their default values and then click OK.

    When I try to open the RAW file I just saved, Photoshop opens new Options RAW Photoshop dialog box but this time it detects the file as a RAW Interleaved of 8 bits. If I try to change it to a 16-bit RAW file, it returns the error "precise Image is superior to the queue. If I leave at 8 bits, and then click OK, the image opens but it looks nothing like the original map height png I was working with, instead, now it looks like snow on a television screen, and when I look at the IMAGE. The mode settings once again, the file shows as a multichannel 8-bit raw file.

    What I'm doing wrong here? I use the card to the height to create a unity 3D terrain mesh. The unit only accepts as input grey RAW files, and it is recommended that files be in 16-bit mode. 8 bit files tend to contain too little details and cause the ground to look at as it was built for minecraft (very not smooth rasterized the relief of the track should be). Photoshop (as much as i now) is the only application capable of backup to a grey RAW 16-bit format, but I can't seem to make it work right.

    Thank you

    James Evans

    OK, I thought about it out on my own... I spent days trying to solve this problem. It appears that I would find the answer a few minutes after I post the question. The answer is that when you open a grayscale 16 bit raw file in Photoshop, you must change the number of channels 2-to-1. Then it works without problem.

  • Configure vswitches from a .csv file - problem

    I have a script that works very well for the installation of my virtual past by using the updatevirtualswitch method. (Thanks to LucD, see here: ) http://communities.VMware.com/message/1556669#1556669 )

    I now want to go further and to feed my script with variables from a .csv file.

    It works fine for all, with the exception of the definition of vmnic. Description of the problem:

    Excerpt from my .csv file:

    lannics; dmznic1; dmznic2; dmznic3; storagenics; vmotionnics;

    @("vmnic0"); @("vmnic1", "vmnic2");

    Then import the settings from the csv file, example:

    $lannics = $parameterfile.dmznic1

    Now, if I check what's in $dmznic1, I have the good: @("vmnic1", "vmnic2")

    But it seems to be a string, not a true table. Therefore, I can not pass it to my updatevirtualswitch function:

    function standardvswitch {}

    Param ($esx, $vs, [string []] $dmznic1)

    ....

    $ns. UpdateVirtualSwitch ($vs, $vsSpec)

    }

    So the question is: how could I get my .csv file information, so that it can be used for a definition of vmnic compatible with the UpdateVirtualSwitch method?

    Thanks for your help or ideas!

    I've done a few tests more and saw that my previous solution does not work. "But one that follows). I'll try to explain how it works. In the .csv file, a semicolon is used as a field separator. This means that you can use a comma in a field to separate the members of the group. The Import-CSV cmdlet reads the .csv file and - separator "," parameter instructs the cmdlet that a semicolon is the field delimiter. The output of the Import-CSV cmdlet is piped in a ForEach-Object cmdlet. In the scriptblock ForEach-Object according to the value of the dmznic1 property string is shared by the comma, so each string before, between and after the comma will become a member of separate table. This table is assigned to the dmznic1 property. Loop loop through all the members of the Group and displays them on separate lines. So you can see that it is really a picture.

    Import-CSV -Path LanNics.CSV -Delimiter ";" | `
    ForEach-Object {
      $_.dmznic1 = ($_.dmznic1).split(",")
      for ($i=0;$i -lt $_.dmznic1.length; $i++) {
        Write-Output $_.dmznic1[$i]
      }
    }
    

    See the attached screenshot for output.

    I think that this solution is more beautiful that create a different column for each vmnic because in my solution you don't have to know in advance how many cards you have.

    Post edited by: RvdNieuwendijk

Maybe you are looking for

  • Error-1073807297 PXI-4071

    Hello people, I recently updated my CalExec 3.4 3.4.1. Desktop XP OS. I can't calibrate the PXI-4071, I have not had any problems in the past. MAX has no problem seein' and it makes even the inside however calibration option, with CalExec I get as mu

  • With CVI2013 breakpoints work differently

    In the past, I used to insert lines 'doing nothing', but which allows me to set a breakpoint. Now, with CVI2013, the following doesn't work anymore: If (expression) { something } on the other { ; } The solution is to have something like If (expressio

  • host of codec Windows live photo gallery has been closed

    When you use photo gallery, movie maker, Windows live photo gallery codec host was closed. everything I work on gose away when I cleck on box Original title: gail hall

  • No screen, no display = Compaq - L.Top C502US

    I could use you some help. My lap top screen is dead. I tried some of the suggestion here as taking the battery and disconnect the power supply, etc.. Now, the screen is totally black and it is powered and the respective LEDs are LIT (beginning, volu

  • I need a driver for printer hp laserjet 5 tr for windows 8

    I need a driver for printer hp laserjet 5 tr for windows 8, please help.  I use this printer all the time, it's a real work horse.   A former pilot windows 7 will work?  My husband can print over the network to the HP5 if with its windows 7.  Thanks