Skip to content

Releases: hongfaqiu/cesium-wind-layer

[email protected]

29 Oct 10:49
Compare
Choose a tag to compare

Minor Changes

  • feat: add event system for wind layer

    • Add event system for data and options changes
    • Add WindLayerEventType and WindLayerEventCallback types
    • Implement addEventListener and removeEventListener methods
    • Add event dispatching for data and options updates
    • Improve texture recreation when updating wind data

[email protected]

29 Oct 10:19
Compare
Choose a tag to compare

Patch Changes

  • fix: calculate frame rate only during initialization

    • Move frame rate calculation to initialization phase
    • Use timestamp array to measure frames in the last second
    • Calculate FPS once with 120 frames sample for better accuracy
    • Store frame rate adjustment factor for consistent particle speed

[email protected]

29 Oct 09:46
Compare
Choose a tag to compare

Patch Changes

  • fix: fix default render options

[email protected]

29 Oct 09:06
Compare
Choose a tag to compare

Patch Changes

  • fix: adjust particle speed based on actual frame rate

    • Add real-time frame rate measurement to normalize particle speed
    • Update frame rate calculation every 500ms for better performance
    • Apply frame rate adjustment (60/fps) to maintain consistent particle movement speed across different devices

[email protected]

29 Oct 08:31
Compare
Choose a tag to compare

Minor Changes

  • feat: enhance wind layer visualization and data query

    • Improve particle system performance and coverage

      • Fix particle distribution in certain areas
      • Optimize particle generation algorithm
      • Adjust particle visibility calculation
      • Add 5% buffer to view range for smoother transitions
    • Enhance wind data query functionality

      • Refactor WindDataAtLonLat interface with clear structure
      • Add bilinear interpolation for wind data
      • Separate original and interpolated data in query results
      • Add detailed JSDoc comments for better type documentation

    BREAKING CHANGE: WindDataAtLonLat interface structure has changed. Now returns data in 'original' and 'interpolated' sub-objects.

[email protected]

27 Oct 11:48
Compare
Choose a tag to compare

Patch Changes

  • Tilting the camera angle still displays particles

[email protected]

27 Oct 10:32
Compare
Choose a tag to compare

Patch Changes

  • Color correctly represents speed

[email protected]

27 Oct 08:59
Compare
Choose a tag to compare

Patch Changes

  • fix: quickly adapt to camera changes

[email protected]

25 Oct 11:49
Compare
Choose a tag to compare

Minor Changes

  • feat: add useViewerBounds option and improve UI

    • Add useViewerBounds option to control particle generation range
    • Move layer visibility control to title bar
    • Update default line width to 10.0
    • Add base pixel size offset to prevent particles from being too small
    • Update types and documentation

[email protected]

25 Oct 09:35
Compare
Choose a tag to compare

Minor Changes

  • feat: Terrain occlusion support & add zoomTo method