3D annotations and File format Conversion

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default 3D annotations and File format Conversion

    I am writing a plug-in for Acrobat Extended Pro that will export embedded 3D files in other formats. I only have access to a U3D converter right now but Acrobat saves some files in their PRC format. Is there some way to have Acrobat convert PRC files into U3D?

    Thank you in advance for your help.
    DeveloperGuy@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Cobol format conversion
      Hello, What is the best way to convert a numeric cobol format S9(09)V9(04) in a more readable way. For example: 000001000000} will be...
    2. Problem with export annotations to FDF file
      Hello, We develop our Acrobat plug-in which is export annotations from the document to file. We faced with the problem, that when annotation is...
    3. Export annotations to FDF file
      Hello, We develop our Acrobat plug-in which is export annotations from the document to file. We faced with the problem, that when annotation is...
    4. Canīt add comments or annotations to a pdf file
      I have Acrobat Reader 6.0.1 Full version and I canīt add comments to a pdf file with no security. The Comments toolbar doesnīt appears in the menu. I...
    5. time format conversion
      Hi... I have this format 2003-12-01 18:46:20.0 And would like it to be 01-12-2003 18:46:20 I know it can be done vis string cuts and...
  3. #2

    Default Re: 3D annotations and File format Conversion

    No, we do not include a PRC->U3D converter in Acrobat since doing so wouldn't serve any useful purpose since PRC and U3D are quite different (and PRC is much better).
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: 3D annotations and File format Conversion

    Can any Converters be invoked by the SDK?
    DeveloperGuy@adobeforums.com Guest

  5. #4

    Default Re: 3D annotations and File format Conversion

    If you write your own converter - or find a 3rd party one - you can certainly call it all you wish.
    Leonard_Rosenthol@adobeforums.com Guest

  6. #5

    Default Re: 3D annotations and File format Conversion

    .... But now I am back to my original problem :(

    I don't have a PRC converter and getting one is not an option. But I need to extract PRC files. I know that Acrobat can do this because I can import PRC files and Acrobat can store them as U3D files. Thus, there _must_ be a converter inside Acrobat I want to know if there is some way to get Acrobat to do this conversion for me.
    DeveloperGuy@adobeforums.com Guest

  7. #6

    Default Re: 3D annotations and File format Conversion

    Acrobat does NOT convert PRC->U3D. It stores PRC natively in the PDF.

    On the other hand, we CAN convert U3D->PRC - but I don't believe that converter is exposed to the SDK.
    Leonard_Rosenthol@adobeforums.com Guest

  8. #7

    Default Re: 3D annotations and File format Conversion

    Are any of the other converters exposed, like PRC->VRML, STEP, Parasolid, IGES or STL?
    DeveloperGuy@adobeforums.com Guest

  9. #8

    Default Re: 3D annotations and File format Conversion

    We don't support PRC->XXX conversion - only XXX->PRC.
    Leonard_Rosenthol@adobeforums.com Guest

  10. #9

    Default Re: 3D annotations and File format Conversion

    I am trying to use the Acrobat 3D API. However, when I try to pass the PRC file I have extracted from the annotation to A3DAsmModelFileLoadFromFile() it tells me that the file is invalid. Is there some other correct way of saving the PRC file? Currently I am just fwrite()-ing the contents of the 3DD entry in the Annotation Dictionary.
    DeveloperGuy@adobeforums.com Guest

  11. #10

    Default Re: 3D annotations and File format Conversion

    I would recommend that you open up a formal "ticket" with developer support - they are better suited to help at that level...
    Leonard_Rosenthol@adobeforums.com Guest

  12. #11

    Default Re: 3D annotations and File format Conversion

    I've figured everything out. The problem I was having was because I was using fwrite() in text mode instead of binary mode. :p

    For anyone reading this later, this is how you convert from PRC -> U3D and back:

    1) load the Acrobat 3D Dll (A3DLIB.dll) and do all of the initializations.

    2) Then, load the PRC file with the function A3DAsmModelFileLoadFromFile().

    3) Then take the model structure you get back and pass it to A3DAsmModelFileWriteToFile(). The A3DAsmModelFileWriteParametersData * parameter will contain the format specifier.

    You can save these files as either PRC, U3D version 1 or U3D version 3.

    Look here for the full docs: <http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/API_References/PRCReference/3D_API_Reference/index.html>
    DeveloperGuy@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139