Repository navigation
feat(saved-mesh): opt in to stored rendered family meshes - #2260
Draft
shifatrHtH wants to merge 1 commit into
Draft
shifatrHtH wants to merge 1 commit into
shifatrHtH wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Select stored rendered-family meshes in Fine Saved graphics when the caller opts in. The existing light-source check treats a filter containing a
GImposter, aGPolyMeshand an emptyGeometrysibling as a light-source branch. This change admits that shape only when decoded pointers resolve to a named type-5 render-library asset and aFacetedTopology8mesh. Type-3 light sources and groups that contain modeled geometry keep their existing behavior.The mesh stays in its stored symbol frame and uses the existing graphics placement. The reader checks binding-2 normals against the authored triangle winding and preserves the indexed facets. Existing detail and visibility checks still run. Only the opt-in path reads the four additional graph fields.
Use
SavedMeshRecovery::SharedBoundaryWithRenderedAssetsin scoped attachment, orRVT_RESEARCH_RENDERED_ASSETS=1in a research build with no explicit policy.Public evidence
The replay reads the two Autodesk 2024 fixtures by the names and checksums in autodesk-sample-projects.tsv.
@DrunkOnJava Could you review the selection and graph-budget boundary? A public Measure run with the option enabled would help check for render-library paths that the measured samples do not exercise.
Contribution hygiene
This Apache-2.0 contribution uses already-decoded fields observed on public Autodesk samples. It contains no model files, Autodesk or ODA source, decompiled implementation, NDA material, or copied Revit IFC exporter code.
Refs #2085.