|
|
Hello all,
I'd like to use a image for my sky.
sky_sphere {
pigment {
image_map
{
jpeg "sky02.jpg"
// [IMAGE_MAP_MODS...]
// interpolate Type
}
// scale .2
}
}
But it doesn't come right
Any help`?
The jpg is 1273 x 745 Pixels.
Do I have to scale it?
Thank you all!
Greetings,
Chris
#version 3.6;
#declare Photons=off;
// ==== Standard POV-Ray Includes ====
#include "colors.inc" // Standard Color definitions
#include "textures.inc" // Standard Texture definitions
#include "functions.inc" // internal functions usable in user defined functions
#include "glass.inc" // Glass
#declare Radiosity=off; // oder on
// ----------------------------------------
light_source {
<500,500,-500> // light's position
color rgb <1, 1, 1> // light's color
}
light_source {
<700,700,-500> // light's position
color rgb <1, 1, 1> // light's color
}
light_source { <450, 650, 50>
color rgb<1, 1, 1> }
// ----------------------------------------
camera {
location <70, 5, 241>
look_at <920, 260, 410>
}
#declare Radiosity=off;
// ----------------------------------------
light_source {
<500,500,-500> // light's position
color rgb <1, 1, 1> // light's color
}
sky_sphere {
pigment {
image_map
{
jpeg "sky02.jpg"
// [IMAGE_MAP_MODS...]
// interpolate Type
}
// scale .2
}
}
// ----------------------------------------
plane {
y, 0
texture {
pigment {
checker
color rgb <1.0, 0.8, 0.6>
color rgb <1.0, 0.0, 0.0>
scale 25
}
}
}
Post a reply to this message
|
|