Skip to content

Improve compatibility and generation - #96

Merged
HeDo88TH merged 3 commits into
masterfrom
improve-compatibility
Jul 16, 2026
Merged

HeDo88TH merged 3 commits into
masterfrom
improve-compatibility

Conversation

@HeDo88TH

@HeDo88TH HeDo88TH commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

This PR addresses #93 #84

@HeDo88TH HeDo88TH self-assigned this Jul 9, 2026
Copilot AI review requested due to automatic review settings July 9, 2026 09:22
@HeDo88TH HeDo88TH added bug Something isn't working enhancement New feature or request labels Jul 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves 3D Tiles renderer compatibility and dataset generation behavior by (1) optionally generating renderable root-tile content (to avoid “empty root” tilesets that some renderers won’t traverse) and (2) making the root geometricError default scale with the model’s size instead of using a fixed constant.

Changes:

  • Generate an optional root.b3dm from a coarsest whole-model OBJ and attach it as tileset.root.content.
  • Change tileset root refinement to "REPLACE" and derive --error automatically from model bounds when unspecified (default 0).
  • Update CLI help text for --error to clarify behavior and units.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
Obj2Tiles/Stages/TilingStage.cs Adds optional root content generation and updates root tile refinement/content wiring.
Obj2Tiles/Program.cs Derives default baseError from model bounds and prepares a compressed coarsest root mesh for tiling.
Obj2Tiles/Options.cs Changes --error default to 0 and documents automatic derivation behavior.

Comment thread Obj2Tiles/Stages/TilingStage.cs Outdated
Comment thread Obj2Tiles/Program.cs Outdated
Comment thread Obj2Tiles/Stages/TilingStage.cs
@HeDo88TH
HeDo88TH merged commit f82ec36 into master Jul 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants