- Android के लिए SCEP SDK टूल, ओपन सोर्स और संग्रहित किया गया (github.com/google-ar/scineform-android-sdk) है, जिसका वर्शन 1.16.0 है.
- इस साइट (developers.google.com/sceneform), पिछले वर्शन के लिए दस्तावेज़ के संग्रह के तौर पर काम करती है. इस वर्शन का इस्तेमाल, Android के लिए SCEP SDK टूल 1.15.0 के तौर पर किया जाता है.
- Maven आर्टफ़ैक्ट वाले सीनफ़ॉर्म 1.17.0 का इस्तेमाल न करें.
- 1.17.1 Maven आर्टफ़ैक्ट का इस्तेमाल किया जा सकता है. हालांकि, वर्शन के अलावा 1.17.1 आर्टफ़ैक्ट, 1.15.0 आर्टफ़ैक्ट के जैसा है.
सीनफ़ॉर्म का इस्तेमाल करने वाले सैंपल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
SDK टूल के नमूने
इन सैंपल का मकसद, डेवलपर को कम से कम मेहनत में सीनफ़ॉर्म के साथ काम करने देना है. वे जान-बूझकर छोटे होते हैं और सीनफ़ॉर्म का इस्तेमाल करने के लिए, ज़रूरी आइटम हाइलाइट करते हैं.
ये नमूने GitHub पर
Senform SDK for Android
डेटा स्टोर करने की जगह में प्रकाशित किए जाते हैं. उन्हें हर रिलीज़ में अपडेट किया जाता है.
- HelloScenform
, सैंपल का सबसे आसान तरीका है. इसमें बताया गया है कि कैसे ARCore सेशन को अपने-आप मैनेज करने के लिए,
ArFragment
को इस्तेमाल करें.
- ऐनिमेशन
में ऐनिमेशन डेटा के साथ इंपोर्ट किए गए मॉडल को इस्तेमाल करने का तरीका बताया गया है.
- ऑगमेंटेड फ़ेस
यह दिखाता है कि चेहरे के अलग-अलग क्षेत्रों और किनारों पर बनावट और मॉडल की पहचान कैसे करें और उन्हें कैसे लागू करें.
- ऑगमेंटेड इमेज
से पता चलता है कि ARCore की मदद से ऑगमेंटेड इमेज को एपीआई के ज़रिए दिखाया गया है.
- सोलर सिस्टम
एक से ज़्यादा मॉडल लोड करने और ऑब्जेक्ट को पोज़िशन करने और घुमाने के लिए, स्थानीय निर्देशांक स्पेस का इस्तेमाल करता है.
- ChromaKey वीडियो,
ExternalTexture
का इस्तेमाल करके दिखाया जाता है. साथ ही, रेंडर होने वाले डिवाइस पर कस्टम कॉन्टेंट दिखाने के लिए, कस्टम कॉन्टेंट
का इस्तेमाल करता है.
- Videorecording सैंपल
यह दिखाता है कि किसी लोकल वीडियो फ़ाइल में, सीनफ़ॉर्म
Sceneview
s को कैप्चर करने के लिए, सैंपल VideoRecording
क्लास का इस्तेमाल कैसे किया जाए.
इस्तेमाल करने के लिए सैंपल
इस्तेमाल के नमूने, आपकी समस्याओं और आपके सवालों से प्रेरित होते हैं. डेवलपर,
Senenform का इस्तेमाल करते हैं. ये नमूने डिज़ाइन करने के लिए कुछ खास पहलुओं को दिखाने के लिए डिज़ाइन किए गए हैं.
ये सैंपल, सीनफ़ॉर्म SDK टूल की रिलीज़ से अलग होते हैं. इसलिए, ज़रूरत के हिसाब से या मौजूदा मामलों के आधार पर, इन्हें अलग-अलग समय पर अपडेट किया जाता है.
इन सैंपल के बारे में जानकारी, GitHub पर
सीनफ़ॉर्म-सैंपल
प्रोजेक्ट में मौजूद है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-09-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-09-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThese samples help developers quickly get started with Sceneform, showcasing key features with minimal setup.\u003c/p\u003e\n"],["\u003cp\u003eThey are categorized into SDK samples and usage samples, each serving different purposes and update schedules.\u003c/p\u003e\n"],["\u003cp\u003eSDK samples provide foundational knowledge of using Sceneform for tasks like AR session management, animations, face augmentation, and image augmentation.\u003c/p\u003e\n"],["\u003cp\u003eUsage samples offer solutions to specific developer questions and demonstrate more specialized Sceneform features, including chroma key video and video recording.\u003c/p\u003e\n"],["\u003cp\u003eAll samples are publicly accessible on GitHub and regularly updated to ensure relevance and functionality.\u003c/p\u003e\n"]]],["Sceneform SDK samples, available on GitHub, offer developers examples for using the technology. Key actions demonstrated include using `ArFragment` for ARCore management, animating imported models, applying textures to faces, and utilizing the ARCore Augmented Images API. Other samples showcase loading multiple models, using `ExternalTexture` for Chroma Key video, and capturing video with the `VideoRecording` class. Usage samples, found in the sceneform-samples project, address specific aspects and developer inquiries, with independent update cycles.\n"],null,["# Samples using Sceneform\n\nSDK samples\n-----------\n\nThese samples are intended to get developers up and running with Sceneform with\nminimal effort. They are intentionally small and highlight the key items needed\nin order to use Sceneform.\n\nThese samples are published in the\n[Sceneform SDK for Android](//github.com/google-ar/sceneform-android-sdk)\nrepository on GitHub. They are updated every release.\n\n- [HelloSceneform](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/hellosceneform) is the most straightforward of the samples, showing how to use [`ArFragment`](/sceneform/reference/com/google/ar/sceneform/ux/ArFragment) for automatically managing the ARCore session.\n- [Animation](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/animation) shows how to use models imported with animation data.\n- [AugmentedFaces](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/augmentedfaces) shows how to identify and apply textures and models to different regions and vertices of a face.\n- [Augmented Images](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/augmentedimage) demonstrates using ARCore Augmented Images API with Sceneform.\n- [Solar System](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/solarsystem) demonstrates loading multiple models and using local coordinate space to position and rotate objects.\n- [ChromaKey Video](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/chromakeyvideo) demonstrates using an [`ExternalTexture`](/sceneform/reference/com/google/ar/sceneform/rendering/ExternalTexture) and a custom material to display Chroma Keyed (green screen) video on a renderable.\n- [VideoRecording Sample](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/videorecording) shows how to use the sample `VideoRecording` class to capture Sceneform [`Sceneview`s](/sceneform/reference/com/google/ar/sceneform/SceneView) to a local video file.\n\nUsage samples\n-------------\n\nUsage samples are inspired by issues and questions from you, developers using\nSceneform. These samples are designed to show some specific aspect of Sceneform.\nThese samples are independent of the Sceneform SDK releases, and as such, are\nupdated at different times based on need or current topics related to using\nSceneform.\n\nDetails on these samples are located in the\n[sceneform-samples](//github.com/googlesamples/sceneform-samples)\nproject on GitHub."]]