Rotate Image Created with createImage() ?

I've been looking around online for a way to do this, but so far the only things I have found are 50+ lines of code. Surely there is a simple way to rotate an image created with the createImage() function?
Here's some example code with all the tedious stuff already written. Can someone show me a simple way to rotate my image?
import java.net.*;
import java.awt.*;
import java.awt.geom.*;
import java.awt.event.*;
import javax.swing.*;
public class RotImg extends JApplet implements MouseListener {
          URL base;
          MediaTracker mt;
          Image myimg;
     public void init() {
          try{ mt = new MediaTracker(this);
               base = getCodeBase(); }
          catch(Exception ex){}
          myimg = getImage(base, "myimg.gif");
          mt.addImage(myimg, 1);
          try{ mt.waitForAll(); }
          catch(Exception ex){}
          this.addMouseListener(this);
     public void paint(Graphics g){
          super.paint(g);
          Graphics2D g2 = (Graphics2D) g;
          g2.drawImage(myimg, 20, 20, this);
     public void mouseClicked(MouseEvent e){
          //***** SOME CODE HERE *****//
          // Rotate myimg by 5 degrees
          //******** END CODE ********//
          repaint();
     public void mouseEntered(MouseEvent e){}
     public void mouseExited(MouseEvent e){}
     public void mousePressed(MouseEvent e){}
     public void mouseReleased(MouseEvent e){}
}Thanks very much for your help!
null

//  <applet code="RotationApplet" width="400" height="400"></applet>
//  use: >appletviewer RotationApplet.java
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import javax.swing.*;
public class RotationApplet extends JApplet {
    RotationAppletPanel rotationPanel;
    public void init() {
        Image image = loadImage();
        rotationPanel = new RotationAppletPanel(image);
        setLayout(new BorderLayout());
        getContentPane().add(rotationPanel);
    private Image loadImage() {
        String path = "images/cougar.jpg";
        Image image = getImage(getCodeBase(), path);
        MediaTracker mt = new MediaTracker(this);
        mt.addImage(image, 0);
        try {
            mt.waitForID(0);
        } catch(InterruptedException e) {
            System.out.println("loading interrupted");
        return image;
class RotationAppletPanel extends JPanel {
    BufferedImage image;
    double theta = 0;
    final double thetaInc = Math.toRadians(5.0);
    public RotationAppletPanel(Image img) {
        image = convert(img);
        addMouseListener(ml);
    public void rotate() {
        theta += thetaInc;
        repaint();
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                            RenderingHints.VALUE_INTERPOLATION_BICUBIC);
        double x = (getWidth() - image.getWidth())/2;
        double y = (getHeight() - image.getHeight())/2;
        AffineTransform at = AffineTransform.getTranslateInstance(x,y);
        at.rotate(theta, image.getWidth()/2, image.getHeight()/2);
        g2.drawRenderedImage(image, at);
    private BufferedImage convert(Image src) {
        int w = src.getWidth(this);
        int h = src.getHeight(this);
        int type = BufferedImage.TYPE_INT_RGB; // options
        BufferedImage dest = new BufferedImage(w,h,type);
        Graphics2D g2 = dest.createGraphics();
        g2.drawImage(src,0,0,this);
        g2.dispose();
        return dest;
    private MouseListener ml = new MouseAdapter() {
        public void mousePressed(MouseEvent e) {
            rotate();
}

Similar Messages

  • Unable to unlock encrypted disk images created with Snow Leopard using Lion

    Anyone else unable to unlock encrypted disk images created with Leopard and Snow Leopard with Lion?  I know that they made changes with the release of FileVault 2 on Lion and Snow Leopard cannot use Lion encrypted disks but I thought it was backwards compatible where Lion should still be able to work with Snow Leopard created images (it was in the pre-release versions of Lion).
    When attempting to mount an encrypted disk image created with Snow Leopard on Lion the normal password prompt appears but then just reappears every time the password is entered and does not unlock and mount the image.  I'm positive the correct password is being entered and it works just fine when done on a machine running Snow Leopard.

    Not in cases when the computer successfully boots to one OS but produces three beeps when an attempt is made to boot it to another. If it really was a RAM problem that serious, the computer wouldn't get as far as checking the OS version, and it has no problems booting Lion. In the event of a minor RAM problem, it wouldn't produce three beeps like that at all.
    (67955)

  • Wait for Image created with Toolkit.createImage()

    I try to create a new image using Toolkit.createImage(byte[]). When I try to proccess this image afterwards with an ImageObserver Container.prepareImage() I get an error returned from Container.checkImage().
    It looks like Toolkit.createImage(byte[]) did not finish the image-creation. But how can I wait for it?

    Try to use a MediaTracker:
    MediaTracker tracker=new MediaTracker(this);
    tracker.addImage(image,0);
    try
    tracker.waitForID(0);
    catch(InterruptedException e){}

  • DrawImage takes long time for images created with Photoshop

    Hello,
    I created a simple program to resize images using the drawImage method and it works very well for images except images which have either been created or modified with Photoshop 8.
    The main block of my code is
    public static BufferedImage scale(  BufferedImage image,
                                          int targetWidth, int targetHeight) {
       int type = (image.getTransparency() == Transparency.OPAQUE) ?
                        BufferedImage.TYPE_INT_RGB :
                        BufferedImage.TYPE_INT_RGB;
       BufferedImage ret = (BufferedImage) image;
       BufferedImage temp = new BufferedImage(targetWidth, targetHeight, type);
       Graphics2D g2 = temp.createGraphics();
       g2.setRenderingHint
             RenderingHints.KEY_INTERPOLATION, 
             RenderingHints.VALUE_INTERPOLATION_BICUBIC
       g2.drawImage(ret, 0, 0, targetWidth, targetHeight, null);
       g2.dispose();
       ret = temp;
       return ret;
    }The program is a little longer, but this is the gist of it.
    When I run a jpg through this program (without Photoshop modifications) , I get the following trace results (when I trace each line of the code) telling me how long each step took in milliseconds:
    Temp BufferedImage: 16
    createGraphics: 78
    drawimage: 31
    dispose: 0
    However, the same image saved in Photoshop (no modifications except saving in Photohop ) gave me the following results:
    Temp BufferedImage: 16
    createGraphics: 78
    drawimage: 27250
    dispose: 0
    The difference is shocking. It took the drawImage process 27 seconds to resize the file in comparison to 0.78 seconds!
    My questions:
    1. Why does it take so much longer for the drawImage to process the file when the file is saved in Photoshop?
    2. Are there any code improvements which will speed up the image drawing?
    Thanks for your help,
    -Rogier

    You saved the file in PNG format. The default PNGImagReader in core java has a habit of occasionally returning TYPE_CUSTOM buffered images. Photoshop 8 probably saves the png file in such a way that TYPE_CUSTOM pops up more.
    And when you draw a TYPE_CUSTOM buffered image onto a graphics context it almost always takes an unbearably long time.
    So a quick fix would be to load the file with the Toolkit instead, and then scale that image.
    Image img = Toolkit.getDefaultToolkit().createImage(/*the file*/);
    new ImageIcon(img);
    //send off image to be scaled A more elaborate fix involves specifying your own type of BufferedImage you want the PNGImageReader to use
    ImageInputStream in = ImageIO.createImageInputStream(/*file*/);
    ImageReader reader = ImageIO.getImageReaders(in).next();
    reader.setInput(in,true,true);
    ImageTypeSpecifier sourceImageType = reader.getImageTypes(0).next();
    ImageReadParam readParam = reader.getDefaultReadParam();
    //to implement
    configureReadParam(sourceImageType, readParam);
    BufferedImage img = reader.read(0,readParam);
    //clean up
    reader.dispose();
    in.close(); The thing that needs to be implemented is the method I called configureReadParam. In this method you would check the color space, color model, and BufferedImage type of the supplied ImageTypeSpecifier and set a new ImageTypeSpecifier if need be. The method would essentially boil down to a series of if statements
    1) If the image type specifier already uses a non-custom BufferedImage, then all is well and we don't need to do anything to the readParam
    2) If the ColorSpace is gray then we create a new ImageTypeSpecifier based on a TYPE_BYTE_GRAY BufferedImage.
    3) If the ColorSpace is gray, but the color model includes alpha, then we need to do the above and also call seSourceBands on the readParam to discard the alpha channel.
    3) If the ColorSpace is RGB and the color model includes alpha, then we create a new ImageTypeSpecifier based on an ARGB BufferedImage.
    4) If the ColorSpace if RGB and the color model doesn't include alpha, then we create a new ImageTypeSpecifier based on TYPE_3BYTE_BGR
    5) If the ColorSpace is not Gray or RGB, then we do nothing to the readParam and ColorConvertOp the resulting image to an RGB image.
    If this looks absolutely daunting to you, then go with the Toolkit approach mentioned first.

  • Maximum image size with createImage() in applet

    hi,
    I am making a simple Horizontal scrolling stocks ticker. I made an offscreen image with all the companies,prices etc on the image and just change the x position of the image. My problem is that when the data increases the applet fails to create the offscreen image.Giving the following error:
    com.ms.com.ComFailException: (0x80004005) Unspecified error
    at com/ms/awt/peer/INativeImage.create (INativeImage.java)
    at com/ms/awt/image/ImageRepresentation.offscreenInit (ImageRepresentation.java)
    at com/ms/awt/image/Image.<init> (Image.java)
    at com/ms/awt/ImageX.<init> (ImageX.java)
    at com/ms/awt/WComponentPeer.createImage (WComponentPeer.java)
    at java/awt/Component.createImage (Component.java)
    at ticker.init (ticker.java:97)
    at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
    at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
    at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
    at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
    at com/ms/applet/AppletPanel.run (AppletPanel.java)
    at java/lang/Thread.run (Thread.java)
    When the image width goes above 32767 this error props up. Also even if the image size is less than 32767, while scrolling if mouse or any other window comes over the applet the whole applet starts behaving funny i.e. the image scrolling on it disappears or gets converted into a rainbow.
    Please advise . Any help/comment is welcome. Thanx in advance .

    I'm having the same problem, did you ever find a solution for this?

  • Need to get rid of persistent images created with as3 - pls help

    I have used the following as3 code, courtesy of Jody Hall at theflashconnection.com .  It's a drag and drop that works great. Problem is the drag and drop images persist when I move on to other frames. How do I clear the images when finished so they don't appear in subsequent frames? Thank you in advance.
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.media.Sound;
    import flash.media.SoundChannel;
    var sndExplode:explode_sound;
    var sndExplodeChannel:SoundChannel;
    var dragArray:Array = [host1, agent1, physical1, social1, host2, agent2, physical2, social2, host3, agent3, physical3, social3];
    var matchArray:Array = [targethost1, targetagent1, targetphysical1, targetsocial1, targethost2, targetagent2, targetphysical2, targetsocial2, targethost3, targetagent3, targetphysical3, targetsocial3];
    var currentClip:MovieClip;
    var startX:Number;
    var startY:Number;
    for(var i:int = 0; i < dragArray.length; i++) {
        dragArray[i].buttonMode = true;
        dragArray[i].addEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
        matchArray[i].alpha = 0.2;
    function item_onMouseDown(event:MouseEvent):void {
        currentClip = MovieClip(event.currentTarget);
        startX = currentClip.x;
        startY = currentClip.y;
        addChild(currentClip); //bring to the front
        currentClip.startDrag();
        stage.addEventListener(MouseEvent.MOUSE_UP, stage_onMouseUp);
    function stage_onMouseUp(event:MouseEvent):void {
        stage.removeEventListener(MouseEvent.MOUSE_UP, stage_onMouseUp);
        currentClip.stopDrag();
        var index:int = dragArray.indexOf(currentClip);
        var matchClip:MovieClip = MovieClip(matchArray[index]);
        if(matchClip.hitTestPoint(currentClip.x, currentClip.y, true)) {
            //a match was made! position the clip on the matching clip:
            currentClip.x = matchClip.x;
            currentClip.y = matchClip.y;
            //make it not draggable anymore:
            currentClip.removeEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
            currentClip.buttonMode = false;
            sndExplode=new explode_sound();
            sndExplodeChannel=sndExplode.play();
        } else {
            //match was not made, so send the clip back where it started:
            currentClip.x = startX;
            currentClip.y = startY;
    DRAG AND DROP (I JUST DID THE LAST FOUR FOR THIS EXAMPLE)
    MOVING ON TO NEXT FRAME, YOU STILL SEE THE RECTANGLES.

    Thank you SO muchNed Murphy
    I'm a newbie to AS3 and I was trying to figure it out for past 2 weeks that why did swapChildren or setChildIndex or addChild, all of these made my Target Movieclip remain/duplicate/persist on the stage even after the layer containing the Target Movieclip has blank keyframes. I surfed so many forums and tutorials for the answer but turns out it was my lack of knowledge of basic concepts. I remember checking out this specific forum as well past week but due to it being "Not Answered" I skipped it. This should be marked as a "Correct Answer", The Empty MovieClip did the trick!
    I needed this solution for a Drag and Drop game, so that the current item that is being dragged is above all other graphic layers. And when all items are dropped on their correct targets, there is gotoAndPlay to Success frame label.
    I created a movieclip on the top layer with the same dimensions as the stage and put it at x=0 y=0 position. Instance name: emptymc
    And deleted the emptymc from the timeline during the Success frame label.
    Here is some code I used,
    1. MovieClip.prototype.bringToFront = function():void {
       emptymc.addChild(this);
    2.  function startDragging(event:MouseEvent):void {
      event.currentTarget.startDrag();
      event.currentTarget.bringToFront();
    I didn't know how to put the addChild and refer to the currentTarget in the startDragging function itself, for example
    emptymc.addChild(event.currentTarget);
    - This one didn't work inside the startDragging function "emptymc.addChild(this); "
    Is there a correct way I could have done it properly?
    Thanks,
    Dipak.

  • Rotating image loaded with CameraRoll

    I'm having trouble working out how to rotate an image loaded using CameraRoll on an AIR for iOS app.
    This code below works fine (displayImage() is called when CameraRolls media event returns completed, and imageArea is the scrollPane where the image is shown.
         function displayImage():void
         var image:Bitmap = Bitmap(imageLoader.content);
         imageArea.source = image;
    The image loads just fine untill I try to rotate it:
         function readMediaData():void
         var image:Bitmap = Bitmap(imageLoader.content);
         var imX:int = image.width;
         var imY:int = image.height;
              if (imX>imY)
                  image.rotation = 90;
         imageArea.source = image;
    With the second version the image seems to load because the scroll bars expand to the size of the image I choose, but I don't see anything on the stage.
    What am I doing wrong?
    Any suggestions would be really appreciated.

    I added the new width back to images x position but no joy; no matter what x & y I set the image to, it cannot be seen. The scroll bars expand exactly the right amount for the 'invisible' image, regardless of it's x & y positions as well (you'd think if the image was out of the scrollPane the bars wouldn't adjust like that. I'm not doing something right.
    I'm stumped on this but I'll keep trying things. Thanks for your help and the lead, I appreciate it and it may be part of the problem, but there seems to be a different problem as well.

  • Need to clone an Image created with MDT

    Hi All,
    I have a custom image which I created in VMWare with MTD 2013. The MDT server is local, I am the only one using it and it is not on the network or available in other sites. I was asked to provide an Acronis or Northon Ghost cloned image so that other admins
    can image workstations/laptops without having to ship the device to me, to deploy with MDT. I thought about imaging a workstation and cloning the drive before sysprep starts, but the problem is that I run a task sequence at the end
    Final Configuration for MDT 2013 LT created by Jonan, to delete any leftover by MDT (C:\MININT, C:\_SMSTaskSequence) and auto login the first time. I might be wrong, but I believe that the workstation needs to be connected to the MDT server for all task
    sequence to complete.
    What is the best way to clone this image?

    Hi,
    The simplest option IMHO would be to completely deploy a simalar machine using MDT and then, after deployment completes, run sysprep manually. Used with the option "shut down", your machine sould be off and in a syprepped state. Than manually create
    the Acronis/Ghost image and distribut that.
    Even better howerver would be to provide MDT deployment in your other sites. You can utilize DFS Replication to maintain a single point of administration, while still proving a coherent deployment method throughout your network.
    Hope this helps,
    Regards,
    Martin
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Editing image created with Illustrator brushes

    Can parts of an Illustrator brush be removed or erased where they overlap on an angle. Obviously straight portions are not a problem and can be handled by moving the anchor point of the path. However, I have created a pattern brush with 6 parallel lines and I am designing a typeface for a Typography class. There are areas where the brush lines overlap.

    Use the appearance palette, and 3 paths for example to make a B.
    With appearance, there are so many possibilities.

  • How to place an image created with DefineBitsJPEG2?

    We are writing software that generates native SWF's in binary.
    We define a simple JPEG image using DefineBitsJPEG2.
    When we try to place the character using PlaceObject2 and a simple scaling matrix.
    The swf renders completely blank.
    My question is:
    Is it possible to place the image directly using PlaceObject2 or do you need to generate a shape first and use the bitmap as a fill style?
    The spec leads me to beleive direct placement should be possible. However I have not seen any examples to prove it.
    I've opened the SWF with a decompiler and the image appears to be valid. SWF is not corrupt to my knowledge.
    I've included the generated SWF in question as an attachment.
    Thanks for the help!
    Mike M.

    Solved this a few week ago by generating a shape and then using the image bitmap as a fill style for the shape.
    This seems like more work than should be necessary...but it works!

  • My MIDlet cant accept SVG image Created with Inkscape and Adope Illustrator

    Hi I am a kenyan Mobile application developer, I have made acouple of Midlets that call SVG images that I developed ysing inkscape 0.45 and finished in Adope illustrator. What can be the matter? or what SVG creator should I use? Pliz help.
    Thanx

    if your target device(s) support [JSR 226 J2ME SVG|http://www.jcp.org/en/jsr/detail?id=226|specification here] API, then it should be capable to +"...load and render external 2D vector images, stored in the *W3C SVG Tiny* format..."+

  • Rotating images fade-in

    i managed to create a rotating image banner with the help from this website
    http://www.communitymx.com/content/article.cfm?cid=651FF
    but without the fade-in fade-out effect it doesn't look very nice. how can i make the images fade-in like in the below website
    http://www.flipflopflo.co.uk/home
    i found some help here
    http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
    but (as i am not professional user) i dont understand what to do with the scripts shown there. for example on "Step 2" it says
    "Step 2: Then, insert the following sample       HTML for 2 sample Fade In slideshows:"
    insert where?

    free flash tutorials sites list here
    http://www.links-mylinks.com/2007/10/flash-sites-free-tutorial-templates.html

  • Can I create a rotating image with sevaral images in  Photoshop?

    I was wondering if I can  create   a rotating image with sevaral images in  Photoshop?    Much like a gif? Would this improve my page load time or would it be the same as loading a slideshow?  Here is an example of what we wanna do vacationsalabama

    Yes you can create a gif in PS to do this but it would be much easier to accomplish with some simple JQuery Image slider.
    Several examples here
    and here
    The benefit is they load faster, have speed options, and switching images out is a breeze. They can also have links asigned to the images as they appear.

  • Creating a .jpg image from with in the J2ME app

    Hi,
    I want to send a document to the printer over bluetooth to print.
    For that I searched on net, but couldn't find any APIs supported by J2ME to print it. I also found a link http://www.hcilab.org/documents/tutorials/Brother/ where I found that I can send the data by creating an image and then writing data (text or image ) in to it, and then sending that image to print.
    Image img = Image.createImage(816, 40);
    Graphics g = img.getGraphics();
    g.setColor(0, 0, 0);
    g.setFont(Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_BOLD,Font.SIZE_LARGE));
    g.drawString("Printing test from "
                             + System.getProperty("microedition.platform") + " on "
                             + new Date(), 10, 10, 0);
    driver.print(img, btAddr);This code is working fine on this printer.
    I am using HP 460cb printer, and I tried the same thing, but am not getting any results. Can any one of you tell me what mistake am I making.
                    Image blankImage = Image.createImage(SpotBilling.MAX_IMG_WIDTH, SpotBilling.MAX_IMG_HEIGHT);
                    Graphics g = blankImage.getGraphics();
                    g.setColor(0,0,0);
                    g.setFont(Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_PLAIN, Font.SIZE_SMALL));
                    g.drawString("Printing test on Wednesday - 18th Jan, 2006", 10, 50, Graphics.TOP|Graphics.LEFT);
                    g.drawImage(imgTest, 60, 150, Graphics.HCENTER | Graphics.VCENTER);
                    int width = blankImage.getWidth();
                    int height = blankImage.getHeight();
                    int y = 0;
                    os.write(CMD_UNIVERSAL_EXIT);
                    for(int i = 1; i<=height; i++){
                             blankImage.getRGB(temp, 0, width, 0, y, width, 1);
                             byte[] pixels = new byte[width];
                             for (int x = 0; x < temp.length; x++) {
                                  pixels[x] = (byte) ((((temp[x] & 0x00FF0000) >> 16)
                                       + ((temp[x] & 0x0000FF00) >> 8) + (temp[x] & 0x000000FF)) / 3);
                             // Transfer Raster Graphics
                             os.write(TRANSFER_RASTER_DATA);
                             byte[] len = numToDecimal(pixels.length);
                             os.write(len);
                             os.write(DATA);
                             os.write(pixels);
                             y++;
                        }I have another query, if I can not do this. Is there any way I can create a .jpg image from with in the J2ME application.
    I have some text and an image that I get by invoking camera from the code and then capturing a picture. I need to combine them both, and then send it to the printer.
    If there is any way, I can convert this blankImage mentioned above (containing both text and Image), please provide me the solution.
    Any document or any source code is appreciated.
    regards,
    Ashish

    I have succeeded in creating a mutable image that contains text and image (.png), through
                         Image img;
                         img = Image.createImage(50, 60);
         protected void paint(Graphics g){
              g.drawImage(img, getWidth()/2, getHeight()/2, Graphics.HCENTER | Graphics.VCENTER);
              Graphics graph = img.getGraphics();
              graph.setColor(0, 0, 0);
              graph.setFont(Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_BOLD,
                             Font.SIZE_LARGE));
              graph.drawString("Printing test from "
                                       + System.getProperty("microedition.platform") + " on ", 10, 10, 0);
              graph.drawImage(image, img.getWidth()/2, img.getHeight()/2,Graphics.HCENTER|Graphics.VCENTER);
              graph.fillArc(0,0,10,10,0, 360);
         }Now I want to create a .jpg image of this img image(Mutable image).
    What I am doing is that,
    1. I am converting this image in to int array, using getRGB() method.
    2. Then I am converting int array in to byte array.
    3. And then I am opening a file(extension is .jpg)
    4. Then I am sending this byte array in to the file which is .jpg
    The .jpg file is getting created, but the data in it is very absurd, like yyyyyyyyyyyyyyyyyyyyyyyy.
    Please help me in this matter.
    Regards,
    Ashish

  • Rotating Image With Reflections

    A few years back I bought a manual for Director 6.0. In the
    back of the manual there was a demo disc showing some samples of
    other people's work. One of the samples was called Big Top. It was
    a totating logo in shinny gold, and as it rotated, you would see
    reflections of objects and light on the surface. At one Time I
    asked how it was done, and was told that an ap called RayDream
    Designer could do it. I was told that in that ap, you could draw a
    3D room, with the four walls, floor and ceiling, and when you
    placed an object in the center of the room and rotated it, you
    would end up with a rotating image with the reflection from the
    walls. I never tried it, and long ago RayDream Designer stopped
    being supported. Recently, I was told that the same thing could be
    done with Photoshop or Flash, but I have not figured out how it is
    done. What I want to do, is create a 3D image of a logo in gold,
    chrome, or somethign reflective, and have it rotate with the
    reflections as it rotates. I have seen similar thing on TV
    commercials, but I think I need a little help on figuring out how
    this is done.

    A few years back I bought a manual for Director 6.0. In the
    back of the manual there was a demo disc showing some samples of
    other people's work. One of the samples was called Big Top. It was
    a totating logo in shinny gold, and as it rotated, you would see
    reflections of objects and light on the surface. At one Time I
    asked how it was done, and was told that an ap called RayDream
    Designer could do it. I was told that in that ap, you could draw a
    3D room, with the four walls, floor and ceiling, and when you
    placed an object in the center of the room and rotated it, you
    would end up with a rotating image with the reflection from the
    walls. I never tried it, and long ago RayDream Designer stopped
    being supported. Recently, I was told that the same thing could be
    done with Photoshop or Flash, but I have not figured out how it is
    done. What I want to do, is create a 3D image of a logo in gold,
    chrome, or somethign reflective, and have it rotate with the
    reflections as it rotates. I have seen similar thing on TV
    commercials, but I think I need a little help on figuring out how
    this is done.

Maybe you are looking for

  • Load AS2 swf into AS3 swf problem

    I have a flash with AS3 and inside this swf i load in a AS2 swf. to load swf works just fine, but the problem is when i load this i want to go to a specific part of it, for example i want to go to frame 3 in the loaded swf. i must control this from t

  • How to search the location of the single quote using instr func in a string

    I have a string '345634','234'(all 4 single quotes are part of the string) and I want to find the location of the 3rd single quote using the instr function , could sum1 quickly please help me out. Regards Rahul Edited by: Rahul Kalra on Aug 26, 2010

  • Explain Plan for Procedure

    Hi, For getting the explain plan for a query, we use the statement "explain plan for " + Query Similarly, to get an explain plan for a procedure, do we have any way like "explain plan for " + "Execute " + Procedure How do we get an explain plan for a

  • Two charges were made for in-app purchase

    Hi, this has happened two time in the course of 1 month. I've made two in-app purchases from two different apps throughout the month. And both times, i was charged twice the amount of the price of the item, here's the story.. LINE app 800 coins - a m

  • Security with CNet Router

    Hi everyone, I have a question about security with my iBook G4 Airport Extreme, and my home network. I have a 4 UTP and wi-fi router, CNet branded, and I like to know what are the main differences betwen the security setups: WEP WPA WPA2 WPA2 Mixed a