About sprite3D with fully transparent pixels

I have a image with fully transparent pixels. want to use in a sprite3D object. But all of fully transparent pixels is rendered as white. There is no transparent at all. How can I do it or if the Sprite3D is not support transparent?
best regards and Thanks any reply.
The init code is :
Image sprImg = Image.createImage("/spr.png");
Appearance sprApp = new Appearance();
Sprite3D spr3D = new Sprite3D(true,new Image2D(Image2D.RGBA,sprImg),sprApp);
spr3D.setCrop(sprTexX,0,52,128);
sprTran.setIdentity();
sprTran.postTranslate(0.f,2.f,5.f);
sprTran.postScale(2.f,4.f,1.f);

Hi Sniper_bat,
I want to do exactly the same thing, did you ever fix this problem?
Dan

Similar Messages

  • Will Apple do anything about screen with multiple stuck pixels?

    was posted the question under the wrong discussion board lol, there are about 5-9 pixels visible under black background (so far i couldn't tell if i see them under other color backgrounds yet), bought this notebook on 6/5
      Mac OS X (10.4.9)  

    Here, this might help you..
    LCD display pixel anomalies:
    http://docs.info.apple.com/article.html?artnum=22194
    Depending on the consumer rules in your country.. you might be allowed to exchange or refund the product as you're 'dissatisfied'. For example, in the UK the Apple Store allows you to get a Refund or Exchange within the first fourteen (14) of purchases, do check the small print on your invoice. If you are allowed.. then by all means return the product to their store and ask for a exchange.
    Good Luck.

  • Use GIF with transparent pixels...

    Hi,
    I imported into my Library a gif with some transparent
    pixels.
    basically this gif represents a frozen frame and i would like
    to see
    thru like if user was watching thru frozen window.
    however, when i convert it to symbol, the transparent pixels
    are turned
    to non-transparent.
    how can i do to use transparent pizel under CS3/AS3 ?
    thanks a lot,
    RAF

    Careful with the cross-posting! I answered your post on the
    General Discussion forum.

  • Trim Transparent Pixels

    I cropped the photo to 16x20. With this crop I ended up with some transparent pixels on the right and left edges. I used the Trim tool to remove the transparent pixels. Question - after removing the transparent pixels with the Trim tool do I still have a full 16x20 photo ready for printing OR because I chopped off the transparent pixels my photo has shrunk to a slightly smaller size?

    I started with a photo that I cropped to 16x20. With this 16x20 crop I had some transparent pixels. I trimmed the transparent pixels off. By trimming did I decreased the size of the 16x20? I did NOT recrop after the trimming.

  • Find bounds of contiguous transparent pixels

    I have the need to find the largest rectangle of ONLY
    transparent pixels in a transparent PNG. The transparent region is
    non-rectangular, so getColorBoundsRect returns a rectangle that
    also contains non-transparent pixels. Is there a way I can check
    for a rectangle that contains only the color I set?

    Barring finding a method to do this, I hacked together a
    solution.
    First, I found the bounds of all transparent pixels using
    getColorBoundsRect.
    Next I iterated from the top-down until I found the first
    line with only transparent pixels to revise the top edge
    Finally I iterated from the bottom-up until finding the
    bottom line of only transparent pixels to revise the bottom edge.
    I was able to compensate like as such because I know that the
    rectangle is not impeded from the sides at any point, otherwise I
    would have had to find the left and right edges as well.
    I feel like there should be an easier way (and also a less
    processor-intensive way) to do this.

  • Photoshop opens dialog box when trying to fill a layer with transparent pixels locked

    This script should set the layer to lock transparent pixels, and then fill the layer with a color. It does that, except when it gets to the fill stage, it opens the fill dialog box, and you have to hit okay.
    If you omit the transparent pixel line, it runs as expected, no dialog box.
    Is there a way to suppress the box? Or am I doing something wrong that's causing the box to open?
    #target photoshop
    app.bringToFront();
    doc = app.activeDocument;
    doc.artLayers[0].isBackgroundLayer = false;
    doc.artLayers[0].transparentPixelsLocked = true;
    app.activeDocument.selection.fill(app.foregroundColor);

    Not sure why that happens.
    But I would recommend foregoing the locking and using the AM code for a Fill that honours the transparency.
    #target photoshop 
    app.bringToFront(); 
    doc = app.activeDocument; 
    doc.artLayers[0].isBackgroundLayer = false; 
    doc.activeLayer = doc.artLayers[0];
    // =======================================================
    var idFl = charIDToTypeID( "Fl  " );
        var desc18 = new ActionDescriptor();
        var idUsng = charIDToTypeID( "Usng" );
        var idFlCn = charIDToTypeID( "FlCn" );
        var idFrgC = charIDToTypeID( "FrgC" );
        desc18.putEnumerated( idUsng, idFlCn, idFrgC );
        var idOpct = charIDToTypeID( "Opct" );
        var idPrc = charIDToTypeID( "#Prc" );
        desc18.putUnitDouble( idOpct, idPrc, 100.000000 );
        var idMd = charIDToTypeID( "Md  " );
        var idBlnM = charIDToTypeID( "BlnM" );
        var idNrml = charIDToTypeID( "Nrml" );
        desc18.putEnumerated( idMd, idBlnM, idNrml );
        var idPrsT = charIDToTypeID( "PrsT" );
        desc18.putBoolean( idPrsT, true );
    executeAction( idFl, desc18, DialogModes.NO );

  • Problem with image transparency in Director

    We want to use some Photoshop images with some transparency and gradients
    (ie foreground color to transparent background) in a project where the image
    will be placed over various other background images (the background images
    will show through the transparenct areas).
    When we import the file (in p/shop format - selected as 32 bit),and it's
    placed onto the stage the "transparent" areas of the image are not fully transparent
    - there is a slight 'lightening' of the pixels in the transparent areas (this doesn't show
    up when the image is viewed in Photoshop)
    Can anyone explain what is happening here?

    What happens if you save as PNG out of PS and import that?

  • How to edit transparency pixels in a FilterPlugin?

    I want develop a fiter plugin of photoshop. while i am not clearly about some issues:
    (1) how does the photoshop provide the transparency data ( blank data ) to me ?
    in other words, i want obtain the "alpha" channel data, is this provided by the "inData" together with other channels?
    (2) I want to change the pixel's transparency, means i want change totally transparent pixels into
    opaque. how to do it ?
    (3) in the pluginName.r file,there are 7 entries in FilterCaseInfo like following. is there anything i must pay special attention to?
      FilterCaseInfo
        /* Flat data, no selection */
        inWhiteMat, outWhiteMat,
        doNotWriteOutsideSelection,
        filtersLayerMasks,
        worksWithBlankData,
        copySourceToDestination,
    By the way, When i invoke a filter (i develop it 2 yeas ago) on the transparency document , photoshop gives a messagebox said it canot invoke the fiter because the selection area is totally empty.
    if the area has both transparency and opaque pixels, then the plugin cause write access faled and made the photoshop crash ,  why does this happen, how to avoid it.
    Thanks a lot.!

    First off, don't confuse "alpha" with "transparency" they are different.
    If I create a RGB document with one layer and call the Dissolve example I get the following bits of information in the FilterRecord:
    planes = 4
    imageMode = 3 // plugInModeRGBColor
    filterCase = 4 // filterCaseEditableTransparencyNoSelection
    inLayerPlanes = 3
    inTransparencyMask = 1
    plane 0 = red, 1 = green, 2 = blue, 3 = transparency
    See DoFilter, the loop on the planes, and DissolveRectangle, the changing of the data on each plane, in the Dissolve.cpp example file.
    Now flatten the document and create an alpha channel and select all channels via the channels panel. Selecing just the alpha channel or any one channel will have different results.
    planes = 4
    imageMode = 3 // plugInModeRGBColor
    filterCase = 2 // filterCaseFlatImageWithSelection
    inLayerPlanes = 0
    inTransparencyMask = 0
    inNonLayerPlanes = 4
    There is some documentation about FilterCaseInfo in the Plug-in Resource Guide.pdf found in the documentation folder.

  • Ctrl + click doesn't select ALL non-transparent pixels

    Hello. How can I select ALL non-transparent pixels from a layer?
    - Ctrl + click doesn't work (it seems to have a 50% tolerance - my opacity 7% and 40% pixels don't get selected);
    - The magic wand tool with 0% tolerance does work (when I click on a transparent pixel it selects ALL opacity 0% pixels around it and then I just have to inverse selection), BUT my image has a lot of holes with transparent areas and selecting them one by one would be tedious.
    Thank you.

    I think it should. if your only going by the selection outline, then the selection outline only shows the pixels that are 50% or more selected.
    In other words the pixels have varying degrees of transparency. If the selected pixel is not at least 50% opaque then the selection outline doesn't show them, but they are selected when ctrl clicking on a layer thumbnail.
    After making the selection by ctrl clicking make a new layer and fill the selection with black and then turn off the visibilty of all the other layers.
    You should get a better idea of what is happening.If you were to lock the transparency of the layer and fill with black you should get the same result.
    If you use the magic wand at 0% tolerance then your not getting a true selection of the layer transparency, but rather making the partially transparent pixels fully opaque (selected).

  • Drawing transparent pixels into BufferedImage?

    Hi,
    I'm trying to do this:
    1) Create a BufferedImage
    2) Paint its background to black
    3) Paint a rectangle using a fully-transparent color
    4) Output this BufferedImage in the form of a PNG file using ImageIO
    My expectation is for step 3 to paint in "transparent" but what seems to be happening is that Graphics interprets my paint command as "draw nothing, it won't change the image anyway". Or maybe the PNG writer in JDK 1.5 does not actually output transparent pixels? Either way, I'm not getting the results I want. Any ideas?
    Thanks,
    Gili

    one should use Graphics.clearRect() for clearing a regionI'm not so sure about that. The API for clearRect states:
    ...the background color of offscreen images may be system dependent. Applications should use setColor
    followed by fillRect to ensure that an offscreen image is cleared to a specific color.
    So I tried to do as this suggests:
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import javax.imageio.*;
    public class Test0 {
        public static void main(String[] args) throws IOException {
            int W = 100, H = 100;
            BufferedImage bi = new BufferedImage(W, H, BufferedImage.TYPE_INT_ARGB);
            Graphics2D g = bi.createGraphics();
            g.setColor(Color.BLACK);
            g.fillRect(0, 0, W, H);
            g.setColor(new Color(0,0,0,0));
            g.fillRect(W/4, H/4, W/2, H/2);
            g.dispose();
            ImageIO.write(bi, "png", new File("temp.png"));
    }...and it doesn't work?! I'm thinking this is a bug. What to do? Can't get enough of that Porter-Duff:
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class Test {
        public static void main(String[] args) throws IOException {
            int W = 100, H = 100;
            BufferedImage bi = new BufferedImage(W, H, BufferedImage.TYPE_INT_ARGB);
            Graphics2D g = bi.createGraphics();
            g.setColor(Color.BLACK);
            g.fillRect(0, 0, W, H);
            g.setComposite(AlphaComposite.Clear); //<<---- magic pixie dust
            g.fillRect(W/4, H/4, W/2, H/2);
            g.dispose();
            ImageIO.write(bi, "png", new File("temp.png"));
            JLabel lbl = new JLabel(new ImageIcon(bi));
            lbl.setOpaque(true);
            lbl.setBackground(Color.GREEN);
            JFrame f = new JFrame("Test");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(lbl);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • How do I import animated gifs into Premiere with a transparent background?

    I have an animated gif that I got from the internet, and I'm trying to import it into Premiere Pro with a transparent background. The gif is of a video game character standing still and blinking. Whenever I import it, it always has a white background, so I need help on how to change that.
    I've gone into Photoshop and removed the white background frame by frame, making it transparent. I do this by using the magic wand tool to select the white background, then hit "delete" to turn it into that diamond grid, which means it's transparent. I then select File -> Save for Web. I preview every frame, and it shows that the backgrounds are transparent. I save it as a gif. But when I import it into Premiere Pro, the white background is still there.
    I've read many forums online about people trying to import images into Premiere Pro with a transparent background, but none of them have explained how to do it specifically for animated gifs. Every answer has always been "export the image as a png, that'll work", and sure enough, I exported a few frames of the gif as pngs, and those few frames had transparent backgrounds in Premiere Pro. But I don't want a png because those aren't animated sequences, those can only be still images. I need to export it as a gif so that it will remain animated, but gif files always have that dreaded white background in Premiere Pro.
    I suppose I could export every frame as a png, import each of those frames into Premiere Pro, then string all the frames together and tweak them so they'll be functionally identical to the animated gif, but that would take forever. I'm making a video project and I need numerous animated gifs to work with, so I don't want to do that with every single one of them. I'm looking for a way to simply import the gifs into Premiere Pro and be done with it. If there is any way to do this, please help me.
    -Robert

    faind on gif transparency and other cartoon animation problems : Adobe After Effects
    " The reason: GIFs don't support alpha channels. Instead, their file structure assigns a certain color value to be read as totally transparent. There aren't any degrees of transparency as you find in graphics formats that do support alpha channels.
    To use an animated gif in AE, you'd first have to create the areas of transparency, then convert the series of images into a graphics format that supports alpha channels, and there are a bunch: PICT, TIFF, TARGA or PNG, to name a few."

  • Is there a way to lock transparent pixels for more than one layer at a time?

    I've tried selecting multiple layers to modify but the lock transparent pixels box becomes greyed out once I've selected more than one layer. Apologies in advance if this is deemed to be a stupid question but it would be greatly appreciated if someone knows of a solution. It would be very handy for some of the projects I'm currently developing.
    Thanks.

    I have not had a problem in Photoshop CC 2014 as long as I selected a layer with transparency, in my case the gray checkerboard. The button would dim if I selected an adjustment layer.

  • I want to upgrade to Lightroom 5, but I'm concerned about compatibility with my 2008 intel Core 2 Duo iMac with only 4G of Ram.  Will I be able to run Lighroom 5 if I upgrade from Snow Leopard to Lion?

    I want to upgrade to Lightroom 5, but I'm concerned about compatibility with my 2008 intel Core 2 Duo iMac with only 4G of Ram.  Will I be able to run Lightroom 5 okay if I upgrade from Snow Leopard to Lion?  What will happen to the applications that aren't 64-bit compatible?  Also the Eye-one Display 2 colorimeter to calibrate the monitor will not run on Lion, so that will be an expensive upgrade to an i1DisplayPro. Is the upgrade important enough to offset the expense?  I have an Epson R2000 printer.  Will there be problems with the drivers if I upgrade to Lion?  It would be great to hear from other mac users who are also photographers and who print their own photos.    

    Before upgrading to Lion be sure to read this link:
    https://discussions.apple.com/docs/DOC-6271
    Adobe lists these requirements:
    http://www.adobe.com/products/photoshop-lightroom/tech-specs.html
    Looking at http://www.everymac.com/ even the earliest 2008 iMac was fully 64 bit, even though Boot Camp doesn't support 64 bit Windows on that machine.

  • I want to delete all transparent pixels, how can I? CS6

    I would like to delete all transparent pixels surrounding my irregularly (non-square) image.  The TRIM function only trims to a square surrounding my image and not to the edge of the image itself.  Is there a work around for this?  I have looked around and haven't found one. 
    Thanks,
    JB

    Image have rectangular area they have a width and height boundaries as do layer.  Not all of the rectangular area need to have content or be fully opaque,  However the image boundary is a rectangle.  Some file formats are like a Photoshop Background layer do not support empty area or even transparency so those file formats only contain image that are rectangles and have no transparency. Some file formats support transparency and empty areas so those images can be any shape and contain transparency still the image boundary is rectangular. Then there is the GIF file format an oddball format. It only supports 256 Colors. Pixels are mapped to one of the 256 colors selected for the image.  If you want Transparency in a gif  the number of colors is reduced by 1 to 255  the 256 color now indicate no content its not real transparency it just a no color pixel in other words off or no content.
    So if you have areas that are 100% transparent there is nothing to delete the area is empty.  If you have pixels that contain some transparency and you delete those pixels you delete details are you sure you want to delete all pixels that contain transparency? You will loose things like drop shadows

  • Problems with flash transparent drop down menu over html in some browsers

    Hi everyone... this is my first post and it's about an issue
    that's causing me a few problems.
    I'm currently designing/ building my company's web site, the
    test page be viewed here: www.musflashtv.com/test.htm
    1) This layout contains an embeded flash movie (.swf) with a
    transparent background, this is the main navigation.
    The flash navigation has a drop down menu that animates down
    and covers the html page (containing links) below.
    The problem is that in most current browsers such as; Firefox
    2.0.05 (links below template don't work), Netscape 8.1.3
    (navigation drop down and links don't work) and Opera 9.10 (links
    below template don't work), any links just below the 'invisible'
    transparent area coverd by the navigation can't be clicked 'through
    the flash file'. The exception is IE 7.0, everything is fine there.
    (it hasn't been tested in any mac browsers though).
    Because the area below the navigation on
    www.kitachi.info/work is one large dummy jpeg file, the link below
    would be a much better example to look at.
    http://www.musflashtv.com/shows/ind...tlight-Sessions
    The flash navigation is embedded in the html (tlp) template
    file using the code below and aligned using an external style
    (.css) sheet, this html code not only embeds the flash movie but it
    also tells the browser to display it's background and as
    transparent. The flash movie is embedded in a layer that sits above
    the table.
    3) The flash embed code:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    name="shows-navigation-tranparent" width="851" height="300"
    align="top" class="flash-navigation"
    id="shows-navigation-tranparent">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie"
    value="flash/navigation-tranparent.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#000000" />
    <param name="SCALE" value="exactfit" />
    <embed src="flash/navigation-tranparent.swf" width="851"
    height="300" align="top" quality="high" wmode="transparent"
    bgcolor="#000000" name="navigation-tranparent"
    allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    scale="exactfit" />
    </object>
    Does anybody know of any code that can solve this problem or
    know a different way of creating a flash navigation with a drop
    menu that can be embeded over html?
    Any help or advice would be greatly appreciated especially as
    this issue is holding back progress in a big way.
    Thanks in advance guys!
    Adie

    It's IE-only behaviour as a result of changes Microsoft made
    last
    year to their browser, regarding how Active Content (Flash,
    Quicktime etc)
    is handled, after losing a high profile court case.
    http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
    Background:
    http://en.wikipedia.org/wiki/Eolas
    See also
    http://www.adobe.com/devnet/activecontent/
    If you're running Dreamweaver 8.0.2, the fix is already built
    into DW's
    interface.
    If not, try
    http://blog.deconcept.com/swfobject/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "swizzle_16" <[email protected]> wrote in
    message
    news:eqr0ib$48r$[email protected]..
    > Help please, I've put together a website using a drop
    down menu system
    > that
    > needs to drop down over a flash animation - I've managed
    to get the drop
    > downs
    > to go in front of the animation using the transparent
    tag - but each
    > option has
    > to be clicked on twice to get the link to work.
    >
    > Does anyone know how I can change it so the link needs
    to be only clicked
    > once?
    > The drop down menu system I've used is : * AnyLink Drop
    Down Menu- ©
    > Dynamic
    > Drive (www.dynamicdrive.com)
    >

Maybe you are looking for