简体   繁体   English

适用于JavaScript的3D PDF Adob​​e API

[英]3D pdf adobe api for javascript

I know that Adobe 3D pdf support JavaScript. 我知道Adobe 3D pdf支持JavaScript。 So, I have JavaScript code in Three.js for 3D models in 3D world. 因此,我在Three.js中有JavaScript代码,可用于3D世界中的3D模型。

Is it possible to have same (or similar) code in 3D pdf? 3D pdf中是否可能有相同(或相似)的代码? I mean, I load 3D models, and do things with 3D models and have that all in 3D pdf? 我的意思是,我加载了3D模型,并对3D模型进行处理,并且全部都保存在3D pdf中?

What do I have to have to have this? 我必须要拥有什么? Can I create scene with Adobe API? 我可以使用Adobe API创建场景吗? Is it free, Adobe API? 它是免费的Adobe API吗?

You can add JavaSCript to a 3D Annotation using Adobe Acrobat manually or just about any PDF library tool that supports Rich Media Annotations or will allow you to access objects at the COS dictionary level. 您可以使用Adobe Acrobat或几乎任何支持Rich Media Annotations或允许您访问COS词典级别的对象的PDF库工具,手动将JavaSCript添加到3D注释中。 I can advise better if you can tell me what programming languages you are most proficient at. 如果您能告诉我您最精通的编程语言,我会更好地建议。 One thing to note is that there is no physics engine or collision detection in the Acrobat JavaScript for 3D API, you'd need to add that yourself... though it is certainly possible. 需要注意的一件事是,Acrobat JavaScript for 3D API中没有物理引擎或碰撞检测,您需要自己添加……当然可以。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM