Sky texturing
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Sky texturing
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?
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
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.
_ 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.
=>;-D Penguin Powered
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Re: Sky texturing
Hehe, I`ve got a huge amount of perfect space sky textures ![Razz :P](./images/smilies/icon_razz.gif)
I`ll post a link here tomorrow. What soft are you using to transform them to polar coordinates?
![Razz :P](./images/smilies/icon_razz.gif)
I`ll post a link here tomorrow. What soft are you using to transform them to polar coordinates?
Who is online
Users browsing this forum: No registered users and 4 guests