ساخت انیمیشن برای Sceneform
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
برای پیاده سازی انیمیشن در Sceneform به مدل هایی با داده های انیمیشن نیاز دارید. این مدل ها پیش از موعد توسط هنرمندان با استفاده از نرم افزارهای مدل سازی سه بعدی و انیمیشن ساخته شده اند. این انیمیشن ها باید به عنوان فایل *.fbx
صادر شوند، سپس به یک فایل *.sfb
وارد شوند تا در Sceneform استفاده شوند.
برای اطمینان از سازگاری آنها با ARCore، فایل های *.fbx
باید با استفاده از تنظیمات پشتیبانی شده ذخیره شوند. سپس می توانید این فایل ها را به عنوان فایل *.sfb
وارد پروژه خود کنید.
ما تنظیمات زیر را برای فایل های *.fbx
صادر شده از نرم افزارهای مدل سازی و انیمیشن توصیه و پشتیبانی می کنیم.
فرمت فایل: FBX 2016/2017 یا بالاتر
تبدیل محور: محور بالا Y است
ضریب مقیاس: سانتی متر
تنظیمات هندسی مورد نیاز:
- گروه های صاف کننده
- مش صاف
- محتوای دارایی ارجاع شده
تنظیمات هندسی توصیه شده:
- مماس ها و دونرمال ها
- مثلثی
- NURBS
انیمیشن: فعال
تنظیمات مدل های تغییر شکل یافته:
- مدل های تغییر شکل یافته
- پوسته ها
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2022-09-26 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2022-09-26 بهوقت ساعت هماهنگ جهانی."],[[["\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"]]