Commit Graph
6 Commits
Author SHA1 Message Date
Cedar Connor 2ee7b64ae1 Add five new nodes: cubemap conversion, mirror/flip, resize, presets, and face extraction
New nodes:
- Cubemap (3x2) → Equirectangular: Convert cubemap atlases back to equirectangular
- Equirectangular Mirror/Flip: Horizontal/vertical flip with proper spherical wrapping
- Equirectangular Resize: Smart resize with 2:1 aspect ratio preservation
- Equirectangular Rotate (Preset): Quick preset rotations (front, back, left, right, up, down)
- Cubemap Faces Extract: Export all 6 cube faces as separate images

Improvements:
- Enhanced tooltips for better user guidance across all new nodes
- Updated README with comprehensive documentation of new features
- Added processing methods to EquirectangularProcessor module

Technical details:
- Cubemap-to-equirectangular uses face sampling with bilinear interpolation
- Mirror/flip operations use numpy flip operations for efficiency
- Resize maintains standard 2:1 equirectangular aspect ratio by default
- Preset rotations map to common viewing angles with offset adjustments
- All nodes support batch processing and multiple interpolation methods
2025-09-29 21:27:38 -07:00
ComfyUI Bot d3b6d4815f All-in-One: embed controls + tooltips; docs refresh
- Embed rotation/crop/interp controls in Equirectangular Processor node (optional inputs, defaults)
- Add node/param tooltips and node descriptions across all nodes
- Rewrite README with updated usage, node overview, and installation notes
- Include tests/run_node_smoke_tests.py for local sanity checks
2025-08-12 20:00:29 -07:00
Cedar ConnorandClaude bc1ea1ef89 Add square crop option and change default pitch to -65 degrees
- Add crop_to_square function that crops width to match original image height
- Create dedicated EquirectangularCropSquare node for square cropping
- Add crop_to_square option to combined processor node
- Change default pitch rotation from 0° to -65° across all nodes
- Square crop takes precedence over 180° crop when both are enabled
- Perfect for creating square images at original height resolution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 11:30:29 -07:00
Cedar ConnorandClaude cf9cab6102 Add high-quality filtering options to equirectangular nodes
- Implement multiple interpolation methods: nearest, bilinear, bicubic, lanczos
- Add interpolation parameter to all three node types with dropdown selection
- Use scipy map_coordinates with spline interpolation for rotation transforms
- Use OpenCV LANCZOS4 for resize operations during cropping
- Set Lanczos as default for highest quality filtering
- Add proper longitude wrapping mode for equirectangular projection
- Improve image quality significantly during transformations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 11:25:35 -07:00
Cedar ConnorandClaude ba19840173 Fix blown out image issue in rotation processing
- Remove uint8 conversion that was causing value clipping
- Keep images in float32 format throughout processing pipeline
- Add proper value clamping to [0,1] range after processing
- Maintain image quality during rotation and horizon adjustments

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 11:16:13 -07:00
Cedar ConnorandClaude ea1aa67936 Add ComfyUI equirectangular image processing nodes
- Implement 3D rotation (yaw/pitch/roll) for equirectangular images
- Add horizon line adjustment functionality
- Support 180-degree longitude cropping with custom output dimensions
- Include bilinear interpolation for smooth transformations
- Provide three node types: rotation-only, crop-only, and combined processor
- Add comprehensive mathematical coordinate transformations
- Support batch processing with progress indicators

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 10:55:22 -07:00