- L'SDK Sceneform per Android è stato open source e archiviato (github.com/google-ar/sceneform-android-sdk) con la versione 1.16.0.
- Questo sito (developers.google.com/sceneform) funge da archivio di documentazione per la versione precedente, Sceneform SDK for Android 1.15.0.
- Non utilizzare la versione 1.17.0 degli elementi Maven di Sceneform.
- È possibile utilizzare gli artefatti 1.17.1 Maven. A parte la versione, tuttavia, gli artefatti 1.17.1 sono identici agli artefatti 1.15.0.
Creazione di animazioni per Sceneform
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Per implementare l'animazione in Sceneform, sono necessari i modelli con dati di animazione. Questi modelli vengono creati in anticipo dagli artisti utilizzando software di animazione e modellazione 3D. Queste animazioni devono essere esportate come file *.fbx
, quindi importate in un file *.sfb
da utilizzare in Sceneform.
Per garantire che siano compatibili con ARCore, i file *.fbx
devono essere salvati utilizzando le impostazioni supportate. Puoi quindi importare questi file nel tuo progetto come file *.sfb
.
Ti consigliamo e supportiamo le seguenti impostazioni per i file *.fbx
esportati da software di modellazione e animazione.
Formato file: OBA 2016/2017 o versioni successive
Conversione dell'asse: l'asse in alto è Y
Fattore di scala: centimetri
Impostazioni geometriche richieste:
- Gruppi di livellamento
- Maglia levigata
- Contenuti della risorsa a cui viene fatto riferimento
Impostazioni geometriche consigliate:
- Tangenti e binormali
- Triangolare
- NURB
Animazione: attivata
Impostazioni dei modelli deformate:
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2022-09-26 UTC.
[null,null,["Ultimo aggiornamento 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"]]