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

[WebGLVis] Rec-Preview-Image ratio #58

Open
PeterHasitschka opened this issue Apr 1, 2016 · 1 comment
Open

[WebGLVis] Rec-Preview-Image ratio #58

PeterHasitschka opened this issue Apr 1, 2016 · 1 comment
Assignees

Comments

@PeterHasitschka
Copy link
Contributor

Images with different height and width are shown distorted.
2042f6ee-bebc-11e5-8837-097260f17f90

@PeterHasitschka
Copy link
Contributor Author

Best solution would be, if a proxy server could be used for

  • cropping images to a square
  • acting as a CORS-Server allowing Cross-Reference-Call (Providing Access-Control-Allow-Origin: * in its header)

Client side solutions are not so easy in Three.js
Would need to paint image source on a canvas with some offsets etc. followed by creating a Texture from it.

@gerwald do you see possibilities to set up such a service somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant