Creating skybox images using modelling tools
Posted: Fri Dec 09, 2011 6:52 am
Here's a little project I've been thinking about for some time, I've not fully worked out the process yet but this might inspire someone to experiment a little more.
The problem :
How to create a set of skybox images that would be suitable in a q3 type map. It would be nice if additional geometry could be rendered onto the skybox images.
A possible solution
My idea is to first of all, find a sky image, this can be pretty much anything, a photo of a sky or a flat colour.
Using any modelling app that has a camera create a hemisphere, flip the normals and texture the inside of the hemisphere with your sky texture.
Place the hemisphere in the center and add a camera (targetted) inside the hemisphere.
Move the camera target to the north and render what the camera sees, save the image as mysky_ft.jpg
Rotate the camera target and repeat the process for left, back, right, up and down. These 6 images could then form your sky.
Using this technique it would be relatively easy to make a whole lot of new, hi-resolution skies quickly and also, include objects in scene that will be rendered onto the sky.
As I say, I've not worked out the finer points, currently my images don't actually fit together and overlap.
The problem :
How to create a set of skybox images that would be suitable in a q3 type map. It would be nice if additional geometry could be rendered onto the skybox images.
A possible solution
My idea is to first of all, find a sky image, this can be pretty much anything, a photo of a sky or a flat colour.
Using any modelling app that has a camera create a hemisphere, flip the normals and texture the inside of the hemisphere with your sky texture.
Place the hemisphere in the center and add a camera (targetted) inside the hemisphere.
Move the camera target to the north and render what the camera sees, save the image as mysky_ft.jpg
Rotate the camera target and repeat the process for left, back, right, up and down. These 6 images could then form your sky.
Using this technique it would be relatively easy to make a whole lot of new, hi-resolution skies quickly and also, include objects in scene that will be rendered onto the sky.
As I say, I've not worked out the finer points, currently my images don't actually fit together and overlap.