Article View: adobe.acrobat.sdk
Article #276Re: 3D annotations and File format Conversion
From: DeveloperGuy
Date: Fri, 13 Mar 2009 15:34
Date: Fri, 13 Mar 2009 15:34
13 lines
1375 bytes
1375 bytes
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>
Technical Details
Message-ID:
<59b81e27.9@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b81e27.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,8121bb3f987819b5 X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: DeveloperGuy@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: 3D annotations and File format Conversion Message-ID: <59b81e27.9@webcrossing.la2eafNXanI> Date: Fri, 13 Mar 2009 08:34:07 -0700 References: <59b81e27.-1@webcrossing.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit