Skip to main content

Overview

The 3d-asset-forge package provides AI-powered tools for generating game assets:
  • MeshyAI for 3D model generation
  • GPT-4 for design and lore generation
  • React Three Fiber for 3D preview
  • Drizzle ORM for asset database

Package Location

Features

Design Generation

Use GPT-4 to create asset concepts:
  • Character descriptions
  • Equipment designs
  • Environment elements
  • Lore and backstories

3D Model Creation

MeshyAI converts concepts to 3D models:
  • Text-to-3D generation
  • Style consistency
  • Multiple variations

Equipment Fitting

Advanced equipment positioning system for VRM avatars:
  • V2 Export Format: Relative matrix approach for accurate positioning
    • Captures position, rotation, and scale in single transform
    • Eliminates scale hacks and coordinate space conversions
    • Backward compatible with V1 format
  • Tool Support: Pickaxes, hatchets, and fishing rods
    • Tools category in equipment panel
    • Proper grip detection and orientation
  • Scale Preservation: Equipment scale correctly preserved during export
    • Compensated scale counteracts bone world scale
    • Avatar height normalized to 1.6m (matches Hyperscape)

Asset Management

Database-backed asset management:
  • PostgreSQL via Drizzle ORM
  • Asset metadata tracking
  • Generation history

3D Preview

React Three Fiber powered preview:
  • Real-time 3D viewing
  • Hand pose detection (TensorFlow)
  • VRM avatar support

Tech Stack

Configuration

Running

Development

Opens:

Production

Commands

Asset Pipeline

Output Formats

Dependencies

Integration

Generated assets can be used in the main game by placing them in packages/server/world/assets/.
Asset Forge is optional—the game works with existing assets. It’s a separate tool for creating new content.

License

MIT License