pytti-tools / pytti-core

https://pytti-tools.github.io/pytti-book/intro.html
MIT License
81 stars 24 forks source link

360 Equirectangular Math #118

Open bridgebrain opened 2 years ago

bridgebrain commented 2 years ago

It might be possible to add a 360 warp to the camera, allowing users to create 360 images and animations. Math for this may or may not be contained here: https://omdena.com/blog/3d-object-detection/

dmarx commented 2 years ago

https://observablehq.com/@mbostock/circle-inversion

bridgebrain commented 2 years ago

Lol good timing, we're talking about it in general. Or more precisely I'm ranting about it and heuman and heumin are tolerating me :P

bridgebrain commented 2 years ago

Hmm, looks super cool, but unless I'm mis-parsing the code, the "sphere" look is an optical illusion, instead it's generating more of a toroid by taking a circle and rotating it like _\ | /_

bridgebrain commented 2 years ago

Any progress on this or integrating 3d180?

dmarx commented 2 years ago

I haven't had the bandwidth to work on pytti-tools for a few months now, sorry. the stable-diffusion API launch has just been monopolizing all my time. My next priority with pytti-tools is fixing resume. It's possible disco's "3D mode" has some relevant 360 code?