|
|
Still getting errors. Here's the entire scene code:
-----------------------------
// ABX Place and orient objects along spline
http://news.povray.org/povray.general/message/%3Cttoenucoq6fcgkun57la24s9ia
4ij5o573%404ax.com%3E/#%3Cttoenucoq6fcgkun57la24s9ia4ij5o573%404ax.com%3E
#version 3.7;
#declare RAD = 4;
global_settings
{
#declare a_g = 1;
assumed_gamma a_g
max_trace_level 5
subsurface {radiosity on samples 200,200}
noise_generator 2
#if(RAD > 0)
radiosity
{
pretrace_start 0.08
pretrace_end 0.04/RAD
count 60*RAD
nearest_count min (20, RAD)
error_bound 2/RAD
low_error_factor 0.5
recursion_limit 1
gray_threshold 0
minimum_reuse 0.015
brightness 1
adc_bailout 0.005
normal on
media off
always_sample off
}
#end
}
camera
{
angle 31*image_width/image_height*0.75
location < 0, 1, -2 >
right x*image_width/image_height
look_at < 0, 0.05, 0 >
}
#declare MySeed = seed(now*24*60*60);
#declare MySegmentAmount = 0;
#while(MySegmentAmount<10)
#declare MySegmentAmount = int(rand(MySeed)*75);
#end
#declare MyHMovement = 0.75;
#declare MyVMovement = 0.5;
#declare MyY = 0.0;
#declare MyCount = 0;
sphere_sweep
{
b_spline
MySegmentAmount,
#while (MyCount<=MySegmentAmount)
#declare MyY = MyY+MyVMovement;
#declare MyX = rand(MySeed)*MyHMovement;
#declare MyZ = rand(MySeed)*MyHMovement;
#declare MyXNegative = rand(MySeed)*1.0;
#declare MyZNegative = rand(MySeed)*1.0;
#if(MyXNegative<=0.5)
#declare MyX=MyX*(-1.0);
#end
#if(MyZNegative<=0.5)
#declare MyZ=MyZ*(-1.0);
#end
< MyX, MyY, MyZ > 0.35
#declare MyCount=MyCount+1;
#end
tolerance 0.1
texture
{
pigment
{
onion
color_map
{
[ 0.0 color rgbf < 0.2352941, 0.1607843, 0.1568627, 0.5 > ]
[ 1.0 color rgbf < 0.2352941, 0.1607843, 0.1568627, 0.5 > ]
}
rotate < 0, 0, 90 >
scale 0.6
}
normal
{
granite 0.15
scale 1
}
finish { phong 0.1 }
}
scale<1,1,1> rotate<0,0,0> translate<0,0.5,0>
rotate < -90.0, 0.0, 0.0 >
translate < 0.0, 0.0, 0.0 >
scale < 0.015,0.05,0.015 >
}
plane
{
y, -0.0
pigment { color rgb < 0.1882353, 0.2705882, 0.3294118 >*0.1 }
}
sphere
{
0, 1000
pigment
{
image_map
{
hdr "C:\Users\Sven
Littkowski\Documents\POV-Ray\v3.7\scenes\r\kitchen_probe2.hdr"
gamma 2.2
map_type 1
interpolate 2
}
}
finish {emission rgb 0.05}
no_image
}
background
{
color rgb < 0.1882353, 0.2705882, 0.3294118 >*0.1
}
---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com
Post a reply to this message
|
|