Anyone figured out the perfect camzoom for skyboxi
Blitz3D Forums/Blitz3D Programming/Anyone figured out the perfect camzoom for skyboxi
| ||
Im trying to add skybox creation output to ted and want to know if anyone has a camerazoom ratio for a perfect -45' to 45' (LR&UD) view when using a square camera ratio? I could do it with mucho trial and error but was wondering if anyone had the maths to figure it out. |
| ||
1? (Haven't used Blitz3D for years but the wide angle is what causes the warping people complain of sometimes). I'm sure I've seen a bit of code in the code archives for calculating what CameraZoom to use given X FOV - so you should probably have a look around for that. |
| ||
Yep, camerazoom of 1 is the way to go :o) Check out the cubemapping exmaple in the docs, for setcubeface. It simply creates a camera, and uses it as it is. |
| ||
[edit] I agree. <what I said didnt make much sense.> |
| ||
Yes, CameraZoom camera, 1.0 gives you a 90 degree field of view which should be perfect for rendering skyboxes. |