I'm looking forward to export a Scene to a 3D PDF. The valid formats are U3D and PRC, for U3D creation there is a converter available (Universal 3D Sample Software on SF). The input format is IDTF (intermediate text format). So basic workflow is
glScene -> IDTF -> U3DConverter -> U3D data stream -> embedding in 3D PDF annotation.
Meshlab can already save this format (nice for comparing) but i want to do it in Delphi.
I made a custom filer derived from TGLVectorFile but i'm not so firm in converting the MeshObjects to IDTF.
I can export the FACE/VERTICIES but e.g not the MODEL_NORMAL_LIST.
I made a Delphi XE 10 sample and uploaded it here:
Hi Jerome,
thank's! Feel free to integrate the IDTF/U3D vectorfile into GLScene!
I made some progress and now i can create valid PDF 3D files. I want to refactor some methods and will setup a github account. Currently some parts missing like initial view (camera position), materials/shadings. What is the best way to sync development and allow others to contribute?
Best regards
Dirk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm looking forward to export a Scene to a 3D PDF. The valid formats are U3D and PRC, for U3D creation there is a converter available (Universal 3D Sample Software on SF). The input format is IDTF (intermediate text format). So basic workflow is
glScene -> IDTF -> U3DConverter -> U3D data stream -> embedding in 3D PDF annotation.
Meshlab can already save this format (nice for comparing) but i want to do it in Delphi.
I made a custom filer derived from TGLVectorFile but i'm not so firm in converting the MeshObjects to IDTF.
I can export the FACE/VERTICIES but e.g not the MODEL_NORMAL_LIST.
I made a Delphi XE 10 sample and uploaded it here:
https://drive.google.com/open?id=0Bx84-peUdIgZeUZWX0Z6YU0taUE
Can anybody help me in saving the meshobjects to IDTF?
Thanks & best regards
Dirk
Basic structure of IDTF: Simple ASCII format, for a pyramid it looks like this:
Last edit: Dirk C 2017-05-12
Sorry, i posted the wrong link to sample project, corrected now:
https://drive.google.com/open?id=0Bx84-peUdIgZeUZWX0Z6YU0taUE
Hello Dirk, nice thanks will include to the SVN as soon as possible
Cheers
Last edit: Jerome.D (BeanzMaster) 2017-05-17
Hi Jerome,
thank's! Feel free to integrate the IDTF/U3D vectorfile into GLScene!
I made some progress and now i can create valid PDF 3D files. I want to refactor some methods and will setup a github account. Currently some parts missing like initial view (camera position), materials/shadings. What is the best way to sync development and allow others to contribute?
Best regards
Dirk
Hi Dirk, yes with Pavel will can give an access to the SVN. I'll send you private mail this week end i'll have more time.
Hi Jerome, that sounds good! Looking forward,
Dirk
Dirk,
I've included your GLFile3DPDF unit. Thanks. But what about IDTFConverter dlls. Do they necessary to export and need to be included in externals libs too? And may be you have also a code to import/export glTF for GLScene like a converter in https://github.com/KhronosGroup/glTF#converters or loader https://github.com/KhronosGroup/glTF-CSharp-Loader.