|
|
Teaching myself how to use media effectively (hopefully). Anyone know how
to get rid of those striations without bumping the media interval up
rediculous amounts? I also tried to get the light to reflect off the floor
with photons (is there a way other than photons?) but couldn't, is this
because it's atmospheric media? Is there something I'm missing or how can
I get it to work? Source code:
//+w800 +h800 Antialias=On Antialias_Threshold=0.3
// --------------------- Includes --------------------------- //
#include "finish.inc" // Some basic finishes
#include "colors.inc" // Standard Color definitions
// --------------------- Control Center --------------------- //
global_settings{
ambient_light 0
radiosity {
pretrace_start 0.08
pretrace_end 0.005
count 400
error_bound 0.1
recursion_limit 1
}
}
#default {
texture {
pigment {color rgb <0,1,0>}
finish {ambient 0 diffuse 0.6} //ambient 0.55
}
}
// --------------------- Camera ----------------------------- //
#declare cl=<12,10,6>;
#declare la=<0,-1.6395/2,0>;
camera {
up <0,1,0>
right x*image_width/image_height
location cl
look_at la
}
// --------------------- Lights ----------------------------- //
light_source {
0
color White*2
fade_distance 3
fade_power 3
}
media{
scattering { 4, .2 } //type 4
density{spherical scale 10}
intervals 30
}
sphere{0,50 pigment{Black} hollow}
/**************************************************************
* Scene *
**************************************************************/
#declare cylrad=1;
#declare cylstr=-.3;
#declare cylrot=48.5;
#declare cyllgn=7;
#declare cyltex=
texture{
pigment{Green}
}
#declare sphtex=
texture{
pigment{Red}
}
blob {
threshold 0.6
sphere { <0, 0, 0>, 4, 1 texture{sphtex}}
cylinder { <0, -cyllgn, 0>,<0, cyllgn, 0> cylrad, cylstr texture{cyltex}}
cylinder { <0, 0, -cyllgn>,<0, 0, cyllgn> cylrad, cylstr
rotate <-26.56505117708, 0, 0> texture{cyltex}
}
cylinder { <0, 0, -cyllgn>,<0, 0, cyllgn> cylrad, cylstr
rotate <-26.56505117708, -72, 0> texture{cyltex}
}
cylinder { <0, 0, -cyllgn>,<0, 0, cyllgn> cylrad, cylstr
rotate <-26.56505117708, -144, 0> texture{cyltex}
}
cylinder { <0, 0, -cyllgn>,<0, 0, cyllgn> cylrad, cylstr
rotate <-26.56505117708, -216, 0> texture{cyltex}
}
cylinder { <0, 0, -cyllgn>,<0, 0, cyllgn> cylrad, cylstr
rotate <-26.56505117708, -288, 0> texture{cyltex}
}
sturm
}
plane{y,-1.6395
pigment{
hexagon
pigment{color rgb .000001}
pigment{color rgb 1}
pigment{color rgb .5}
scale 1.5
}
finish{
reflection {.5
falloff 2
metallic .2
}
}
}
As always, suggestions/criticisms are appreciated.
Post a reply to this message
Attachments:
Download 'planeshere1.png' (190 KB)
Preview of image 'planeshere1.png'
|
|