|
 |
I'm taking a stab at reproducing Bruno Cabbason's "Extreme optics," but
as far as I can tell, he has not published his source code.
Does anyone know how to get rid of that dark band across the spectrum
above the light source? It is not an object casting a shadow; it is the
light source itself that is creating the shadow. There is no such
shadow in Bruno's render.
---%<-----%<-----%<-----%<---[BEGIN CODE]---%<-----%<-----%<-----%<---
#version 3.7;
global_settings
{ assumed_gamma 1
max_trace_level 50
photons { spacing 0.02 media 200 autostop 0 }
}
#declare HALFH = 12.5;
#declare HALFW = HALFH * 16/9;
#declare DCAM = 60;
camera
{ location vrotate (-DCAM * z, -6 * x)
look_at <0, -0.5, 0>
right 16/9 * x
angle 2 * degrees (atan2 (HALFW, DCAM))
}
box
{ <-HALFW - 1, -HALFH - 1, -6.01>, <HALFW + 1, HALFH, 0.01>
hollow
pigment { rgbt 1 }
interior
{ media
{ scattering { 1, 1 extinction 0 }
method 3
intervals 1
samples 3, 3
aa_level 2
}
}
}
light_source
{ <0, -HALFH - 0.99, -3>, rgb 1
cylinder radius 0.3 falloff 0.3
parallel point_at <0, 0, -3>
}
#declare m_Refractor = material
{ texture
{ pigment { rgbf 1 }
finish { reflection { 1 fresnel } conserve_energy }
}
interior { ior 1.5 dispersion 1.1 dispersion_samples 36 }
}
#declare m_Reflector = material
{ texture
{ pigment { rgb <0.93, 0.94, 0.95> }
finish { reflection { 1 metallic } ambient 0 diffuse 0 }
}
}
#declare Prism = prism
{ 0, 6, 4,
<-1, 0>, <1, 1>, <1, -1>, <-1, 0>
rotate -90 * x
scale <1.5, 1.5, 1>
material { m_Refractor }
photons { target collect off reflection on refraction on }
}
#declare Mirror = difference
{ box
{ <-0.6, -3.2, -6>, <0.01, 3.2, 0>
pigment { rgb <1, 1, 0> }
}
box
{ <0, -3, -5.8>, <0.1, 3, -0.2>
material { m_Reflector }
}
photons { target collect off reflection on }
}
object { Prism translate <0, -10, 0> }
object { Mirror rotate 192 * z translate <3, -5, 0> }
--->%----->%----->%----->%----[END CODE]---->%----->%----->%----->%---
Post a reply to this message
Attachments:
Download 'extreme_optics-media.jpg' (22 KB)
Preview of image 'extreme_optics-media.jpg'

|
 |