Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MeshcatVisualizer doesn't obey IllustrationProperties ("phong", "diffuse_map") #19076

Open
Tracked by #18844
SeanCurtis-TRI opened this issue Mar 28, 2023 · 5 comments
Open
Tracked by #18844
Assignees
Labels
component: geometry illustration What and how geometry gets communicated to external visualizers priority: medium type: bug

Comments

@SeanCurtis-TRI
Copy link
Contributor

What happened?

When specifying a texture for an object via ("phong", "diffuse_map") the texture does not get applied to the model in Meshcat. It should.

Version

No response

What operating system are you using?

No response

What installation option are you using?

No response

Relevant log output

No response

@SeanCurtis-TRI SeanCurtis-TRI added type: bug component: geometry illustration What and how geometry gets communicated to external visualizers labels Mar 28, 2023
@SeanCurtis-TRI SeanCurtis-TRI self-assigned this Mar 28, 2023
@SeanCurtis-TRI
Copy link
Contributor Author

Duplicated and elaborated by #19077.

@jwnimmer-tri
Copy link
Collaborator

This one was about Meshcat. (The actual 3js scene.)

That one was about Meldis. (We're failing to even transmit the data.)

@SeanCurtis-TRI
Copy link
Contributor Author

A fair point. Both of these, ultimately, are transmission errors. In this case, the texture information simply doesn't get transmitted from Meshcat/MeshcatVisualizer. meldis is lacking input via LCM messages. MeshcatVisualizer has the data, but doesn't send it.

@SeanCurtis-TRI
Copy link
Contributor Author

BTW When it works it looks like this:

MESHCAT:
image

The corresponding RenderEngineVtk
image

The basic scaffolding (but incomplete) can be found in this branch.

@SeanCurtis-TRI
Copy link
Contributor Author

Note: These images exhibit the issue raised in #20495. The sphere and ellipsoid have been massaged so that they match. At first glance, the boxes may look the same, but they're not. There is no simple operation (like that used on the sphere/ellipsoid) that can be employed on the other shapes to achieve the same end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: geometry illustration What and how geometry gets communicated to external visualizers priority: medium type: bug
Projects
None yet
Development

No branches or pull requests

2 participants