halo durch media ersetzt.

Die unteren Fenster leuchten noch nicht, keine Ahnung, wieso.
This commit is contained in:
hjp 2008-02-10 08:53:26 +00:00
parent 097c3a1f91
commit 6bcecb0c79
2 changed files with 48 additions and 29 deletions

View File

@ -91,6 +91,9 @@ difference {
texture {
_T_FENSTER
}
interior {
_I_FENSTER
}
}
} // end difference
@ -954,6 +957,7 @@ sphere {
< 0, 0, 0 >, 1
hollow
texture { _T_GSK }
interior { _I_GSK }
scale < 1, 0.5, 1 >
scale 4
rotate < 90-wbk, 0, 0 >

View File

@ -213,37 +213,45 @@ finish {
ambient 0.05
diffuse 0.1
reflection 0.2
refraction 1
ior 1.5
phong 0.3
phong_size 60
} // end finish
#ifdef (_NO_F_LIGHT)
#declare _T_FENSTER =
texture {
pigment {colour rgbft <0.4, 0.4, 0.4, 0.7, 0.3> }
finish { _T_F_finish }
} // end text
#declare _I_FENSTER =
interior {
ior 1.5
}
#else
#declare _T_FENSTER =
texture {
pigment {colour rgbft <0.4, 0.4, 0.4, 0.7, 1.0>}
finish { _T_F_finish }
// replace_halo_with_media // halo {
// replace_halo_with_media // emitting
// replace_halo_with_media // constant
// replace_halo_with_media // max_value 1
// replace_halo_with_media // spherical_mapping
// replace_halo_with_media // colour_map {
// replace_halo_with_media // [0 color rgbt <1.0, 1.0, 1.0, 0>]
// replace_halo_with_media // [1 color rgbt <0.9, 1.0, 0.8, -1>]
// replace_halo_with_media // }
// replace_halo_with_media // // turbulence 0.5
// replace_halo_with_media // scale _FENSTER_R
// replace_halo_with_media // samples 10
// replace_halo_with_media // } // end halo
} // end text
#declare _I_FENSTER =
interior {
ior 1.5
media {
emission 0.2
density {
spherical
colour_map {
[0 color rgbt <1.0, 1.0, 1.0, 0>]
[1 color rgbt <0.9, 1.0, 0.8, -1>]
}
}
scale _FENSTER_R
}
}
#end
//---------------------------------------------------
@ -256,33 +264,40 @@ texture {
ambient 0.00
diffuse 0.2
reflection 0.1
refraction 1
ior 1.5
phong 0.3
phong_size 60
} // end finish
} // end text
#declare _I_K_int =
interior {
ior 1.5
media {
emission 0.2
density {
spherical
colour_map {
[0 color rgbt <1.0, 0.0, 0.0, 0.6>]
[0.2 color rgbt <1.0, 0.2, 0.1, 0.4>]
[1 color rgbt <1.0, 0.4, 0.2, 0.0>]
}
}
}
}
#ifdef (_NO_K_LIGHT)
#declare _T_GSK =
texture { _T_K_text
} // end text
#declare _I_GSK =
interior { }
#else
#declare _T_GSK =
texture { _T_K_text
// replace_halo_with_media // halo {
// replace_halo_with_media // emitting
// replace_halo_with_media // cubic
// replace_halo_with_media // max_value 1
// replace_halo_with_media // spherical_mapping
// replace_halo_with_media // colour_map {
// replace_halo_with_media // [0 color rgbt <1.0, 0.0, 0.0, 0.6>]
// replace_halo_with_media // [0.2 color rgbt <1.0, 0.2, 0.1, 0.4>]
// replace_halo_with_media // [1 color rgbt <1.0, 0.4, 0.2, 0.0>]
// replace_halo_with_media // }
// replace_halo_with_media // samples 10
// replace_halo_with_media // } // end halo
} // end text
#declare _I_GSK =
interior { _I_K_int }
#end
//---------------------------------------------------