PlanetsAR is an Augmented Reality application that allows users to explore detailed 3D models of planets in their real-world environment using their mobile device. The application leverages gyroscope functionality for intuitive interaction with the celestial models.
- Interactive 3D Planet Models: Accurately rendered planetary models with detailed textures
- Augmented Reality Visualization: View planets in your real-world space through your device camera
- Gyroscope Controls: Intuitive movement and rotation of planets based on device orientation
- Cross-Platform Compatibility: Built for Android devices with ARCore support
- Engine: Unity 6
- Rendering: Universal Render Pipeline (URP)
- AR Framework: AR Foundation
- Platform SDK: ARCore for Android
- 3D Rendering: Custom-optimized 3D models with specialized materials
- Device Integration: Gyroscope API for orientation-based controls
- Unity 6.0 or later
- AR Foundation package
- ARCore XR Plugin
- Universal RP package
- Android SDK 24+ (Android 7.0 Nougat or later)
- Device with ARCore support and gyroscope
- Clone this repository
- Open the project in Unity 6
- Ensure all required packages are imported:
- AR Foundation
- ARCore XR Plugin
- Universal RP
- Connect an ARCore-compatible Android device
- Build and run the application on your device
- Launch the application on your ARCore-compatible Android device
- Grant camera permissions when prompted
- Point your camera at a flat, well-lit surface
- The planet will appear in augmented reality
- Move your device to explore the planet from different angles
- Tilt your device to rotate the planet using gyroscope controls
PlanetsAR/ โโโ Assets/ โ โโโ Scenes/ โ โ โโโ HomeScreen.unity # Initial user interface โ โ โโโ Earth.unity # Main AR scene with Earth model โ โโโ Scripts/ # C# scripts for AR functionality โ โโโ Models/ # 3D planet models โ โโโ Materials/ # URP materials for planets โ โโโ Textures/ # Planet surface textures โ โโโ Settings/ # URP and AR configuration files โ โโโ XR/ # AR Foundation and ARCore settings
- Add additional planets and celestial bodies
- Implement planet information panels with scientific data
- Add animation for planetary rotation
- Enhance AR experience with surface plane detection
- Optimize performance for wider device compatibility
- Add social sharing functionality