การสร้างภาพเคลื่อนไหวสําหรับ Sceneform
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หากต้องการใช้ภาพเคลื่อนไหวใน Sceneform คุณต้องมีโมเดลที่มีข้อมูลภาพเคลื่อนไหว โมเดลเหล่านี้สร้างขึ้นล่วงหน้าโดยศิลปินที่ใช้โมเดล 3 มิติและซอฟต์แวร์ภาพเคลื่อนไหว ภาพเคลื่อนไหวเหล่านี้ต้องส่งออกเป็นไฟล์ *.fbx
แล้วนําเข้าไปยังไฟล์ *.sfb
สําหรับใช้ใน Sceneform
เพื่อให้บันทึกไฟล์โดยใช้ ARCore ได้ คุณควรบันทึกไฟล์ *.fbx
ไฟล์โดยใช้การตั้งค่าที่รองรับ จากนั้นคุณจะนําเข้าไฟล์เหล่านี้เข้าสู่โปรเจ็กต์ *.sfb
ไฟล์ได้
เราขอแนะนําให้และรองรับการตั้งค่าต่อไปนี้สําหรับไฟล์ *.fbx
ที่ส่งออกจากซอฟต์แวร์การสร้างแบบจําลองและแอนิเมชัน
รูปแบบไฟล์: FBX 2016/2017 หรือใหม่กว่า
การแปลงแกน: แกนบนคือ Y
ปัจจัยที่มีผลต่อขนาด: เซนติเมตร
การตั้งค่าเรขาคณิตที่จําเป็น:
- กลุ่มสมูทตี้
- ตาข่ายเรียบ
- เนื้อหาอ้างอิง
การตั้งค่าเรขาคณิตที่แนะนํา:
- แทนเจนต์และสิ่งผิดปกติ
- สามเหลี่ยม
- ย่านชานเมือง
ภาพเคลื่อนไหว: เปิดใช้
การตั้งค่าโมเดลที่เปลี่ยนรูปแบบแล้ว
- โมเดลที่มีรูปทรงไม่ถูกต้อง
- สกิน
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-09-26 UTC
[null,null,["อัปเดตล่าสุด 2022-09-26 UTC"],[[["\u003cp\u003eSceneform utilizes pre-made 3D models with animation data, created by artists and exported as *.fbx files.\u003c/p\u003e\n"],["\u003cp\u003eThese *.fbx files must be converted to *.sfb files for use in Sceneform and should adhere to specific settings for ARCore compatibility, such as FBX 2016/2017 or later format, Y-up axis, and centimeter scaling.\u003c/p\u003e\n"],["\u003cp\u003eModels should include geometry settings like smoothing groups, smooth mesh, and referenced asset content for optimal performance, with tangents, binormals, triangulation, and NURBS recommended for enhanced visuals.\u003c/p\u003e\n"],["\u003cp\u003eAnimation should be enabled during export, and deformed models settings, including skins, should be included for models with complex movements or deformations.\u003c/p\u003e\n"]]],["3D models with animation data, created externally, are required for Sceneform animation. These must be exported as `*.fbx` files, adhering to specific settings like FBX 2016/2017 or later format, Y-axis up, and centimeter scaling. Essential geometry settings include smoothing groups and smooth mesh; animation and deformed models must be enabled. The validated `*.fbx` files are then imported into `*.sfb` files for use in Sceneform.\n"],null,["# Creating animations for Sceneform\n\nTo implement animation in Sceneform, you need models with animation data. These\nmodels are created ahead of time by artists using 3D modeling and animation\nsoftware. These animations must be exported as `*.fbx` files, then imported into\na `*.sfb` file to be used in Sceneform.\n\nTo ensure they're compatible with ARCore, `*.fbx` files should be saved using\nsupported settings. You can then import these files into your project as `*.sfb`\nfiles.\n\nFBX asset format and requirements\n---------------------------------\n\nWe recommend and support the following settings for `*.fbx` files exported from\nmodeling and animation software.\n\n- File format: FBX 2016/2017 or later\n\n- Axis conversion: Up axis is Y\n\n- Scale factor: Centimeters\n\n- Required geometry settings:\n\n - Smoothing groups\n - Smooth mesh\n - Referenced asset content\n- Recommended geometry settings:\n\n - Tangents and binormals\n - Triangulate\n - NURBS\n- Animation: enabled\n\n- Deformed models settings:\n\n - Deformed models\n - Skins"]]