-
Notifications
You must be signed in to change notification settings - Fork 138
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
Is there a way we could render an image at a certain point view? #238
Comments
Hi @Deaddawn , Do you mean you want to download a PNG image of the current view or something else? Downloading a png of the viewport would be easy to implement, though I guess we'd want to hide the grid/bounding box/selections etc. Thanks |
Yes, would that be possible to tell us how to do this? |
I will add that today 👍🏻 (but without automatically hiding bits). |
Thanks a lot! Does "hiding bits" means I can't hide grid or selections? If so, it will be a little inconvenience 😂 Is it possible that i can get a pure png without any grid under the condition i manually close it from interface |
Yes you'll just have to hide the grid yourself before taking the screenshot for now, that's all. Otherwise we must add options to the UI to 'include grid in screenshot' etc, which I'd rather not do right now. |
Btw the png will have transparent background, is that ok? |
Understand, thanks. |
white bg would be lovely if possible 😂 |
God speed! Master Jedi |
Sry to ask, I didn't find the screen shot button in the live version, should I run this locally? @slimbuck |
Yes code is merged, but is still to be published on playcanvas.com. That'll happen today or tomorrow most likely. Use local version if you need it now. |
I understand that background can not be adjusted in the current verson, would that be possible if you can tell me the code where i can just change the background into white. Thanks in advance. @slimbuck |
We will add background color picker real soon. Till then change this constant to 255: https://github.com/playcanvas/supersplat/blob/main/src/editor.ts#L554 |
No description provided.
The text was updated successfully, but these errors were encountered: