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

Why is tiff format used in textures of pr2_description? #226

Open
KazutoMurase opened this issue Nov 21, 2013 · 1 comment
Open

Why is tiff format used in textures of pr2_description? #226

KazutoMurase opened this issue Nov 21, 2013 · 1 comment

Comments

@KazutoMurase
Copy link

We want to use pr2_description for web applications, but some kinds of web browser (ex. google chrome, firefox) cannot load tiff format. So textures cannot be displayed in WebGL screen. (We use ros3djs in RobotWebTools).
Therefore we suggest that png format (which is compatible with web browser) should be used instead.

I wish to get some opinions.

@ahendrix
Copy link
Member

I'm not sure why tiff is used as the image format for textures. I think it would be good to keep the tiff textures around to maintain compatibility with packages that use them.

I have two suggestions on how you can proceed:

  1. Add a build step to pr2_description the converts the tiff textures to png and install them alongside the existing tiff textures. If you submit this as a pull request, it can benefit the rest of the community as well.
  2. Set up your web server to do the tiff to png conversion on the fly whenever a browser requests a texture.

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

No branches or pull requests

2 participants