Skip to content

Repository files navigation

🏰 Castle Grayskull VR Home Environment

A custom Meta Quest VR home environment inspired by He-Man's Castle Grayskull!

Castle Grayskull

🎮 Features

  • Iconic Skull Facade - Massive stone skull entrance with glowing green eyes
  • Gothic Fortress Architecture - Imposing towers, battlements, and stone walls
  • Mystical Lighting - Eerie green and purple glowing elements
  • VR Optimized - 1,604 vertices, 3,060 faces for smooth performance
  • glTF 2.0 Format - Compatible with Meta Quest devices

📦 What's Included

castle_grayskull_vr/
├── output/
│   └── castle_grayskull.glb    # Your VR home environment file
├── scripts/
│   └── generate_castle.py      # Python generator script
└── README.md                    # This file

🚀 Installation Instructions

Option 1: Using SideQuest (Recommended)

  1. Download the GLB file from output/castle_grayskull.glb

  2. Install SideQuest on your computer:

  3. Enable Developer Mode on your Meta Quest:

    • Open the Meta Quest mobile app
    • Go to Menu > Devices > Select your headset
    • Go to Headset Settings > Developer Mode > Turn ON
  4. Connect your Quest to your computer via USB-C

  5. Transfer the file:

    • In SideQuest, use the file browser
    • Navigate to a suitable location (e.g., /sdcard/Download/)
    • Upload castle_grayskull.glb
  6. Load the environment:

    • Use apps like Moon VR Home or Custom Home Mapper
    • Import the castle_grayskull.glb file
    • Set as your home environment

Option 2: Using ADB (Advanced)

# Install ADB tools if not already installed
# Then transfer the file:
adb push castle_grayskull.glb /sdcard/Download/

# Use a custom home loader app to import the environment

Option 3: Enterprise/MDM Deployment

For managed deployments using ArborXR or ManageXR:

  1. Upload castle_grayskull.glb to your MDM platform
  2. Deploy to: Android/obb/app.xrdm.launcher
  3. Set as default home environment in your device configuration

🎨 Environment Details

Architecture

  • Ground Platform: 60x60 unit landing area
  • Main Structure: Central skull facade with flanking walls
  • Towers: Two corner towers with glowing purple windows
  • Entrance: Skull jaw entrance with detailed teeth
  • Lighting: Green glowing eyes and purple mystical energy crystals

Color Palette

  • Stone: Gray/dark stone (RGB: 102, 102, 115)
  • Mystical Green: Glowing eyes and orbs (RGB: 51, 204, 76)
  • Mystical Purple: Energy crystals (RGB: 153, 51, 204)
  • Ground: Dark greenish-gray (RGB: 64, 76, 64)

🔧 Regenerating the Environment

You can customize and regenerate the environment:

# Activate the Python virtual environment
cd castle_grayskull_vr
source venv/bin/activate

# Run the generator script
python3 scripts/generate_castle.py

# The new castle_grayskull.glb will be in output/

Customization Ideas

Edit scripts/generate_castle.py to customize:

  • Colors: Modify the color values in __init__
  • Scale: Adjust dimensions in the create_* methods
  • Elements: Add more towers, walls, or mystical elements
  • Lighting: Change glow colors or add more light sources

🛠️ Technical Specifications

  • Format: glTF 2.0 Binary (.glb)
  • Vertices: 1,604
  • Faces: 3,060
  • File Size: ~200-300 KB
  • Platform: Meta Quest 1, 2, 3, Pro
  • Performance: Optimized for real-time VR rendering

📚 Recommended Apps

To use custom home environments, install one of these via SideQuest:

  1. Moon VR Home - User-friendly, large library
  2. Custom Home Mapper - Advanced customization options
  3. VR Environment Loader - Lightweight option

🎯 Troubleshooting

File won't load

  • Ensure the file is in .glb format (not .gltf)
  • Check file size (should be under 50 MB)
  • Verify you're using a compatible home loader app

Textures look wrong

  • The environment uses vertex colors (no external textures needed)
  • Ensure your loader app supports vertex coloring

Performance issues

  • The environment is optimized with low poly count
  • If issues persist, try reducing subdivision levels in the generator script

🤝 Credits

Generated with Python using:

  • trimesh - 3D geometry processing
  • pygltflib - glTF format handling
  • numpy - Mathematical operations

Inspired by the classic He-Man and the Masters of the Universe franchise.

📜 License

This is a fan creation inspired by Castle Grayskull from He-Man. All rights to the original design belong to Mattel and the respective trademark holders.


🏰 BY THE POWER OF GRAYSKULL! 🏰

Enjoy your new VR home in the most iconic fortress in the universe!

About

Castle Grayskull VR Home Environment for Meta Quest - He-Man inspired custom home

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages