Skip to content

Provide texture "crawl" feature#198

Open
SeanCurtis-TRI wants to merge 1 commit into
meshcat-dev:masterfrom
SeanCurtis-TRI:PR_crawling_texture
Open

Provide texture "crawl" feature#198
SeanCurtis-TRI wants to merge 1 commit into
meshcat-dev:masterfrom
SeanCurtis-TRI:PR_crawling_texture

Conversation

@SeanCurtis-TRI
Copy link
Copy Markdown
Contributor

@SeanCurtis-TRI SeanCurtis-TRI commented May 19, 2026

This is direct support of Drake's surface velocity implementation in which the surface of an object exhibits motion independent of the body's motion.

This implementation works by assigning novel properties to the appropriate materials (to provide uniform parameters to the shader). This required deferred evaluation of set_property(). For objects loaded asynchronously, a common sequence of of set_object() and set_property() calls would cause the property to be erased. Now, the call to set_property() is saved to be applied after the object is successfully loaded.


This change is Reviewable

Copy link
Copy Markdown
Contributor Author

@SeanCurtis-TRI SeanCurtis-TRI left a comment

Choose a reason for hiding this comment

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

+a:@jwnimmer-tri for review, please.

@SeanCurtis-TRI made 1 comment.
Reviewable status: 0 of 9 files reviewed, all discussions resolved (waiting on jwnimmer-tri).

This is direct support of Drake's surface velocity implementation in which
the surface of an object exhibits motion independent of the body's motion.

This implementation works by assigning novel properties to the appropriate
materials (to provide uniform parameters to the shader). This required
*deferred* evaluation of set_property(). For objects loaded asynchronously,
a common sequence of of set_object() and set_property() calls would cause
the property to be erased. Now, the call to set_property() is saved to be
applied after the object is successfully loaded.

Add pending_properties to set_property_chain
Copy link
Copy Markdown
Contributor

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

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

Per f2f this is basically on the right track.

However, I'm going to let the other two meshcat PRs merge first (embedded images, properties queue) and they cycle back here to review just the new protocol part by itself.

@jwnimmer-tri made 1 comment.
Reviewable status: 0 of 9 files reviewed, all discussions resolved.

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.

2 participants