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

THREENode.rasterized resolution doesn't scale properly #3

Open
Denz1994 opened this issue Feb 10, 2020 · 0 comments
Open

THREENode.rasterized resolution doesn't scale properly #3

Denz1994 opened this issue Feb 10, 2020 · 0 comments
Assignees

Comments

@Denz1994
Copy link
Contributor

Found during phetsims/build-a-molecule#139:

An IconNode is created in BAM/Molecule3DDialog.js with a pattern as follows
const iconNode = ThreeNode.rasterized({resolution:2});The iconNode is then added to an aquaRadioButton. The appearance looks as though the aquaRadioButton.node is scaled-down but its scale isn't restored so the icon looks tiny.

@jonathanolson Mentioned that this may be a problem with the THREENode scaling handled in Node.rasterized(). @jonathanolson asked to be assigned to investigate.

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