How to make a symbol on a 3d object scale without moving?

I created a 3d apple and made a symbol of a state map that I mapped onto the apple like a highlight.- When I scale the whole object down, the symbol scales somewhat, but slides up the apple and doesn't stay in place. it ends up off the top ot the apple. How do I get it to stay in place and scale down with the apple? Thanks in advance.

Steve's response is hard to understand the proper wayto scale an object tha has an effect applied is how I suggested as it keeps the effect alive as thye entire concept of effects is all about keeping the orginal art intact so it can more easily be tweaked and manipulated and gives you far more options.
I find it very hard to understand his defense of his post and method which is only done in rare instances since it is usually not necessary.
The power of the method I describe is that you can have more than one transfrom applied at the same time turning the desired one on while the others are turned off so you have seveal sizes for the same position without multiple copies bloating your document. You might not need that but it is good to be able to do so.
Also when you expand a 3D object you will have a lot of points defining the object far more than needed, which you will not be able to delete without altering the object.

Similar Messages

  • How to make Math symbols in Skype conversations

    I use skype A LOT to talk to my Math Professors and it would be greatly appriciated if someone could show me how to make Math symbols in Skype without having to copy and paste them. In any other application on my computer I can make a squareroot symbole while pressin alt 251 √ but sith skype it just gives me û. This is very frustrating. If anyone has any sugestions please let me know. Thanks

    Try with ALT+8730
    http://symbolcodes.tlt.psu.edu/bylanguage/mathchar​t.html#common

  • How to make a text in a text object Bold at run time

    I would like to make a text in a text object Bold depends on a record value. how can I control that ?
    Edited by: Hagita1 on Jan 18, 2011 10:51 AM
    I found the solution-Thank you

    You should share your solution with the community.

  • How to make lines I draw as an objects??

    Hi friends:
    I met a problem here, I find a similiar code below, but cannot solve it.
    How to make lines I draw as objects in this application??
    ie the lines I draw will be selectable as other JLabels, can be highlighted, can be deleted etc, just like any other components or object,
    How to do this??
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.Vector;
    import java.lang.reflect.Array;
    import javax.swing.*;
    import javax.swing.event.*;
    public class Drawines
         public static void main(String[] args)
            JFrame f = new JFrame("Draw Lines");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new ConnectionPanel());
            f.setSize(400,300);
            f.setLocation(200,200);
            f.setVisible(true);
    class Drawines extends JPanel
        JLabel                                       label1, label2, label3, label4;
        JLabel[]                       labels;
        JLabel                                       selectedLabel;
        protected              JButton btn            = new JButton("DrawLines");
        protected              JButton btn1           = new JButton("Clear");
        protected              JButton btn2           = new JButton("No Draw");
        protected                      boolean isActivated = false;
        protected           int      stoppoint     = 0;          
        int cx, cy;
        Vector order                     = new Vector();
        Vector order1                     = new Vector();
        Object[] arr                    = null;
        public ConnectionPanel()
            setLayout(null);
            addLabels();
            label1.setBounds( 25,  50, 125, 25);
            label2.setBounds(225,  50, 125, 25);
            label3.setBounds( 25, 175, 125, 25);
            label4.setBounds(225, 175, 125, 25);
            btn.setBounds(10, 5, 100, 25);
            btn1.setBounds(100, 5, 100, 25);
            btn2.setBounds(200, 5, 100, 25);
                add(btn);
             add(btn1);
             add(btn2);
            determineCenterOfComponents();
            ComponentMover mover = new ComponentMover();
             ActionListener lst = new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
                     ComponentMover mover = new ComponentMover();
                           addMouseListener(mover);
                           addMouseMotionListener(mover);
                           isActivated = false;
            ActionListener lst1 = new ActionListener() {
                       public void actionPerformed(ActionEvent e) {
                           isActivated=true;
              btn.addActionListener(lst);
              btn1.addActionListener(lst1);
        public void paintComponent(final Graphics g)
             super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
             Point[] p;
                System.out.println("order.size()"+ order.size());
                System.out.println("order1.size()"+ order1.size());
                     if (!isActivated && order1.size()==0) {
                         for(int i = 0 ; i < order.size()-1; i++) {
                                JLabel l1 = (JLabel)order.elementAt(i);
                               JLabel l2 = (JLabel)order.elementAt(i+1);
                               order1.add(order.elementAt(i));
                               order1.add(order.elementAt(i+1));
                               System.out.println();
                               p = getCenterPoints(l1, l2);
                               g2.setColor(Color.black);
                                            g2.draw(new Line2D.Double(p[0], p[1]));            
                     }else if(!isActivated && order1.size()>0){
                             order=order1;
                         for(int i1 = 0 ; i1 < order.size()-1; i1++) {
                               JLabel l1 = (JLabel)order.elementAt(i1);
                               JLabel l2 = (JLabel)order.elementAt(i1+1);
                               System.out.println();
                               p = getCenterPoints(l1, l2);
                               g2.setColor(Color.red);
                                g2.draw(new Line2D.Double(p[0], p[1]));    
                                System.out.println(" order1.size() = " + order.size());
                     }else {
                          order1 = order;
                         for(int i1 = 0 ; i1 < order1.size()-1; i1++) {
                                    JLabel l1 = (JLabel)order1.elementAt(i1);
                                    JLabel l2 = (JLabel)order1.elementAt(i1+1);
                                    p = getCenterPoints(l1, l2);
                                    g2.setColor(Color.blue);
                                    if (order.elementAt(i1) !=null){
                                         g2.draw(new Line2D.Double(p[0], p[1]));    
        private Point[] getCenterPoints(Component c1, Component c2)
            Point
                p1 = new Point(),
                p2 = new Point();
            Rectangle
                r1 = c1.getBounds(),
                r2 = c2.getBounds();
                 p1.x = r1.x + r1.width/2;
                 p1.y = r1.y + r1.height/2;
                 p2.x = r2.x + r2.width/2;
                 p2.y = r2.y + r2.height/2;
            return new Point[] {p1, p2};
        private void determineCenterOfComponents()
            int
                xMin = Integer.MAX_VALUE,
                yMin = Integer.MAX_VALUE,
                xMax = 0,
                yMax = 0;
            for(int i = 0; i < labels.length; i++)
                Rectangle r = labels.getBounds();
    if(r.x < xMin)
    xMin = r.x;
    if(r.y < yMin)
    yMin = r.y;
    if(r.x + r.width > xMax)
    xMax = r.x + r.width;
    if(r.y + r.height > yMax)
    yMax = r.y + r.height;
    cx = xMin + (xMax - xMin)/2;
    cy = yMin + (yMax - yMin)/2;
    private class ComponentMover extends MouseInputAdapter
    Point offsetP = new Point();
    boolean dragging;
    public void mousePressed(MouseEvent e)
    Point p = e.getPoint();
    for(int i = 0; i < labels.length; i++)
    Rectangle r = labels[i].getBounds();
    if(r.contains(p) && !isActivated )
    selectedLabel = labels[i];
    order.addElement(labels[i]);
    offsetP.x = p.x - r.x;
    offsetP.y = p.y - r.y;
    dragging = true;
    repaint(); //added
    break;
    public void mouseReleased(MouseEvent e)
    dragging = false;
    public void mouseDragged(MouseEvent e)
    if(dragging)
    Rectangle r = selectedLabel.getBounds();
    r.x = e.getX() - offsetP.x;
    r.y = e.getY() - offsetP.y;
    selectedLabel.setBounds(r.x, r.y, r.width, r.height);
    //determineCenterOfComponents();
    repaint();
    private void addLabels()
    label1 = new JLabel("Label 1");
    label2 = new JLabel("Label 2");
    label3 = new JLabel("Label 3");
    label4 = new JLabel("Label 4");
    labels = new JLabel[] {
    label1, label2, label3, label4
    for(int i = 0; i < labels.length; i++)
    labels[i].setHorizontalAlignment(SwingConstants.CENTER);
    labels[i].setBorder(BorderFactory.createEtchedBorder());
    add(labels[i]);
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    2 choice, bundle your app in a jar, or get a native compiler.
    executable jar
    http://java.sun.com/j2se/1.3/docs/guide/jar/jarGuide.html
    http://developer.java.sun.com/developer/qow/archive/21/index.html
    native
    http://gcc.gnu.org/java/
    http://www-106.ibm.com/developerworks/library/j-native.html
    http://icafe.sourceforge.net/
    http://www.towerj.com/
    http://www.xlsoft.com/en/products/development/jet/jetpro.html

  • How to make a chart/table a background object?

    How do I make that grid into a background objective so that I can draw lines and similar things on top of it without it moving? Intending to use it as a coordinate system/grid/plane (or whatever it is called in English, but the thing refuses to stay still whatever I do to it. :/
    Also, sorry for my bad English.
    Thanks!

    click on table > Inspector > Wrap (3rd tab) > Object Placement > Floating
    Menu > Format > Advanced > Move Object to Section Master
    Peter

  • How to make a curve to join two objects editable?

    Hi, I'm involved in a project in which we're doing a visual editor (written in Java). Now, I'm trying to make curves that join two different objects that I'm painting in a class that extends JPanel (this class is what I'm using to paint, inside a JFrame, overriding the method paintComponent). I'm in troubles because I'm using the class QuadCurve2D to make this, but I cannot make it clickable (I'm using the method contains, but it doesn't work everytime), make it editable (for example, setting a square in its middle point to modify its curvature. The point that is used on the middle of the QuadCurve2D when the constructor is called is outside the curve) or something (method, variable, iterator, etc) that could tell me which Points are in the QuadCurve2D.
    After looking for all of that some time, I have no answer, so I'm trying posting it here to find a solution. Is there anyway to make it with the QuadCurve2D class, or do I have to try with some external library?
    Edited by: mccrank on Jul 2, 2009 10:09 AM

    Used the Pen tool, but click on the correct icon on the top left on the Options Bar. That way you can get a Path instead of a Shape Layer.
    Once you have your Path you can stroke it with a Brush or any drawing tool. Various options appear in the Brushes palette. For a dotted line you will need to increase the spacing. If you want dashes, use a square brush and set the Angle Jitter to Direction.

  • How to make a glow around a person/object?

    I want to just have a glow behind someone.  I know I could make a layer behind it, draw a soft line all the way around the object, and then blur it, but is there an easier way?  Maybe something that could make an automatic outline of an object?  Thanks in advanced.
    -TitanVex

    TitanVex,
    http://www.pixentral.com/show.php?picture=1XSChkSj88uk6oDO0SoLFrHVezOQ1
    Make your selection with one of the selection tools. I used the Magic Extractor
    Place the selection on its own layer, and make the selection active (CTRL+left click the layer thumbnail) - should see marching ants
    Go to Layer>Layer Styles>Style Settings
    Check outer glow and set the parameters for the glow.

  • How can I set a name for a unknown place without moving it?

    I imported some photos with GPS information into iPhoto. I can see these photos on the map with one pin per photo, but every pin is tagged with "unknown place". All the photographs were taken on the same island, so I want to add the name of this Island to all pins.
    When I enter the name of the place, iPhoto doesn't know it (it seems like the built-in database is very small), so I have to go to the Google view. There I find the Island and can create a new place, but when I confirm it all photos will move to one pin which was defined in google - the original location is lost (and there is no undo function!!!).
    Questions:
    1. How can I assign a name to a pin without moving the pin?
    2. How can I restore the original place stored in the exif-information of the file?
    Thanks a lot,
    Jürgen

    Thanks for your answer, after playing around another while I understand that using GPS-data or Places are two things which cannot be used together in a reasonable way.
    Either I use the GPS pins, then they are at the right place, but then I just have the pins on the map without any names or grouping information.
    Or I create places - I can create one place per photo, but then I would have to manage around 10.000 places in a simple list view. So if I go on a city trip and take 100 photographs with GPS, then I either have to create 100 places, just to see the name of the city above the pin, or i have to group them to one single pin in the middle of the city. I think both doesn't make sense.
    Let's hope there are some improvements in upcoming versions.
    BTW: To go back to the original GPS-location is very easy. Just remove the assigned place by clicking on the 'x', then the GPS-location is used again immediately.
    Jürgen

  • How to make the symbol to be resolved within the shared library ?

    I have two definitions of a symbol, one is in the main code, the other in a shared library. I want the symbol to be resolved within the shared library if it needed in the shared library.
    From the 'C++ User�s Guide', use the option '-Bsymbolic' to build the shared library is a choice. But it also said 'Never use -Bsymbolic with programs containing C++ code, use linker map files instead. So I have to try to use the map file, but I did not get more useful information from 'Linker and Libraries Guide'.
    I want to know what should be included in the map file and how to generate the map file?
    Additionally, from the 'Linker and Libraries Guide', the 'Direct Binding' also could resolve this problem. And I tried to build the shared library by the '-B direct' option, it works.
    Could anybody tell me what's the difference between the '-Bsymbolic' and '-B direct'?
    Any comments are appreciated.

    You didn't provide fun.h, and you didn't show all the commands that you must have used -- there are no commands that compile the source code into .o files. So I can't tell why the -xldscope option didn't work for you.
    Problems and errors that I see in your example:
    Functions func and swap are referenced from C code, but swap and one of the func functions are compiled by the C++ compiler and will get mangled names. If you compile a function with the C++ compiler that is to be called from C code, you need to declare the function as extern "C". But the extern "C" in a shared header needs to be guarded by +#ifdef __cplusplus+, since a C compiler won't understand the declaration.
    When you build a shared library, you must explicitly list the libraries it depends on, since no dependencies are created by default. For a C++ library, you need at least -lCrun -lc in that order. Otherwise, in a real-world program you can have program failures due to incorrect library initialization order. To be sure you have listed all needed libraries, use the -zdefs option, which causes the linker to complain about missing definitions.
    To be sure the shared library is picked up at run time, provide a RUNPATH via the -R option when you build the executable.
    The -xldscope option must appear on compile commands for the files where you want it to take effect. It has no effect on a link command, because the option affects how code is generated.
    Here is my rewrite:
    % cat fun.h
    #ifdef __cplusplus
    extern "C"
    #endif
    void func();
    #ifdef __cplusplus
    extern "C"
    #endif
    void swap();
    % cat fun.c
    #include <stdio.h>
    #include "fun.h"
    extern "C" void func()
        printf("func in the shared lib\n");
    extern "C" void swap()
        func();
    % cat fun_in.c
    #include <stdio.h>
    #include "fun.h"
    void func()
        printf("func in the main code\n");
    % cat main.c
    #include <stdio.h>
    #include "fun.h"
    int main()
        func();
        printf("invoke the swap:\n");
        swap();
    % CC -G -xldscope=symbolic fun.c -Kpic -o liboutside.so -lCrun -lc -zdefs
    % cc -o run main.c fun_in.c -L. -loutside -R .
    % ./run
    func in the main code
    invoke the swap:
    func in the shared libAs you can see, it works as advertised.
    Please note that the -xldscope option affects all functions in the module. If you need more fine-grained control, you must add declarations to the source code, or use a mapfile instead of -xldscope .

  • How to make player interact with game world objects?

    I am trying to make a side scrolling rpg game similar to South Park Stick of Truth. Right now I have the player done and i sketched the outline of the room i wanted in order to test the the collision detector. So right now there are only 4 classes. The main class that adds the walls, player and does something with the constants class.The walls class that doesn't really do anything. The player class that moves with keyboard input, test for collisions with the walls and initiates the walking animation. There is also a constants class that i don't really know how it works but based on tutorials I have seen they want me to use it. I want to add different things in the room that when the player gets close enough to, it allows the person playing to press a button and it will interact with it. It could be for making a small animation, having the player do some different dialog or have a closer look at the object. I can't find any tutorial on how to do that. All the actionscript 3 tutorials are for really simple shooter and platform games that don't interact with the game world at all. Any help would be greatly appreciated.

    You could make all of your "interactable" objects implement an interface. Say for example your Interface defines showButton() and hideButton() functions. Then, when you detect a collision on any of these objects, you call showButton(). The button can be set up to dispatch an event that your Main Class is listening for. For example, this might be a custom MoreInfoEvent that has its own "infoItem" property in addition to the other properties Event has.
    The code might look like this:
    protected function onButtonClick(e:MouseEvent):void {
         dispatchEvent(new MoreInfoEvent(MoreInfoEvent.SHOW_INFO, true, "rockObject"));
    Then the MainClass would do something like this:
    protected function onMoreInfoEvent(e:MoreInfoEvent):void {
         switch(e.infoItem) {
              case "rockObject":
                   rockInfo.visible=true;
                   break;
              //other case statements for other info
              default:
                   break;
    If you don't know how to create a custom event, there are a lot of tutorials for that.

  • How to make a only one spectified type object running at the same time ?

    I want to run specified function with java program in unix,AIX environment.But i want only one specified type object can run at this time when i make command "java xxx &" several times at this time.I had used thread but it can not work. I think there are two processes for system so it can not work. Which class or way in java can i use for this problem ? or I use thread in the wrong way.
    please help me . thank you everybody !!!
    ps:the command "java xxx &" mentioned above,xxx is name of java program ,
    & means command run in background.

    RMI is a good option you can think of. There is one registry and only one object can be bound to it with a specified name. But if your application is large, RMI calls can really slow down your application.
    Another option is to use Sockets. When you load the application check if you can start a server socket on a particular port. If you can, then start the program. If not, another application is already running. So exit your program. The socket you have created will be used only to bind to a particular port. In any system, there can be only one socket bound to a port and this guarantees the single instance running. When your application closes, close the socket too.

  • How to make Transient Attribute Mandatory in View Object?

    Hi ,
    I have a Transient Attribute 'TransientFromCode' which is based on LOV .On UI ,I am showing this 'TransientFromCode' as 'SelectOneChoice' .
    So on selection of this i am populating other mandatory attributes.
    My requirement is to show this as 'Required' on UI but in View Object i am not able to find mandatory property for this attribute.
    I dont want to use required='true' . So can you plesae tell me is there any way to make Transient attibute as mandatory on UI .
    Thanks

    940637 - Your Use Case is a little vague\confusing.
    If you are just trying to get the standard "Required" architecture, it probably isn't working because you have incorrect syntax. It is #{bindings.MyViewObj.MyAttr.hints.mandatory}
    Yours: "#{bindings.UnitOfMeasureIntraClassConversion.hints.TransientItemDesc.mandatory}"
    It will "dynamically" pick this up at Runtime from the ViewObject Attributes "Mandatory" property (Attributes\Details tab), BUT the EL will always evaluate to "true" so this is the same functionally as just hard coding the UI component's Required property to "true" (although doing so is against Best Practices)
    If you are just wanting to SHOW the field as required without the standard Validation logic (because you are coding your own), you could:
    1) JUST set the UI component's "ShowRequired" property = true. This displays the * next to the Label (regardless of actual View Object Attr setting) but fires no validation.
    2) If you want to not show * but some custom standard, you could just create ANOTHER transient Attribute in the View Object and call it "TransientItemDescRequired" and set it to a Literal "y" or leave it blank and programmatically set it later... You can code your own validator\method\whatever against it, etc
    Edited by: donhoyt on Jul 5, 2012 7:58 AM

  • How to make a script for find text object?

    Hi everyone
    I want to make a script for find and select text object and then find next, find next, and so on, but without any open dialog
    Is that possible make a script for this?
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "(\[\x{2022}\])|(\x{25CF})";
    app.findGrep();
    thanks
    Regard

    You already have that. A script does not 'find, select, find next' - it finds all texts as soon as you execute the 'app.findGrep' command.

  • How to make boot camp install my windows 7 ISO without a Cd? Broken optical drive...

    So yeah, my internal optical drive is dead and i am not paying for a repair nor an external drive.
    Boot camp keeps prompting me to install a windows 7, but tough luck for me doing that. I found a tutorial online that suggests modifying the info.plist file of Boot Camp Assisant like so:
    once all of the above is complete you can edit the 'info.plist' file in TextEdit (or another editor, like Xcode if you prefer). what you want to do is add a string to let 'Boot Camp Assistant' recognize your machine like it would a Macbook Air. use the 'System Profiler' Hardware Overview to identify your "Model Identifier" (i.e. mine is: MacBookPro5,2). using this, you can write your model into the file using a line like:
    <string>MBP52</string>
    this string should be placed in the array section found at the very end of 'info.plist'. it is recommended to add it to the end or beginning of the array ..for me it needed to be at the beginning.
    you will know this is successful by opening 'Boot Camp Assistant' and finding all three tasks are now available.. the first choice being "Create a Windows 7 install disk".
    I tried doing just that, but my macbook's System profiler ID'ed it as MacBook 5,1 so my string looked like: <string>MB51</string>
    Go figure, i'm not seeing the new options to install windows ISO to a external usb drive...
    Ive been having problems with this for three days, I  NEED HELP

    Forgot to specify:
    Im using an older Unibody Macbook (back when they were not all macbook pro's) 2008ish with Snow leopard 1.6.8
    The thread you linked me to, Eric, shows the guy 'Niganit' with the eXACT SAME PROBLEM as me! He seems to have found out the problem but I dont see his resolve.
    I just dont have the option to install windows 7 in any other form that a cd
    a picture;

  • How to set page margin for any site being viewed without back and forth scrolling?

    Some sites and most forums, the threads cannot be read without scrolling the screen back and forth. How can these be set where all information is read without moving screen short of up or down and not side ways back and forth.

    Thank you all for attempts to satisfy my needs. The last concerning my screen is 19 inches and 800 resolution. I'm very long in the tooth and if I go higher in
    resolution I have to play squint the fonts are so small. Crank them up and I'm back to scrolling back and forth on the screen.
    Again thanks for help but I' m not interested in spending money on newer
    haha state of the art equipment just to satisfy the need of cyber space Ad
    purveyors to post their wares. Graphics I can do without as well. If they want
    me to see what they have to offer, then stop messing with what once worked just fine.
    I still have Word where I can do with whatever I copy n paste to get done what I need. The convenience of doing so right at the site isn't a requirement as such. Being a retired Master Electronics Technician, I'm short on computer orientations but long on other kinds of smarts.
    Again, Thank you all for the help.
    Gizmoman

Maybe you are looking for