Replies: 2 comments 5 replies
-
Hi, I have found a dirty solution for this so that I can get texture as image.
Now, after getting the symbol, I'm getting image out of it like this
I'm using this image to show on DOM like this.
This is a dirty solution what I'm using right now but it's working fine. Setting texture image is quite nice but there is no simple way to get the texture image. Dated:1st July,2020 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to get texture as blob from viewer. I know that we can set a new texture source to a specific material by this command.
material.occlusionTexture.texture.source.setURI("path/to/texture.png");
and it's working, like to change texture on a material.
But how can I access texture as blob/base64/img ? (on load)
Because it's not documented anywhere.
I can access
material.occlusionTexture.texture
and
material.occlusionTexture.texture.source
But how I can make manipulation to get texture and show as image
Beta Was this translation helpful? Give feedback.
All reactions