Closed vim-sroberge closed 2 months ago
This update introduces enhancements to the vim-webgl-viewer
project, including the addition of a SkyboxMaterial
class, modifications to existing material properties, and the introduction of a GizmoAxes
class for improved interactivity. Key changes involve restructuring type definitions, updating viewer settings, and refactoring code for better organization and maintainability, collectively enhancing the rendering capabilities within the 3D viewing environment.
Files | Change Summary |
---|---|
package.json |
Version updated from 2.0.2-d to 2.0.5 ; @types/three moved from devDependencies to dependencies . |
src/vim-loader/materials/*.ts |
New SkyboxMaterial class added; properties updated for improved encapsulation; changes to StandardMaterial . |
src/vim-webgl-viewer/gizmos/*.ts |
New GizmoAxes class added for visual axis representation and user interaction. |
src/main.ts |
Viewer initialization refactored for clarity; loading process streamlined. |
sequenceDiagram
participant User
participant Viewer
participant GizmoAxes
participant SkyboxMaterial
User->>Viewer: Initialize Viewer
Viewer->>GizmoAxes: Create Gizmo Axes
Viewer->>SkyboxMaterial: Setup Skybox Material
SkyboxMaterial-->>Viewer: Skybox Material Ready
Viewer-->>User: Display 3D Scene
🐇
In a world with colors bright,
New features spring with delight!
Gizmos dance, and skies are clear,
A viewer's joy, we hold so dear.
With each tweak and every change,
Our 3D dreams now feel less strange!
🌈
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
SkyboxMaterial
class for customizable skybox materials.GizmoAxes
class for interactive axis representation in the 3D viewer.Improvements
Bug Fixes
Chores