Skip to content

Latest commit

ย 

History

History
86 lines (63 loc) ยท 2.73 KB

File metadata and controls

86 lines (63 loc) ยท 2.73 KB

๐ŸŒŒ PlanetsAR

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.


๐Ÿ“ฑ Features

  • 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

๐Ÿ› ๏ธ Technology Stack

  • 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

โš™๏ธ Setup and Installation

Prerequisites

  • 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

Installation

  1. Clone this repository
  2. Open the project in Unity 6
  3. Ensure all required packages are imported:
    • AR Foundation
    • ARCore XR Plugin
    • Universal RP
  4. Connect an ARCore-compatible Android device
  5. Build and run the application on your device

๐Ÿš€ Usage

  1. Launch the application on your ARCore-compatible Android device
  2. Grant camera permissions when prompted
  3. Point your camera at a flat, well-lit surface
  4. The planet will appear in augmented reality
  5. Move your device to explore the planet from different angles
  6. Tilt your device to rotate the planet using gyroscope controls

๐Ÿ’ป Project Structure

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


๐Ÿ”ฎ Future Development

  • 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