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

Gaussian Splats show upside-down in viewport #4

Closed
carlosnavarro-cn opened this issue Sep 14, 2023 · 5 comments
Closed

Gaussian Splats show upside-down in viewport #4

carlosnavarro-cn opened this issue Sep 14, 2023 · 5 comments

Comments

@carlosnavarro-cn
Copy link

carlosnavarro-cn commented Sep 14, 2023

Although the splats look correct in the game mode, they show upside-down in the viewport. Rotating or scaling by -1 the object doesn't seem to work. Any idea to visualize it in the viewport correctly?

@aras-p
Copy link
Owner

aras-p commented Sep 14, 2023

Most (all?) of gaussian splats data sets I've seen have convention that Y axis is "down" which does not match the Unity's "Y axis is up" convention. You can always just change your scene view camera to be upside down.

And yes, I should at some point look at making the Transform of the GS object actually do anything (it is completely ignored currently). Someday.

I'm gonna close this issue -- this whole project is just my own personal toy box at this moment. It's not production ready, do not use it, do not request features (yet)!

@aras-p aras-p closed this as completed Sep 14, 2023
@carlosnavarro-cn
Copy link
Author

Good to know. Thank you for your answer!

@matthewrbrennan
Copy link

@carlosnavarro-cn I fixed it by simply flipping all my input images before running COLMAP

@carlosnavarro-cn
Copy link
Author

@matthewrbrennan, great advice! Thank you!

@aras-p
Copy link
Owner

aras-p commented Sep 15, 2023

FWIW, in the latest version the gaussian splats take object transform into account (for most scenes I found, to get to "normal" orientation you need to rotate by -160 on X axis, and have -1 in Z scale).

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

3 participants