You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Add migration guide and update documentation for v0.4.2 (#49)
* docs: Add comprehensive migration guide
- Create docs/src/guides/migration.md with version-specific migration instructions
- Document v0.4.2 performance features and how to use them
- Include v0.4.1 breaking changes (apply_eclipse_shadowing! API)
- Add v0.4.0 unified illumination API migration
- List future deprecations planned for v0.5.0
- Add migration guide to documentation navigation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* docs: Update README for v0.4.2 release
- Reorganize Key Features section for better clarity
- Separate Geometric Properties into face and shape properties
- Clarify illumination analysis shadowing models
- Add What's New in v0.4.2 section highlighting performance improvements
- Move face properties access example earlier in Quick Start
- Replace API Migration Guide section with link to comprehensive guide
- General cleanup and improved organization
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* docs: Update ROADMAP with v0.4.2 status
- Mark v0.4.2 milestone as released
- Update PR references for completed tasks
- Clean up formatting and structure
- Reflect current development status
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* docs: Update release dates to YYYY-MM-DD format
- v0.4.0: July 2025 → 2025-07-08
- v0.4.1: July 2025 → 2025-07-10
- v0.4.2: July 21, 2025 → 2025-07-21
* docs: Reorganize ROADMAP.md for v0.5.0
- Move breaking changes into API Improvements section
- Reorder sections: Major Features → API Improvements → Performance
- Simplify performance enhancement items
- Remove redundant details for cleaner structure
---------
Co-authored-by: Claude <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+19-37Lines changed: 19 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,17 +21,26 @@ For future development plans, see our [Development Roadmap](ROADMAP.md).
21
21
## Key Features
22
22
23
23
-**Shape Model Loading**: Load 3D models in OBJ file format
24
-
-**Face Geometric Properties**: Calculate face centers, normal vectors, and areas
24
+
-**Geometric Properties**:
25
+
- Face properties: Calculate face centers, normal vectors, and areas
26
+
- Shape properties: Compute volume, equivalent radius, and maximum/minimum radii
25
27
-**Ray Intersection Detection**: High-precision ray-triangle intersection using the Möller–Trumbore algorithm with BVH (Bounding Volume Hierarchy) acceleration for efficient computation
26
28
-**Batch Ray Processing**: Process multiple rays efficiently in vectors or matrices while preserving input structure
27
29
-**Visibility Analysis**: Calculate visibility and view factors between faces
28
30
- Optimized non-BVH algorithm with candidate filtering for face-to-face visibility
29
31
- Distance-based sorting provides ~2x speedup over naive approaches
30
32
-**Illumination Analysis**: Determine face illumination states with flexible shadowing models
31
-
-**Unified API**: Single interface with configurable self-shadowing effects
32
-
-**Batch Updates**: Efficient illumination state updates for all faces
33
-
-**Binary Asteroid Support**: Mutual shadowing and eclipse detection for binary systems
34
-
-**Shape Characteristics**: Calculate volume, equivalent radius, maximum and minimum radii
33
+
- Pseudo-convex model for fast computation (only face orientation check)
34
+
- Self-shadowing model for accurate shading (considers occlusions from other faces)
35
+
- Mutual shadowing (eclipse) detection for a binary asteroid
36
+
37
+
## What's New in v0.4.2
38
+
39
+
-**Performance Optimization**: Face maximum elevation pre-computation provides ~2.5x speedup for illumination calculations with self-shadowing
40
+
-**Enhanced Eclipse Detection**: More accurate total eclipse detection for non-spherical shapes
41
+
-**Ray-Sphere Utilities**: New geometric utilities for cleaner eclipse calculations
42
+
43
+
For detailed migration instructions between versions, see the [Migration Guide](https://astroshaper.github.io/AsteroidShapeModels.jl/dev/guides/migration/).
Copy file name to clipboardExpand all lines: ROADMAP.md
+18-32Lines changed: 18 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,11 @@
2
2
3
3
This document outlines the development plans and milestones for `AsteroidShapeModels.jl`. We use [Semantic Versioning](https://semver.org/) for version numbering.
4
4
5
-
## Version 0.4.0 - BVH Integration and Optimization (Released: July 2025)
5
+
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for details on how to get involved.
6
+
7
+
Please check our [GitHub Issues](https://github.com/Astroshaper/AsteroidShapeModels.jl/issues) for current tasks and discussions.
8
+
9
+
## Version 0.4.0 - BVH Integration and Optimization (Released: 2025-07-08)
6
10
7
11
### Major Changes (Breaking Changes)
8
12
-**Full Integration of `ImplicitBVH.jl`**
@@ -26,7 +30,7 @@ This document outlines the development plans and milestones for `AsteroidShapeMo
26
30
-[x] Add comprehensive BVH usage documentation
27
31
-[x] Update examples for new APIs
28
32
29
-
## Version 0.4.1 - API Improvements (Released: July 2025)
33
+
## Version 0.4.1 - API Improvements (Released: 2025-07-10)
30
34
31
35
### Completed
32
36
-**Improved `apply_eclipse_shadowing!` API**
@@ -41,7 +45,7 @@ This document outlines the development plans and milestones for `AsteroidShapeMo
41
45
- Now correctly recovers shape2's position using `r₁₂ = -R₁₂' * t₁₂`
42
46
-[x] Fixed sun position transformation in eclipse shadowing (include rotation + translation)
43
47
44
-
## Version 0.4.2 - Performance Optimizations (Target: August 2025)
48
+
## Version 0.4.2 - Performance Optimizations (Released: 2025-07-21)
45
49
46
50
### Performance Features
47
51
-**Face Maximum Elevation Precomputation**
@@ -61,9 +65,6 @@ This document outlines the development plans and milestones for `AsteroidShapeMo
61
65
## Version 0.5.0 - Advanced Surface Modeling (Target: September 2025)
62
66
63
67
### Major Features
64
-
-**Breaking Changes**
65
-
-[ ] Remove `use_elevation_optimization` parameter from illumination APIs
66
-
-[ ] Make face maximum elevation optimization the default implementation
67
68
-**Hierarchical Surface Roughness Model**
68
69
-[ ] Support nested shape models for multi-scale surface representation
69
70
-[ ] Implement efficient traversal algorithms for nested structures
@@ -74,27 +75,25 @@ This document outlines the development plans and milestones for `AsteroidShapeMo
74
75
-[ ] Implement Fractal surface generation
75
76
-[ ] Add comprehensive test coverage for roughness features
76
77
77
-
-**Performance Enhancements**
78
-
-[ ] Add basic multi-threading support using `Threads.jl`
79
-
-[ ] Optimize critical paths for better single-threaded performance
This guide helps you migrate your code when upgrading between major versions of `AsteroidShapeModels.jl`.
4
+
5
+
## Migrating to v0.4.2
6
+
7
+
### New Performance Features
8
+
9
+
#### Face Maximum Elevation Optimization
10
+
11
+
The v0.4.2 release includes automatic performance optimizations for illumination calculations. No code changes are required to benefit from these improvements.
12
+
13
+
```julia
14
+
# Your existing code works as before, but ~2.5x faster!
0 commit comments