Loading OBJ-File BY COPY ?

Hello!
I want to load a 3D-Model in OBJ-Format in my Scene with the standard Objectloader com.sun.j3d.loaders.objectfile. This works basically well.
But I need to get hold of the Vertices of the Model and their colors. And this is the Problem:
-I try to get the Coordinates from the Shape3Ds GeometryArray with getCoordinate() and receive the following error:
GeometryArray: cannot directly access data in BY_REFERENCE mode
This is as I assume because the loader creates the Shape3D BY REFERENCE.
Is there another loader or a trick, so that the GeometryArrays of my loaded OBJ-Models are set up as BY COPY?
Code where I load my Model:
public BranchGroup UseOBJModel_Old(String path)
        ObjectFile loader = new ObjectFile();
        BranchGroup bg = new BranchGroup();
        Shape3D shape = new Shape3D();
        try
            Scene tmpScene = loader.load(path);
             Enumeration children = tmpScene.getSceneGroup().getAllChildren();
            //Combining all Shape3Ds from the OBJ-Model into one single shape
            while(children.hasMoreElements())
                 Shape3D tmp = (Shape3D)children.nextElement();
                 shape.addGeometry(tmp.getGeometry());      
            //TODO: Hard setting of Color for OBJ-Shape.Can be improved later
            Appearance objApp = new Appearance();
            Material objMat = new Material();
            ColoringAttributes col = new ColoringAttributes();
            objMat.setAmbientColor(new Color3f(.3f,.3f,.3f));
            objMat.setDiffuseColor(new Color3f(.5f,.5f,.5f));
            objMat.setSpecularColor(new Color3f(.6f,.6f,.6f));
            objMat.setLightingEnable(true);
            objApp.setMaterial(objMat);
            objApp.setColoringAttributes(col);
            col.setColor(.6f,.6f,.6f);
            shape.setAppearance(objApp);
            bg.addChild(shape);
            return bg;
        }Code where the Error occurs:
for(int j = 0; j < originalArray.getValidVertexCount() / divisor; j++)//Calculate Points for LOD-Models
            for(int k = 0; k < divisor; k++ )
               // This tells me that the Array is NOT in BY REFERENCE-Mode. Funny thing
                System.out.println("By-Reference-Status: " + originalArray.getCapability(GeometryArray.BY_REFERENCE));
               originalArray.getColor(index,col[k]);//Here's the Error
               originalArray.getCoordinate(index++,pos[k]);//And here,too
        }Hope I could make it clear what my Problem is, as this is my first post here...
Bye
Chris

D'Oh!
First post, and already posted the wrong code...
This is the right code, where I load the OBJ-Model:
public void UseOBJModel(String path)
        ObjectFile loader = new ObjectFile();
        Shape3D shape = new Shape3D();
        try
            Scene tmpScene = loader.load(path);
             Enumeration children = tmpScene.getSceneGroup().getAllChildren();
             Shape3D tmp = (Shape3D)children.nextElement();
             shape.setGeometry(tmp.getGeometry(),0);//This for killing the leading null in the GeometryList
            //Combining all Shape3Ds from the OBJ-Model into one single shape
            while(children.hasMoreElements())
                tmp = (Shape3D)children.nextElement();
                 shape.addGeometry(tmp.getGeometry());      
            //TODO: Hard setting of Color for OBJ-Shape.Can be improved later
            Appearance objApp = new Appearance();
            Material objMat = new Material();
            ColoringAttributes col = new ColoringAttributes();
            objMat.setAmbientColor(new Color3f(.3f,.3f,.3f));
            objMat.setDiffuseColor(new Color3f(.5f,.5f,.5f));
            objMat.setSpecularColor(new Color3f(.6f,.6f,.6f));
            objMat.setLightingEnable(true);
            objApp.setMaterial(objMat);
            objApp.setColoringAttributes(col);
            col.setColor(.6f,.6f,.6f);
            shape.setAppearance(objApp);
            SetOriginalShape(shape);
        catch(FileNotFoundException e)
            System.err.println("Something went wrong while loading OBJ-File");
    }Sorry...

Similar Messages

  • Loading Obj file with its .mtl

    Hai guys,
    I am new to java3D. I need to load the .obj which has the .mtl and the respective pics for its texture.(The .obj file .mtl and the relevant pics are all in the same folder) The Problem is obj file is being loaded but the output we got is no where near what we see in 3DMax. What is the problem?. Where i am going wrong.
    Thanks in Advance,
    Prakash Anandaraj. C

    D'Oh!
    First post, and already posted the wrong code...
    This is the right code, where I load the OBJ-Model:
    public void UseOBJModel(String path)
            ObjectFile loader = new ObjectFile();
            Shape3D shape = new Shape3D();
            try
                Scene tmpScene = loader.load(path);
                 Enumeration children = tmpScene.getSceneGroup().getAllChildren();
                 Shape3D tmp = (Shape3D)children.nextElement();
                 shape.setGeometry(tmp.getGeometry(),0);//This for killing the leading null in the GeometryList
                //Combining all Shape3Ds from the OBJ-Model into one single shape
                while(children.hasMoreElements())
                    tmp = (Shape3D)children.nextElement();
                     shape.addGeometry(tmp.getGeometry());      
                //TODO: Hard setting of Color for OBJ-Shape.Can be improved later
                Appearance objApp = new Appearance();
                Material objMat = new Material();
                ColoringAttributes col = new ColoringAttributes();
                objMat.setAmbientColor(new Color3f(.3f,.3f,.3f));
                objMat.setDiffuseColor(new Color3f(.5f,.5f,.5f));
                objMat.setSpecularColor(new Color3f(.6f,.6f,.6f));
                objMat.setLightingEnable(true);
                objApp.setMaterial(objMat);
                objApp.setColoringAttributes(col);
                col.setColor(.6f,.6f,.6f);
                shape.setAppearance(objApp);
                SetOriginalShape(shape);
            catch(FileNotFoundException e)
                System.err.println("Something went wrong while loading OBJ-File");
        }Sorry...

  • Can someone tell me how to change obj file in the applet

    Thanks in advance.
    I have try to use the ObjLoad example in the java3d demo to
    change the obj file.But I fail to do this.
    I had use twe applet,one to change name,and then refresh the other
    frame to try to relod th obj file. but
    java.lang.NullPointerException
    at ObjLoad.init(ObjLoad.java:150)
    at sun.applet.AppletPanel.run(AppletPanel.java:348)
    at java.lang.Thread.run(Thread.java:536)
    can you help me?
    thanks

    Sun's Java3d FlyThrough Demo & Java3d Scenegraph Editor
    allow you to load mutiple 3d files (sequencially) including VRML
    files with the Sun VRML Loaders at run-time
    -- and the Java Source Code is free --- ( see below )
    First, try a Web Demo of the "Appearance Explorer" :
    "Appearance Explorer" Java3d Web Applet, Loads multiple ".obj"
    http://web3dbooks.com/java3d/jumpstart/AppearanceExplorer.html
    - click on "Data"
    - click on "Obj File: Galleon" -- or -- "Obj File: Beethoven"
    - rinse, rather, repeat.
    |
    http://web3dbooks.com/java3d/jumpstart/Java3DExplorer.html
    http://web3dbooks.com/java3d/jumpstart/J3DJumpStart.zip
    | ^-- free source code
    |
    http://www.frontiernet.net/~imaging/games_with_java3d.html
    | Sun's Java3d Scenegraph Editor showing a Nasa VRML model
    | --------------------------------------------------------
    |
    | uses the Sun VRML Loaders, source code available and is free.
    |
    | [ at this url: ] http://java3d.netbeans.org/j3deditor_intro.html
    |
    http://www.frontiernet.net/~imaging/terrain_rendering.html#Scenegraph_Editor
    http://www.frontiernet.net/~imaging/terrain_rendering.html
    Selman wrote a Java3d book that was well received
    and has a Swingtest.java applet and application that
    allows you to load objects dynamically,
    ie. "change" the viewed object when it is running by
    allowing the user to select "sphere" or "cube" from
    menu lists ( in this case it's not just displaying
    Jav3d primative objects, but it has the core functionality
    of deleteing and adding nodes in the scene graph that you
    are seeking, and at that point the rest is left as
    exercise to the student. The ObjLoad.java in Sun's Demos
    directory has the code to load ".obj" files, so you have
    all the tools you need.
    | Picking of VRML objects with your mouse is demonstrated
    | in a new book, Java 3D Programming, by Daniel Selman
    | ( shown on the left ).
    |
    | The source code is avaible for free.
    |
    | [ here: ] http://www.manning.com/selman/selman_source.zip
    |
    | This new book uses the old, reliable Sun VRML Loaders for Java3d.
    |
    | The program reads a 3d scene as a simple VRML text file,
    | and displays the Java3d Scene Graph ( which is interactive,
    | you can expand and collapse the branches of the scenegraph
    | and examine the contents of the nodes ), it renders the
    | 3d scene, and when you click on an object it tells you
    | what you clicked on.
    |
    | You can see ( and download ) the Java Source code of
    | the operative file: VrmlPickingTest.java
    |
    | The publisher's site has more informatation on the book.
    |
    http://www.frontiernet.net/~imaging/games_with_java3d.html
    http://www.frontiernet.net/~imaging/sourcecode/VrmlPickingTest.java
    The Prentice-Hall books by Aaron Walsh are false & fraudulent
    in their claims to present the most current methods, as a part
    of the "Couch-Beiter Flame War" and fraud involving Sandy Ressler
    at the NIST. Prentice-Hall, Yumetech.com and Aaron Walsh have
    misrepresented and disparaged the old & reliable Sun VRML Loaders
    in favor of the "new" Yumetech.com Loader, and the web demo above
    __ DOES NOT __ load Web3d.org's __ VRML __ files, only the less
    capable ".obj" files ... so the "Web3d" series of books from Prentice-Hall
    does not show the loading of ___ Web3d.org 's ___ VRML __ files
    because Sun's VRML Loaders were the best ones, and the Yumetech.com
    folks didn't want anyone using those, and started the "Couch-Beitler Flame War"
    to disparage, falsely & fraudulently misrepresent the facts and knowingly
    published false and misleading "disinformation" in the
    unreliable Prentice-Hall / Pearson Ed books, harming our community.
    The Sun VRML Loaders are used by __ Nasa, __
    the NSF supported Virtual Chemistry Lab ( "Lab3d" ),
    me, and others simply choosing the "what works best",
    and by people using Sun's Java3d FlyThrough & Java Scenegraph Editor.
    symsan wrote:
    |
    | Thanks a lot,but can you give some code
    | about to change the Obj file or vrml file,
    | when the user in the browser to choose
    | the file or input to the textField ?
    |
    I misunderstood the original question ( it was too terse ).
    I interpreted the question has how to change the loaded
    objects --- between successive runs of the program ---
    and not as you intended -- dynamicall while running
    the program program without quiting & restarting.
    In a "Java3d" forum I'm not going to wander into
    how basic ( non-Java3d) 2d commonents such as TextFields
    are programmed.
    The original Vrml97Player.java file that came with
    Sun VRML Loaders also implemented the functionality
    of loading mulitiple files ( sequentically during one run )
    and I have worked with that and similar things with
    the Shout3d.com engine and my own 3d Java engines.
    -- Paul, Java Developer & Web Animator
    Imaging the Imagined: Modeling with Math & a Keyboard

  • Loading .obj model file to applet returns AccessControlException

    I examined other applets where this code seems to work. Yet, I can't get it to function properly within my code.
         URL fileURL = null;
            try {
             fileURL = new URL( getDocumentBase(), "test.obj");
            } catch (Exception e) {
             System.err.println("Exception: "+ e);
             System.exit(1);
            ObjectFile f = new ObjectFile();
            Scene s = null;
            try {
                s = f.load( fileURL );
            catch (Exception e) {
                System.err.println(e);
                System.exit(1);
            }I can load image files without any problems. Any help will be appreciated.

    Forgot to post the error message..
    java.security.AccessControlException: access denied (java.io.FilePermission /home/squier/cwol/html/test.obj read)
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkExit(SecurityManager.java:744)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at cwol.BattleApp.loadModel(BattleApp.java:157)
         at cwol.BattleApp.init(BattleApp.java:63)
         at sun.applet.AppletPanel.run(AppletPanel.java:374)
         at java.lang.Thread.run(Thread.java:595)

  • How to change a Shape3D node's picked in the branchGroup loade by OBJ file

    Hi,all
    I need your help!
    I loaded a OBJ file to add the its branchgroup to the scenegraph,then,I registered the mouse listener for the canvas3D, each time the canvas3D received a mouse click, i will use the pickInfo to get the picked node,then ,change its properties,such as appearance,transform3D,etc.
    But now occurs the problems:I can pick the node,but it's just a Shape3D node,how can I change its Transform3D?
    I try to change its appreance by:
    Node node = closestRs.getNode();//the picked node
    Shape3D nodeShape = (Shape3D)node;
    nodeShape.setCapability(Shape3D.ALLOW_APPEARANCE_OVERRIDE_WRITE);
    nodeShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    nodeShape.setCapability(Shape3D.ALLOW_PARENT_READ);
    Appearance app = new Appearance();
    ColoringAttributes ca = new ColoringAttributes();
    ca.setColor(new Color3f(0.8f,0.3f,0.2f));
    app.setColoringAttributes(ca);
    nodeShape.setAppearance(app);
    then,causes the following errors:
    Exception in thread "AWT-EventQueue-1" javax.media.j3d.RestrictedAccessException: Cannot modify capability bits on a live or compiled object
    at javax.media.j3d.SceneGraphObject.setCapability(SceneGraphObject.java:169)
    at edu.whu.j3d.test.CanvasMouseListener.mouseClicked(CanvasMouseListener.java:46)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
    at java.awt.Component.processMouseEvent(Component.java:6044)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    how can I do this?
    can you tell me how to complete my mission?Hope your help!

    Hi,all
    I need your help!
    I loaded a OBJ file to add the its branchgroup to the scenegraph,then,I registered the mouse listener for the canvas3D, each time the canvas3D received a mouse click, i will use the pickInfo to get the picked node,then ,change its properties,such as appearance,transform3D,etc.
    But now occurs the problems:I can pick the node,but it's just a Shape3D node,how can I change its Transform3D?
    I try to change its appreance by:
    Node node = closestRs.getNode();//the picked node
    Shape3D nodeShape = (Shape3D)node;
    nodeShape.setCapability(Shape3D.ALLOW_APPEARANCE_OVERRIDE_WRITE);
    nodeShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    nodeShape.setCapability(Shape3D.ALLOW_PARENT_READ);
    Appearance app = new Appearance();
    ColoringAttributes ca = new ColoringAttributes();
    ca.setColor(new Color3f(0.8f,0.3f,0.2f));
    app.setColoringAttributes(ca);
    nodeShape.setAppearance(app);
    then,causes the following errors:
    Exception in thread "AWT-EventQueue-1" javax.media.j3d.RestrictedAccessException: Cannot modify capability bits on a live or compiled object
    at javax.media.j3d.SceneGraphObject.setCapability(SceneGraphObject.java:169)
    at edu.whu.j3d.test.CanvasMouseListener.mouseClicked(CanvasMouseListener.java:46)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
    at java.awt.Component.processMouseEvent(Component.java:6044)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    how can I do this?
    can you tell me how to complete my mission?Hope your help!

  • Problem "filling" OBJ file after Model Clip is used

    I am developing an applet that loads body scans and makes them viewable in a 3D universe. I have my loader and basic Java 3D Components laid out correctly; however, my only problem seems to be when clipping the body scan (which is an object file OBJ) the inside of the body scan is not filled - it's almost as if the obj image is "hollowed" out. I load one image in using the build in obj loader through Java 3D and I create three instances of that obj file and have the middle one the original image, the left one a vertical clip using model clip, and the right a horizontal clip using model clip as well. The clipping works great and I am not having trouble with this aspect of the java. I am just curious if there is any way to fill in this area so that it does not appear to have a hollowed out look, but instead a filled look. Is this something that I can fix or is this a problem with the image?
    Thanks all, Kevin.

    I did it...  I figured out the problem.  Incidentally, there must have been some formatting changes in photoshop that took place since I last used it with success.
    The steps I now took.  I opened up one of my JPEG picture files, opened up one of the pics with photoshop, edited it.
    1. Clicked save as
    2. The box came open as to where to save and I saved as JPG file plus I checked the "as a copy" box clicked OK/save
    3. The next window that came up was the JPEG option box and I checked the "Preview box" and save
    4. A window came up in photoshop asking if I wanted to save (the edits on the original) I clicked no because I wanted to keep the original as is.
    5. I closed out of photoshop and there was my edited picture in "my pictures" 
    I am so glad that I got this all worked out.  Thanks to all of you who tried to help me.

  • Loading flat files located on a server using the Control Center piece ofOWB

    Loading flat files from a server with OWB
    I am successful loading files with OWB, as long as they resided on my workstation in the C:\ drive. I copied the files to a Linux server into directories owned by Oracle/oinstall, permissions on the directories containing the files are 777. I ran the OWB client from the server with the following results:
    Error
    RPE-01013: SQL Loader reported error condition, number 1.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    I tried to load the file using the control center from both the windows client and the server client. Can I do this from either one?
    I can't import the file in the Design Center from the /u00/data/owb_repos1 directory, it does not show up.
    If anyone has received similiar errors from OWB, please tell me how I can fix this. THANKS!!!
    [d97886@owbtest owb_repos1]$ pwd
    /u00/data/owb_repos1
    [d97886@owbtest owb_repos1]$ ls -la
    total 24
    drwxrwxrwx 2 oracle oinstall 4096 Mar 19 12:14 .
    drwxrwxrwx 18 oracle oinstall 4096 Mar 6 16:41 ..
    -rwxrwxrwx 1 oracle garrett 1481 Mar 8 07:32 state_codes.csv
    [d97886@owbtest owb_repos1]$

    Hi
    This is what i do for my flat files (i am loading my tables from the flat files):
    1) Create location for the files in OWB and it should look something like \\path_to_where_the_files_are. Here you should be able to browse to your Linux box and select the location of the files.
    2) Then check whatever you use (i use TOAD) and you should see in owb schema a directory created there which points to the location of the flat file.
    3) then just follow the guide to sample the files etc and you are good to go.
    Basically OWB has to be able to see the files that are on Linux machine.
    Alternatively you can map your Linux share to your windows box (use samba or something) and use it that way.
    Sorry if it is stating the obvious.
    Hope this helps
    Kind Regards
    Vix

  • How to load CSV files into HANA

    1.- Create an CSV file with your data
    2.- Copy the file to dropbox/yourname inside the HANA box
    3.- Create a table in HANA with the structure of your file
    4.- create the control file BBB with the following information:
    import data
    into table XXX."YYY"
    from 'ZZZ.csv'
    record delimited by '\n'  
    fields delimited by ','
    optionally enclosed by '"'
    error log 'Text_Tables.err'
    Where XXX is your schema, YYY is your HANA Table and ZZZ is your file
    5.- Open an Script File and write the following:
    LOAD FROM '/filer/dropbox/yourname/BBB.ctl';
    where BBB is the name of your control file
    Greetings,
    Blag.

    With the recent upgrade to the HANA SP3...the method to upload files to HANA has been slightly changed...so here's the updated tutorial:
    1.- Create an CSV file with your data
    2.- Copy the file to the HANA Dev Center
    3.- Open a FTP connection to ftp.sapdevcenter.com
    (You can find the user name and password by doing a select to SYSTEM.FTP_SERVER)
    and....*Don't paste the Username or password here or any other place!*
    4.- Create a folder with your name on the FTP site and copy the file there
    4.- Create a table in HANA with the structure of your file
    5.- create the control file BBB with the following information:
    import data
    into table XXX."YYY"
    from 'ZZZ.csv'
    record delimited by '\n'
    fields delimited by ','
    optionally enclosed by '"'
    error log 'Text_Tables.err'
    Where XXX is your schema, YYY is your HANA Table and ZZZ is your file
    5.- Open an Script File and write the following:
    IMPORT FROM '/dropbox/yourname/BBB.ctl';
    where BBB is the name of your control file
    I just test it and it works...if it doesn't work for you, please let me know
    Greetings,
    Blag.

  • Whats is the the problem with OBJ files in Photoshop CC 2014?

    What is up my fellow adobinites"!? Well I want to start off with, "I Have A Dilemma". When I open a .obj file in Photoshop CC 2014 There is an error every time but in reaction to the outcome, I torrented Photoshop Cs6 for educational and testing purposes and it worked flawlessly. It was the "Plus" version so yeah. Also the .obj file worked in After Effects CC 2014 and on the other hand I think Photoshop just got 3d features in I am correct.
    Also if you have any obj file websites please teem me. I will love you for ever.

    Process:         Adobe Photoshop CC 2014 [435]
    Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
    Identifier:      com.adobe.Photoshop
    Version:         ???
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [187]
    Responsible:     Adobe Photoshop CC 2014 [435]
    User ID:         501
    Date/Time:       2014-09-12 23:50:23.045 -0400
    OS Version:      Mac OS X 10.9.4 (13E28)
    Report Version:  11
    Anonymous UUID:  1CB21A1B-9929-377B-BB77-969F8AD3E6DC
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: @executable_path/../Frameworks/amtlib.framework/Versions/A/amtlib
      Referenced from: /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
      Reason: image not found
    Binary Images:
        0x7fff69eb7000 -     0x7fff69eea817  dyld (239.4) <042C4CED-6FB2-3B1C-948B-CAF2EE3B9F7A> /usr/lib/dyld
        0x7fff8aeda000 -     0x7fff8af28ff7  com.apple.opencl (2.3.59 - 2.3.59) <044485A4-A50C-34CE-A1F9-35A50CC68313> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    Model: MacBookPro10,1, BootROM MBP101.00EE.B03, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.3f36
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
    Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.6f1 14216, 3 services, 15 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en0
    Serial ATA Device: APPLE SSD SM256E, 251 GB
    USB Device: Backup+  Mac SL
    USB Device: Hub
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: Hub
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: USB Optical Mouse
    Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4

  • FAQ: SWF's and loading external files in Flash Catalyst

    How do I make the images in my Flash Catalyst project external to the published SWF?
    You can choose whether images are embedded in your Flash Catalyst SWF, or loaded dynamically; this can help to keep your SWF's small. Simply right-click an image and chose "Externalize Image".
    Answered by: Adam Cath.
    See entire discussion.
    How do I make the SWF I imported to Flash Catalyst load external files?
    When importing a SWF, Flash Catalyst only pulls the SWF asset into your project. Many SWF's, such as slideshows and media players, rely on external data files, such as configuration files or media assets. If you would like to use such a SWF in Catalyst, then you will have to place these external resources into your Catalyst project as well as importing the SWF.
    Let's assume you have a SWF source folder that contains your SWF file and all of the external files it needs. You can open the SWF file from this folder and it works fine. But, if you import the SWF into Catalyst, the Catalyst project doesn't display it correctly because it can't load the external files. Here's what you do:
    1. Open your swf source folder, and copy all of the files/folders there except the SWF you imported.
    2. In Catalyst, Run/Preview your project (Ctl/Cmd-Enter)
    2. Note the file path to Main.html in your browser
    3. In your OS, open the folder that contains /bin-debug/Main.html from above
    4. Open the "src" folder
    5. Paste all of the files from step 1 into the src folder.
    6. Catalyst won't pick up that your project changed, so tweak it a bit (add a Rectangle), and save it.
    7. Run your project. If it doesn't work, try closing and reopening your project and running again.
    For an example, check out: Using an XML-driven SWF in Catalyst to create a slideshow.
    See entire discussion.
    Answered by: Bear Travis

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • What is the procedure to load source files in to jDeveloper

    Hi,
    I am working on jDeveloper to build custom application to integrate to e-business suite. I am in the mid of development, unfortunately i have to move to another location and need to start developement. I have .jpr,jpx,jws and all the source files(all java files) from old system. i want to load these files into new system jDeveloper and start working from there. I tried opening the files and jDeveloper so many ways but could not succeed and facing errors.
    Can any one tell me what is the best and correct way to import files into new system's jDeveloper.
    Thanks

    Hi just copy the old jdev folder from jdeveloper/jdevhome/jdev folder, to new jdeveloper installation after deleting the jdev folder from new installtion.You will get the same old projects and files automatically!
    Regards,
    Mukul

  • Essbase Load Rules File Header Issue

    Hi,
    Is it possible to specify more than one member for the same dimension in the Load Rules file Header?
    Example: I need to load the same data in all the remaining months in current year.
    I tried using a substitution variable in the header which is defined as Aug,Sep,Oct,Nov,Dec.
    It loaded randomly. For each account, only one month is loaded.
    It loads only as many data points as in the data file regardless of the number of members from the same dimension specified in the Header definition.
    Any suggestions to correct this.
    Using a Calc script to do a data copy cannot be used because of other process limitations.
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    Randomly? That's really interesting. But yeah, I wouldn't expect that to work.
    I have a hard time thinking of a really good option that will handle an variable number of periods and is driven by a single subvar.
    Run the load multiple times, cycling through the subvar settings? Or (faster, if Period is dense) create one load rule for each period, with the data column copied multiple times using field manipulation and the future Periods assigned to each column (rather than using a 'Data' field) and run only the rule you need? That option doesn't use a subvar at all, but still requires conditional logic in the process.
    Alternatively, do the transformation in your source extract / parse the file. This is really the 'best' option but I appreciate there are sometimes constraints on changing upstream processes.

  • Can't load artwork files in iTunes for movie covers

    I used to be able to add artwork to movie files by going through the GET INFO section.  When I do it now using iTunes 10.5.1, it appears to be trying to load, but then it stops with no result.  I'm using .jpg files as before.  I tried to load an image that I loaded previously; I tried copy/paste of an image from a movie I purchased through iTunes; I even had a friend send me a copy of an image file that he is able to load successfully...all with the same result...no image loaded.
    I am thinking I'm missing something simply, but quite frankly, I'm stumped!
    Any thoughts or suggestions?  Thank you!!
    Neil

    1) find an MP3 file on your file system (in Windows Explorer)
    2) Right click on it to get contextual menu
    3) Select Properties
    4) on the General Tab the text "opens with" appears - in your case it'll be windows Media Player
    5) Click Change
    6) Select ITunes
    7) Select Always for this type checkbox
    8) Now try double clicking on an MP3 file
    9) Does it start playing in ITunes?
    10) Check Itunes settings: Edit>Preferences>Advanced
    11) Are the checkboxes Keep Itunes folder organized and Copy to Itunes foler when adding selected? If not - read the manual to understand what those two settings do

  • Finder moving files not copying

    I have been using a mac for over 15 years but this one has me stumped.
    When coping files I have always held down 'option' to copy the file. A small green plus symbol appears and the files then copy into the target folder, or hard drive.
    I have a Mac Pro, with the latest updates of Yosemite .... but now the files are moving and NOT copying.
    So when I back something up, they are no longer in the original location, only where i have copyied them to. They disappear.
    Should I be using cut and paste instead? Anyone else have this problem?

    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Download and re-install the 10.10.1 update.
    Also see:
    Reinstall OS X Without Erasing the Drive
    OS X Yosemite- Reinstall OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • Loading .obj and .mtl in Java, how I can do this?

    Well, I'm having problem with this, I'm doing my Course Conclusion Work related with augmented reality in java (JARToolKit) and I want to import models 3D in the format .obj, but I need to import it's materials too that is in the file .mtl. Anyone that already use this or do this if can help me I will be grateful, I need this and I trying everything, any help will be very good to me.
    Thanks,
    Jairo.

    Hi,
    the Java 3D API includes a utility for loading '.obj/.mtl'-files: com.sun.j3d.loaders.objectfile.ObjectFile.
    August

Maybe you are looking for