Professional astronomical visualization tools for Blender 4.4+
π Stellar Field Generation - Create realistic star fields with proper stellar classification πΊοΈ Coordinate Systems - ICRS, Galactic, Ecliptic transformations with accurate astronomical positioning π Catalog Integration - Gaia, Hipparcos, Messier catalogs with real astronomical data π¬ Animation Tools - Orbital mechanics, proper motion, and time-based astronomical phenomena π¨ Custom Node Groups - Geometry nodes, shader nodes, and compositing nodes for astronomical rendering π« Galaxy Morphology - Realistic galaxy visualization with proper structure and classification π Cosmic Web Simulation - Large-scale structure simulation with filaments and voids π¬ Scientific Materials - Physically-based materials for astronomical objects
- Download the latest release from GitHub Releases
- In Blender: Edit β Preferences β Get Extensions
- Click the Install from Disk button (top-right)
- Select the downloaded
.zipfile - Enable Astronomical Blender Extension in the extensions list
- Clone or download this repository
- Run the build script:
# Linux/macOS ./build.sh # Windows build.bat
- Install the generated
.zipfile in Blender (see Method 1, steps 2-5)
Once installed, access the Astronomical tools from the 3D Viewport sidebar:
- Press
Nto open the sidebar - Navigate to the Astronomical tab
- Choose from available operators:
- Create Stellar Field - Generate realistic star fields
- Add Galaxy - Create galaxy structures
- Setup Cosmic Web - Generate large-scale structure
- Import Catalog - Load real astronomical data
import bpy
from astronomical import (
setup_scene,
setup_camera,
setup_lighting,
render_astronomical_scene,
get_stellar_data,
create_sample_stellar_data
)
# Setup astronomical scene
setup_scene(bpy.context.scene)
setup_camera(bpy.context.scene)
setup_lighting(bpy.context.scene)
# Create stellar field with classification
stellar_data = create_sample_stellar_data(num_stars=1000)
bpy.ops.astronomical.create_stellar_field(count=1000)
# Render the scene
render_astronomical_scene(bpy.context.scene, output_path="/tmp/astronomy.png")Create realistic star fields with proper stellar classification and HR diagram positioning:
# Create stellar field with spectral types
bpy.ops.astronomical.create_stellar_field(
count=5000,
distribution='realistic', # Based on HR diagram
magnitude_range=(0, 15) # Apparent magnitude range
)Features:
- Spectral classification (O, B, A, F, G, K, M types)
- HR diagram-based distribution
- Realistic color temperature and luminosity
- Proper motion animation support
Visualize different galaxy types with scientifically accurate structures:
# Create elliptical galaxy
bpy.ops.astronomical.add_galaxy(
galaxy_type='elliptical',
bulge_size=2.0,
disk_size=0.0
)
# Create spiral galaxy with arms
bpy.ops.astronomical.add_galaxy(
galaxy_type='spiral',
num_arms=2,
arm_width=0.5,
rotation=45.0
)Galaxy Types:
- Elliptical (E0-E7)
- Spiral (Sa, Sb, Sc)
- Barred Spiral (SBa, SBb, SBc)
- Irregular (Irr)
Generate large-scale structure with filaments and voids:
# Setup cosmic web simulation
bpy.ops.astronomical.setup_cosmic_web(
grid_size=100,
filament_density=0.3,
void_probability=0.2
)Features:
- Filamentary structure generation
- Void region simulation
- Galaxy cluster positioning
- Matter density visualization
Work with multiple astronomical coordinate systems:
from astronomical.utilities.astronomical_data import (
transform_coordinates,
COORDINATE_SYSTEMS
)
# Transform from ICRS to Galactic coordinates
galactic_coords = transform_coordinates(
ra=123.45, dec=67.89,
from_system='icrs',
to_system='galactic'
)Supported Systems:
- ICRS (International Celestial Reference System)
- Galactic (Galactic coordinates)
- Ecliptic (Ecliptic coordinates)
πΈ Screenshots coming soon - Beautiful astronomical visualizations!
Note: High-quality screenshots and demo renders will be added soon. Track progress in GitHub Issues.
- Blender: 4.4.0 or higher
- Python: 3.11+ (bundled with Blender)
- Platforms: Windows, macOS, Linux (x64 and ARM64)
For advanced features, the extension can use:
- NumPy: Numerical computations (bundled with Blender)
- AstroPy: Astronomical calculations (vendored)
- SciPy: Scientific algorithms (optional)
| Blender Version | Status | Notes |
|---|---|---|
| 4.4.x | β Full Support | Recommended version |
| 4.5.x | β Full Support | Latest features |
| 4.3.x | Some features unavailable | |
| 4.2.x or older | β Not Supported | Use legacy addon version |
The extension includes custom node groups for advanced astronomical rendering:
- Stellar Point Cloud - Generate point-based star fields
- Galaxy Spiral Arms - Procedural spiral galaxy generation
- Cosmic Web Filaments - Large-scale structure filaments
- Star Surface Shader - Realistic stellar surface materials
- Nebula Volume - Volumetric nebula rendering
- Galaxy Disk Material - Galaxy disk with dust lanes
- Star Diffraction - Diffraction spike generation
- Atmospheric Scattering - Atmospheric effects for Earth views
- Light Pollution - Urban light pollution simulation
# Clone repository
git clone https://github.com/bjoernbethge/astronomical.git
cd astronomical
# Build extension package
./build.sh # Linux/macOS
# or
build.bat # Windows
# The output will be in the root directory: astronomical_blender_extension-2.0.0.zipastronomical/
βββ __init__.py # Main extension entry point
βββ blender_manifest.toml # Extension metadata (Blender 4.4+)
βββ core/ # Core functionality
β βββ camera.py # Camera setup and positioning
β βββ lighting.py # Lighting systems
β βββ rendering.py # Render configuration
β βββ scene.py # Scene setup utilities
βββ nodes/ # Custom node groups
β βββ geometry/ # Geometry nodes
β βββ shader/ # Shader nodes
β βββ compositing/ # Compositing nodes
βββ operators/ # Blender operators
β βββ stellar_field.py # Stellar field generation
β βββ galaxy.py # Galaxy creation
β βββ cosmic_web.py # Cosmic web simulation
βββ utilities/ # Utility modules
βββ astronomical_data.py # Astronomical data and constants
βββ transforms.py # Coordinate transformations
The extension includes a test suite:
# Run tests (requires Blender Python)
blender --background --python-console
>>> import astronomical
>>> astronomical.test()Contributions are welcome! Please follow these guidelines:
- Code Style: Follow PEP 8 and Blender addon conventions
- Modularity: Keep functions small and focused (DRY principle)
- Documentation: Document all public functions and classes
- Testing: Add tests for new features
- Pull Requests: Create feature branches and submit PRs
See CONTRIBUTING.md for detailed guidelines.
- Research paper illustrations
- Educational materials
- Planetarium content
- Documentary visualizations
- Science fiction environments
- Space-themed artworks
- Procedural starscapes
- Cosmic landscapes
- Astronomical survey data
- N-body simulation results
- Observational data from telescopes
- Statistical distributions in 3D
- Real-time catalog data import from online databases
- Advanced animation tools for orbital mechanics
- Integration with external astronomical software
- VR support for immersive space exploration
- Machine learning-based galaxy generation
- Enhanced nebula rendering with spectral data
Track feature requests and vote on priorities in GitHub Issues.
GPL-3.0-or-later - see LICENSE for details.
This extension is free and open-source software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
Built with:
- Blender - 3D creation suite (4.4+)
- AstroPy - Astronomical calculations (vendored)
- NumPy - Numerical computations (bundled)
Special thanks to the astronomical visualization community and contributors.
Project:
- GitHub Repository - Source code and issues
- Report Issues - Bug reports and feature requests
- Releases - Download latest version
Documentation & Resources:
- Blender Documentation - Official Blender docs
- Blender 4.4 Release Notes - What's new in Blender 4.4
- Blender Python API - bpy API reference
- AstroPy Documentation - Astronomical calculations
Astronomical Data Sources:
- Gaia Archive - European Space Agency star catalog
- SDSS - Sloan Digital Sky Survey
- NASA Exoplanet Archive - Exoplanet data
- Messier Catalog - Deep sky objects
Astronomical - Professional astronomical visualization for Blender πβ¨