יצירת אנימציות ל-Squareform
כדי להטמיע אנימציה ב-Stageform, נדרשים מודלים עם נתוני אנימציה. המודלים האלה נוצרים מראש על ידי אומנים באמצעות תוכנות תלת-ממד ואנימציה. את האנימציות האלה צריך לייצא כקובצי *.fbx
, ולאחר מכן לייבא אותן לקובץ *.sfb
כדי להשתמש בהן ב-Squareform.
כדי לוודא שהם תואמים ל-ARCore, יש לשמור קובצי *.fbx
באמצעות הגדרות נתמכות. לאחר מכן תוכלו לייבא את הקבצים האלה לפרויקט כקבצים של *.sfb
.
אנחנו ממליצים על ההגדרות הבאות של קובצי *.fbx
שמיוצאים מתוכנות אנימציה ואנימציות, ותומכים בהן.
פורמט קובץ: FBX 2016/2017 ואילך
המרת ציר: הציר העליון הוא Y
גורם לקביעת קנה מידה: סנטימטרים
הגדרות גיאומטריות נדרשות:
- קבוצות החלקה
- רשת חלקה
- תוכן נכס משויך
הגדרות גיאומטריות מומלצות:
- טנגנס וביוקל
- משולש
- נורווגיה
אנימציה: מופעלת
הגדרות של מודלים פגומים:
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2022-09-26 (שעון UTC).
[null,null,["עדכון אחרון: 2022-09-26 (שעון UTC)."],[[["Sceneform utilizes pre-made 3D models with animation data, created by artists and exported as *.fbx files."],["These *.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."],["Models 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."],["Animation should be enabled during export, and deformed models settings, including skins, should be included for models with complex movements or deformations."]]],["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"]]