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

Set Z-offset for TextBuffer #116

Closed
sbliven opened this issue May 11, 2016 · 3 comments
Closed

Set Z-offset for TextBuffer #116

sbliven opened this issue May 11, 2016 · 3 comments
Assignees
Milestone

Comments

@sbliven
Copy link
Contributor

sbliven commented May 11, 2016

It would be nice to be able to offset a TextBuffer towards the camera. I would like to label some SphereBuffers while making sure that the label always falls in front of the labelled object.

@arose arose added this to the 0.8 milestone May 11, 2016
@arose arose self-assigned this May 11, 2016
@arose
Copy link
Collaborator

arose commented May 14, 2016

Added parameters xOffset, yOffset, zOffset for LabelRepresentation and TextBuffer, see b71040a. They move the label in screen space.

screenshot 72

@yqshao
Copy link

yqshao commented Dec 23, 2017

It seems that label offsets behave differently in perspective and orthorgonal cameras.
In perspective camera, it moves the labels with respect to the camera,
but in orthorgonal camera, it moves the labels in the real space. (tested in the webapp)

@arose
Copy link
Collaborator

arose commented Jan 21, 2018

@yqshao can you try again with the ts2 branch, was fixed in 7a7d030

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

3 participants