- What's that? - Basics
> Skyboxes with POV-Ray
- Skybox Gallery
A SkyboxViewer for
How to make Skybox images for the SkyboxViewer
There are two ways to make this.
Method 1: Using batch files + SkyboxCamera.inc
Her we use two batch files which should be placed in the same directory as your POV-Ray scene file:
RenderSkybox6sides.bat and RenderSkyboxStart.bat.
To edit such files open their directory in the Windows Explorer and right click on the name and choose from the popup menu "edit".
To run such file just double click on the name in the Windows Explorer.
Now at first and only once:|
Your PovRay installation path must be placed here... /
Bitte setzen Sie hier den PovRay-Installationpfad...
You'll find it by right clicking on your POV-Ray program icon,
i.e. for POV-Ray 3.6:
Then each time you want to render a new skybox set:
Choose image resolution + set filename
Now for start rendering: run RenderSkyboxStart.bat (double click the name !)
After this the 6 skybox images will be rendered and saved in the same directory as your POV-Ray scene file: "Skyboxes".
Method 2 : Using SkyboxSerie.ini + SkyboxCamera.inc
Here we use the file SkyboxSerie.ini to start the rendering of the 6 images.
This file should be placed in the same directory as your POV-Ray scene file.
Open SkyboxSerie.ini, insert the actual scene file name in the following line:
Other possible manipulations:
Changes of gamma to add more(>2.2)
or less(>2.2) contrast to the images.
For png output with 24 bit colors write: +FN24
Run this ini file right from your POV-Ray editor!
This produces 6 image files with the names with appended numbers 0 to 5. in your standard POV-Ray output file directory set by Output_File_Name="C:\Users\..."
Now we have to rename the images according the following sequenze (be carfully! Don't mix them up!). With the images from i.e. MyScene1.pov:
MyScene10.bmp --> MyScene1_front.bmp
MyScene11.bmp --> MyScene1_right.bmp
MyScene12.bmp --> MyScene1_back.bmp
MyScene13.bmp --> MyScene1_left.bmp
MyScene14.bmp --> MyScene1_top.bmp
MyScene15.bmp --> MyScene1_base.bmp
At least we have to move these images to our subdirectory 'Skyboxes'
and we can start the SkyboxViewer now.
|© Friedrich A. Lohmüller, 2015
Thanks for your visit!