#include "colors.inc" #include "textures.inc" #include "shapes.inc" #include "bubbles.inc" global_settings { assumed_gamma 2.0 max_trace_level 15 } camera { location <4, 3, -10> up y right x*1.3333 direction z*3 look_at 0 } light_source { < 150, 150, -150> colour White } sky_sphere { pigment { gradient y color_map { [0.0 color rgb < 0.3, 0.05, 0.15>] [1.0 color rgb 1] } translate < 0,-0.1, 0> } } plane { y, 0 pigment {checker Green, White} } #declare SoapBubbleTex = texture { pigment {rgbt < 0.7, 1, 0.7, 0.9>} finish { Shiny diffuse 0.2 irid {0.3 thickness 0.5 turbulence 0.5} conserve_energy } } object { Bubbles texture {SoapBubbleTex} }