Page 1 of 1

Sky texturing

Posted: Mon Oct 20, 2008 11:35 am
by Balthazar
I`m trying to create new set of sky textures. As far as I know, they should be converted to polar coordinates. Maybe there are some values that I should know about?

Posted: Mon Oct 20, 2008 5:27 pm
by zuzuf
you only needs to know how the coordinates are used:
_ the X coordinate of your texture corresponds to the angle around the Y axis (vertical axis), and the Y coordinate corresponds to the angle around the Z axis.

_ when computing the transformation to get UV coordinates for texture mapping we apply rotation around Z first then rotation around Y

_ mapping is done so that the top of the texture is the top of the sky and the bottom of the texture the bottom of the sky sphere.

Posted: Mon Oct 20, 2008 6:15 pm
by Balthazar
Clear, thanks. I`ll try to create 1024x1024 textures, since they look much better than the current ones.

Re: Sky texturing

Posted: Fri Aug 14, 2009 6:43 am
by Balthazar
Hehe, I`ve got a huge amount of perfect space sky textures :P
I`ll post a link here tomorrow. What soft are you using to transform them to polar coordinates?

Re: Sky texturing

Posted: Fri Aug 14, 2009 7:41 am
by zuzuf

Re: Sky texturing

Posted: Sat Aug 15, 2009 8:19 am
by Balthazar

Re: Sky texturing

Posted: Sat Aug 15, 2009 8:30 am
by zuzuf
I'll try them tomorrow when I am back home ;)