Skip to content

bump to v0.1#13

Merged
JunchenLiu77 merged 2 commits intomainfrom
v0.1
Apr 29, 2025
Merged

bump to v0.1#13
JunchenLiu77 merged 2 commits intomainfrom
v0.1

Conversation

@JunchenLiu77
Copy link
Collaborator

This pull request introduces significant updates to the rendering logic and viewer state management in the nerfview library, alongside some refactoring and API changes. The most notable changes include the introduction of a new RenderTabState class to manage rendering configurations, updates to the rendering functions to accommodate this new state, and deprecation warnings for outdated APIs. Additionally, the ViewerState class has been removed, and the library version has been incremented to 0.1.0.

Rendering Logic Updates:

  • Updated rendering functions across multiple example scripts (examples/00_dummy_rendering.py, examples/01_dummy_training.py, examples/02_mesh_rendering.py, examples/03_gsplat_rendering.py, and examples/04_gsplat_training.py) to replace img_wh with RenderTabState for dynamic width and height handling. This enables better control over preview and viewer resolutions. [1] [2] [3] [4] [5] [6]

Viewer State Refactoring:

  • Removed the ViewerState class and replaced its functionality with RenderTabState. Updated references to viewer.state with viewer.render_tab_state in the rendering logic and utility functions. [1] [2] [3]

Deprecation and Backward Compatibility:

  • Added a fallback mechanism in the _renderer.py file to support older versions of the render_fn API. A warning is displayed if the old API is detected, encouraging users to update their implementations.

New Features and Utilities:

  • Introduced RenderTabState in nerfview/__init__.py and integrated it into the viewer and rendering workflows. This class centralizes rendering-related configurations.
  • Added a utility function to populate the general render tab, enhancing modularity and code clarity.

Version Increment:

  • Updated the library version from 0.0.3 to 0.1.0 in nerfview/version.py to reflect the significant changes and new features.

@JunchenLiu77 JunchenLiu77 merged commit 15b6a80 into main Apr 29, 2025
1 check passed
@JunchenLiu77 JunchenLiu77 deleted the v0.1 branch April 29, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant