Saving J3D objects in ASE Format ?

Hello,
I would like to save objects (simple, composed) build in a J3D scene to the ASE format.
Has somedy done this before or know interesting ressources ?
Thanks.
Gwen

If you want speed/efficiency, implement Externalizable rather than Serializable.
More work from you, but you'll get better results.
This gives you full control over the stream and serialization process.
Every time you implement an Externalizable you do it with the intimate knowledge of your class, and the minimum requirements of data required to reconstruct it.
For example, if some stateful object has been created but not initialized your writeExternal method could just write a single boolean to signify everything is null/not initialized. On the other hand, if there's a lot of data to write, you could use a standard compression system, or invent a specialized one. If you have an int[100000] and only one of the values are non-zero at the time of serialization it makes little sense to write 99999 zeroes into the stream.
I'd be surprised to see a product using a generic serialization scheme that could consistently serialize an object hierarchy faster than custom code for that hierarchy.
Having said that, life is much easier and less error prone when a tested trusted product does it for you.

Similar Messages

  • Illustrator File Will Not Open -  Error message "Object label badly formatted"

    I have been working on a large image file for one of my classes; it has many layers and custom swatches, no text. I work on Creative Cloud at home, CS6 at school, and I think I had my .ai file saved under legacy file format CS4 trying to be safe (because I was not sure of my school's version and I have had a lot of problems accessing my files at school because of the version differences). I have been working on it back and forth between computers for quite a while, and today--while I had the image on my computer recently--it says "Acrobat PDF File Format is having difficulties: Object label badly formatted" if I try to open it.
    I have tried: updating Adobe Illustrator; creating a new AI document and "placing" the file into it; opening the file in Acrobat (the file opened, which was a step...but it only showed a tiny portion of the artwork and left the rest blank. Under the tools, however, it still showed the image had 15 layers (under the layer menu)--and it had them marked them as "visible"--but there wasn't anything I could do to actually view them; I tried copy/pasting into illustrator from Acrobat; opening in Acrobat and "saving as" a PDF (it said "The document could not be saved. There was a problem reading the document (111)"; and I just did a system restore hoping that could exorcise the demons--but no such luck so far.
    Do you have any ideas? I would greatly appreciate any words of wisdom and support you might have...and chocolate.
    Thanks for reading this.

    We now understand the problem, and are testing a solution. Here's my current understanding of all the elements of this issue.
    CAUSE: The problem occurs in an interaction between Illustrator CS4, Suitcase Fusion 2 v13.2, and having an Illustrator document with one or more text boxes, containing text, which is *completely* off the artboard—not even the bounding box is touching the artboard. *Additionally*, there must also be at least one text box, with text in it, which is *on* the artboard (even so much as having the bounding box partly on the artboard is sufficient, again). When these conditions are met, saving the document *may* (but does not always) cause the problem.
    PROBLEM: Attempting to open an affected document in Illustrator CS4 fails, with an "object label badly formatted" error. The problem can occur with older illustrator documents opened in CS4, as well as native CS4 documents.
    UNAFFECTED: Despite any speculation in this thread, this problem does not affect Photoshop, nor has it occurred with any version of Extensis Suitcase older than Suitcase Fusion 2 v13.2, which shipped about eight days ago.
    SOLUTION: The problem should be resolved by a 13.2.1 dot release. Although things could be delayed if we find something unexpected in testing, we currently expect to have the fix available this week, probably tomorrow (Thursday).
    DOCUMENT RECOVERY: Extensis can fix any Illustrator CS4 document which exhibits this problem. For now, contact Extensis tech support if you need help with recovering any such Illustrator document. Be prepared to send tech support the affected Illustrator file(s). You can use the online contact form at http://www.extensis.com/en/support/contact_prod_support.jsp, or call tech support at 1-503-274-7030.
    Special thanks to the users whose suffering and detailed reports helped us figure this out!
    Regards,
    T
    Thomas Phinney
    Sr Product Manager, Font Solutions
    Extensis, a division of Celartem, Inc.

  • Illustrator CS4 error: Object label badly formatted?

    has anyone received an error in illustrator CS4: Acrobat PDF File Format is having difficulties. Object label badly formatted? I am ON a mac and cannot open files after this error, help?

    We now understand the problem, and are testing a solution. Here's my current understanding of all the elements of this issue.
    CAUSE: The problem occurs in an interaction between Illustrator CS4, Suitcase Fusion 2 v13.2, and having an Illustrator document with one or more text boxes, containing text, which is *completely* off the artboard—not even the bounding box is touching the artboard. *Additionally*, there must also be at least one text box, with text in it, which is *on* the artboard (even so much as having the bounding box partly on the artboard is sufficient, again). When these conditions are met, saving the document *may* (but does not always) cause the problem.
    PROBLEM: Attempting to open an affected document in Illustrator CS4 fails, with an "object label badly formatted" error. The problem can occur with older illustrator documents opened in CS4, as well as native CS4 documents.
    UNAFFECTED: Despite any speculation in this thread, this problem does not affect Photoshop, nor has it occurred with any version of Extensis Suitcase older than Suitcase Fusion 2 v13.2, which shipped about eight days ago.
    SOLUTION: The problem should be resolved by a 13.2.1 dot release. Although things could be delayed if we find something unexpected in testing, we currently expect to have the fix available this week, probably tomorrow (Thursday).
    DOCUMENT RECOVERY: Extensis can fix any Illustrator CS4 document which exhibits this problem. For now, contact Extensis tech support if you need help with recovering any such Illustrator document. Be prepared to send tech support the affected Illustrator file(s). You can use the online contact form at http://www.extensis.com/en/support/contact_prod_support.jsp, or call tech support at 1-503-274-7030.
    Special thanks to the users whose suffering and detailed reports helped us figure this out!
    Regards,
    T
    Thomas Phinney
    Sr Product Manager, Font Solutions
    Extensis, a division of Celartem, Inc.

  • Saving java objects without serialization

    Hi!
    I want to save a lot of java objects to file, and be able to restore the data structure that these java objects compose.
    The obvious way to do that, is to use some kind of serialization I guess. But, as I see it, the problem with this approach is that as the data structure expands and new classes are added and present classes are changed (even the name of the classes) this approach fails. If the user has an old data structure that he/she wants to restore there will be a problem with e.g. ClassCastException and the like.
    Now I am wondering if someone could give me some hints of how to solve this problem. What approach should I use instead. Is XML the right way to do it? Someone who has any experience with these problems?
    I would really appreciate some help!
    Best regards
    Lars

    Hi, Lars, funny you should mention this issue. I am
    dealing with the exact same problem at work. Every
    time I release a new version of my software, users
    cannot load files they saved with the previous
    version. This is a big problem !
    And, like you, I am toying with the XML solution.
    On the downside, saving these objects in an XML format
    will take more memory, as XML can be (and should be?)
    textually descriptive. Those ASCII tags and such will
    probably treble the file size of their streamlined
    "serialized" predecessors.
    But memory is cheap, eh ?
    On the plus side, your XML parser can be (by it's nature)
    forgiving if new fields have been added or old ones taken
    away. And that is why Serializable is giving be a headache
    to begin with !
    Two other thoughts cross my mind ...
    For exceedingly large files, a SAX parser (vice DOM) will
    only have a bit 'o the structure in memory at a time, instead
    of having the whole kit and kaboodle in memory (my understanding
    of DOM).
    Also, nothing is stopping me from taking a gander at some of
    the Zip packages ... now where did I run across them ? java.io ? ...
    where once I write out the XML file (saving my objects), I could
    compress 'em for the user, too :-) I seem to recall a ZipStream or
    something while scanning some of the (JDK 1.4?) packages.
    I am looking forward to your response, and those of other interested
    readers sharing their thoughts on this topic, too !
    Eric

  • Acrobat pdf file format is having difficulties. Object label badly formatted.

    I'm using Adobe Illustrator CS5 on a PC (Windows XP)
    When I try to open one particular file, I get the following message:
    "Acrobat pdf file format is having difficulties. Object label badly formatted."
    I've seen some discussions about this error msg previously, but only when using CS4, and everyone was referring to some type of "suitcase fusion", which I am not using.
    Any help that you can provide would be greatly appreciated

    I created the file in Illustrator CS5 and saved it as an .ai file.
    It does not open in Acrobat or Reader... not sure what other programs you think I should try?
    It's basically a bunch of lines and some text... the text is a Font that we use here at the MTO (FHWA)
    This is the first time I've ever had this problem.
    The weird thing is if I try to open the file in Illustrator by clicking "File", then "Open..." and then highlight the file in the "Open Dialog Window", I can see a preview of the file.  But then when I finally click "open" in the dialog window, I get that error message?

  • Saving the report in Excel format form BO

    Hi Team,
    Would like to know how to provide/grant an access to User to save his/her BO reports in Excel format. Save as option is not being highlited for the user for saving the data into EXcel format.
    Thanks.

    Hi,
    Just check the preferences in the WEBI,
    Just goto the option under preferences and check whether Prioritize easy data processing in Excel is enabled.
    Select a priority for saving to MS Excel:
       Prioritize easy data processing in Excel 
    Regards,
    Ragoth.C

  • Error while saving for Objective setting

    Hi,
    While saving the Objective setting templates i am getting the error as "Table HRPAD605 is not part of the Customizing object PDST T "
    <u>Error documentation is as follows</u>
    <b>Diagnosis</b>
    Entries in table HRPAD605 cannot be edited in connection with customizing object PDST      T as table HRPAD605 does not belong to customizing object PDST      T, according to the object definition.
    <b>System Response</b>
    The function terminates.
    <b>Procedure</b>
    Check whether the entered objects and keys are correct.Then check in the Implementation Guide whether the object was created correctly.
    Correct the object definition or the entry for the Transport Organizer interface.
    Thanks

    Hello,
    Most likely the is an inconsistency with the transport objects PDST and PDWS. Please run RHSOBJCH to correct this inconsistency.
    Afterwards you should be able to transport the templates via the catalog or via RHMOVE30. Please make sure that the category ID in the target system is the same otherwise you won't be able to locate the template.
    The report RHSOBJCH corrects the missing HR entries in the OBJS table.
    This step you need to perform only once. For OSA you need to overtake
    *5020 up to *5026, also PAD605,606 and 607 references.
    When you have done this (as said, only need to do it once) you can transport the categories and templates via the phap_catalog_pa transaction (righ-mouse click on the to be transported object).
    Hope this helps,
    Regards and Groetjes,
    Maurice

  • Error while saving the objects in ID

    Dear All,
    When I am saving the objects in ID, I am facing with the following error:
    <b>[SAP_NWMss][SQLServer JDBC Driver][SQLServer]Could not allocate space for object 'XI_DIRDATACHANNEL' in database 'XD1' because the 'PRIMARY' filegroup is full</b>
    Please guide how to solve this error.
    Warm regards,
    n.jain

    Hi Nishu,
    ask your xi basis guys to see the disk space of your xi system.........i think the log files of your xi system have consumed too much space on your xi system.... ask your basis guys to make some space available in your xi system then your this problem will be resolved.......
    Thanks,
    Rajeev Gupta

  • When saving a file in [.jpg] format, i am asked to choose a quality from 1 to 100. what changes in the file created based on the quality parameter chosen?

    when saving a file in [.jpg] format, i am asked to choose a quality from 1 to 100. what changes in the file created based on the quality parameter chosen?. i would like to know what changes, so in the future i can set my camera to a setting that will give me the highest quality to begin with,allowing me to make crops and still preserve the quality.
    thank you
    dovid

    It's the level of compression. Lower number, more aggressive compression, more visual artifacts.
    Aside from that you should never use jpeg as a working format. The compression is destructive and cumulative, and the file deteriorates every time you resave it.
    Use TIFF or PSD, and if you need jpeg save out a copy as a single final step.

  • Will files saved on an external HD, formatted for Mac, be readable on a Windows machine?

    Will files saved on an external HD, formatted for Mac, be readable on a Windows machine?

    Only if the Windows computer has software such as MacDrive installed or the drive is hooked up to a Mac or AirPort Extreme and shared over a network.
    (60143)

  • HT2335 My iphone 4S previously saved photos in the jpg format.  Suddenly it changed to the bmp format.  How do I change it back to jpg?

    My iphone 4S previously saved photos in the jpg format.  Suddenly it changed to the bmp format.  How do I change it back to jpg?

    Photos captured by the iPhone are saved in jpeg format. A screen capture is saved in png format.
    There is no setting to change either one to be captured/saved in a different format.

  • Recovered files "object label badly formatted" .ai files

    I just had a mishap where all of my graphic files were deleted due to operator error.  I bought a file recovery software which said it supported .ai files, and they show up like a normal .ai file but when I try to open them in illustrator I get the following error:
    Acrobat PDF File Format is having difficulties. Object label badly formatted.
    If anyone has a possible idea on how to access these files again, please let me know, I lost a ton of illustrator work that can not easily be re-drawn.
    Thanks

    I keep finding posts about CS4 and .pdf files having this issue, but none that seems to parallel my issue.  I am working in CS3 (primitive I know, I just haven't had the funds to upgrade).  Thanks for posting, but I am not on a MAC but will have access to one tomorrow at work.  I will try your suggestion on my lunch hour and hope that works. 

  • Object Label Badly Formatted

    I'm trying to open an .ai file in Illustrator CS6. I get an error message "Acrobat PDF File Format is having difficulties. Object label badly formatted" I have tried recovery mode and running recovery scripts to no avail.
    I won't open or place in any other software. I can; however, see a preview in Bridge.
    I'm not using any fonts software and there are no fonts present in the document. The file contains a lot of gradient mesh and a photo (.jpg, placed)
    Lost a lot of work. Please help.

    You already tried the obvious.
    There's no backup available?
    It won't help you with this specific file, but:
    did you work directly on remote or removable media (like a server or a USB stick)?

  • Saved pattern swatches as ASE have I lost them?

    Hello
    I created some pattern swatches in illustrator CS6 and saved them as an ASE file.
    When I try to use them , only the files I'd saved as Ai are offered to me.
    Does the saved as ASE file only save the colours used and not the actual pattern?
    Have I lost my pattern designs or can I open them somehow and convert them back to Ai?
    Any advice would be appreciated.
    Thankyou

    Pattern and radient swatches can't be saved as ASE. The ASE simply won't contain the patterns, so if you haven't saved the file taht contains the pattern or saved the patterns as AI, then they will be lost.
    Illustrator should have issued an error message.

  • Problem while saving an object under a dev class

    hi all,
            Here is a problem while saving an object under a development class.... I created a Z program (ZSORDER)  through SE38 and while i was saving that Z program under a development class called SALES it shows an error message like  <b>" customer object program ZSORDER can't be assigned to the package SALES"</b>..... can any one can explain what is the problem....

    hi,
    you should have created your package starting with the letters "Y" or "Z".
    you have created it with the letter "s". SALES.
    's' is reserved to be used by SAP.
    so create the package  with the letters 'y' or 'z' like 'ysales' and you wont be getting that problem.
    try it.
    warm regards,
    Hari Kiran

Maybe you are looking for

  • PP CC 2014.0.1 (WIN) very unstable for unknown reasons

    hey folks, running on a: - HP Z820 - 96GB RAM - Nvidia Quadro 6000 - 16TB RAID SAS - windows 7 proffessional since the 14.0.1 update i've noticed that PP is not responding properly. takes ages to load up the media, several crashes for no apparent rea

  • What exactly are the settings I transfer with Migration Assistant

    Hi folks, That's it, what settings exactly I transfer? Thanks in advance  Paulo

  • Solution Manager sync with ARIS

    I believe I have done all the configuration to sync solution manager content with aris.  I followed the instructions in the aris adminstration manual.  I think I'm connecting ok with JCo, but I get the following error: function 'Z_SOLAR_READ_INSTALLE

  • Hardware key for the sap system.

    Hi Experts , My licence is going to expired within 3 days, i tried to request another key but Hardware key is mandatory. I tried for  Hardware key (HWID) , running the "saplicence.exe" but not found. Tcode 'SLICENCE' is not avialable. Help me in this

  • Layer Style Stroke Pixel Bug?

    I am finding at random times that when I draw a rectangle with rectangle tool and then use layer style to apply a 1 pixel border, the border sometimes have a fade on either side of the that 1 pixel and it becomes 2 pixel.  It doesn't appear on all fo