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

Zoom? #6

Closed
maxvonhippel opened this issue Jan 2, 2019 · 4 comments
Closed

Zoom? #6

maxvonhippel opened this issue Jan 2, 2019 · 4 comments

Comments

@maxvonhippel
Copy link

Hi,
I'm trying to replicate the projection used by the GoPro Kolor 360 player, which looks much more "zoomed in" than the default view in DDDKit. Both DDDKit and GoPro Kolor use equirectangular projections (at least if I am reading the comments in DDDSphere.swift and the Kolor release notes correctly. I've tried messing with the radius of the sphere but I don't see an obvious difference. Do you have any suggestions? Any help would be much appreciated.
Thanks!
Max

@maxvonhippel
Copy link
Author

I'm an idiot, Kolor says it uses a rectilinear projection not an equirectangular projection ....
Well, it's a long shot, but if there's an easy way to make DDDKit use a rectilinear projection, I'd love any advice along those lines! Otherwise no worries, and thanks for sharing your code :)

@gsabran
Copy link
Owner

gsabran commented Jan 2, 2019

Hi! I'm not sure what you're looking for exactly. Could you share some screenshots of what you're seeing and what you're looking for?

You can increase the z value of the position here:

videoNode.position = Vec3(v: (0, 0, -30))

Also when running the example project and changing code from the library, I think you've to clear the build cache before running again for your changes in the library to be compiled.

@maxvonhippel
Copy link
Author

Awesome, thank you! That worked perfectly. I set the position to v: (0, 0, -10), did command-option-shift-k to clear the cache, command-b to build, then ran the app, and it was exactly what I wanted it to be. Thank you very much for your help!

@gsabran
Copy link
Owner

gsabran commented Jan 3, 2019

Sure thing. Lmk if you've other comment or feedbacks!

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